Skip to contents

Load real-time quantile outputs

Usage

load_real_time_quantile_fcsts(
  real_time_output_dir,
  table_of_run_ids,
  locations,
  eval_data,
  model_type
)

Arguments

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_type

String indicating model type to load. One of "ww" or "hosp".

Value

The forecasts, as the output of scoringutils::as_forecast_quantile()