get_prediction_and_usage: Get the actual prediction and platelet usage data from saved...

Description Usage Arguments Value

View source: R/process-data.R

Description

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.

Usage

1
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


bnaras/SBCpip documentation built on May 5, 2019, 6:54 p.m.