Skip to contents

Loads a forecast for a single location, date, model type, and run.

Usage

load_real_time_forecast(
  output_dir,
  forecast_date,
  location,
  model_type,
  forecast_output_type,
  table_of_run_ids
)

Arguments

output_dir

Output directory containing real-time forecasts.

forecast_date

Forecast date, as a string.

location

Forecast location, as a string.

model_type

Model type, as a string. One of "hosp" or "ww".

forecast_output_type

Type of forecast output to pull. One of "quantiles" o "draws".

table_of_run_ids

Table mapping forecast dates to chosen run unique ids and run dates.

Value

The forecast, as a tibble.