Load in and score the real-time outputs
Source:R/score_real_time_outputs.R
score_real_time_outputs.Rd
Load in and score the real-time outputs
Usage
score_real_time_outputs(
score_type,
real_time_output_dir,
table_of_run_ids,
locations,
dates,
eval_data,
hosp_only = FALSE
)
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
- dates
A vector of forecast dates to pull
- eval_data
a tibble of hospital admissions evaluation data to be used for scoring.
- hosp_only
boolean indicating if we should only pull the hospital admissions model