get_prediction_and_usage.Rd
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)
config | the site configuration |
---|---|
start_date | the starting date in YYYY-mm-dd format |
end_date | the end date in YYYY-mm-dd format |
a tibble of three variables: date, the corresponding prediction and the platelet usage for that date