Load in and score the real-time outputs
Usage
score_real_time_outputs(
score_type,
real_time_output_dir,
table_of_run_ids,
locations,
eval_data,
model_types = c("ww", "hosp")
)
Arguments
- score_type
A string indicating which score to generate, either "crps" or "wis". Note, if using crps, will score draws from nowcast and forecast. If using wis, will score only the forecasts.
- real_time_output_dir
A string indicating the upper level directory where the real-time outputs live locally
- table_of_run_ids
A tibble containing the forecast date, run id, and date run for each of the production runs
- locations
A vector of character strings indicating the locations to pull, this should be all jurisdictions
- eval_data
a tibble of hospital admissions evaluation data to be used for scoring.
- model_types
Character vector of model types to score. One or both of
"ww"
and"hosp"
. Default both:c("ww", "hosp")