Generate paths to forecast files submitted on a range of forecast dates from selected models

get_forecast_file_path(
  models,
  file_path,
  forecast_dates,
  latest = FALSE,
  verbose = TRUE
)

Arguments

models

character vector of model abbreviations.

file_path

path to local clone of the reichlab/covid19-forecast-hub/data-processed

forecast_dates

date vector to look for forecast files

latest

boolean to only generate path to the latest forecast file from each model

verbose

whether or not to print out diagnostic messages. Default is TRUE

Value

a list of paths to forecast files submitted on a range of forecast dates from selected models