Get date time spine to map to model output
Usage
get_date_time_spine(
forecast_date,
input_count_data,
last_count_data_date,
calibration_time,
forecast_horizon
)
Arguments
- forecast_date
a character string in ISO8601 format (YYYY-MM-DD) indicating the date that the forecast is to be made.
- input_count_data
a dataframe of the count data to be passed directly to stan, , must have the following columns: date, count, total_pop
- last_count_data_date
string indicating the date of the last observed count data point in 1SO8601 format (YYYY-MM-DD)
- calibration_time
integer indicating the number of days to calibrate the model for, default is
90
- forecast_horizon
integer indicating the number of days, including the forecast date, to produce forecasts for, default is
28