list
formatR/cdc.R
forecast_data_from_cdc_csv_file.Rd
Loads and converts a CDC CSV file to Zoltar's native list
format
forecast_data_from_cdc_csv_file(season_start_year, cdc_csv_file)
An integer specifying the "season" that cdc_csv_file is in. Used to convert EWs to YYYY_MM_DD_DATE_FORMAT. zoltr uses week 30 as the season breakpoint, e.g. the "2016/2017 season" starts with
A CDC CSV file
cdc_csv_file's data as Zoltar's native list
format, but only the "predictions" item, and not "meta"
if (FALSE) {
forecast_data <- forecast_data_from_cdc_csv_file(2016, "my_forecast.cdc.csv")
}