This function reads a saved dataset and returns a tibble with a date, platelet usage, and three day predicted sum ensuring that the prediction and dates are lined up correctly.

get_prediction_and_usage(config, start_date, end_date)

Arguments

config

the site configuration

start_date

the starting date in YYYY-mm-dd format

end_date

the end date in YYYY-mm-dd format

Value

a tibble of three variables: date, the corresponding prediction and the platelet usage for that date