forecast_data_from_cdc_csv_file | R Documentation |
list
formatLoads and converts a CDC CSV file to Zoltar's native list
format
forecast_data_from_cdc_csv_file(season_start_year, cdc_csv_file)
season_start_year |
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 |
cdc_csv_file |
A CDC CSV file |
cdc_csv_file's data as Zoltar's native list
format, but only the "predictions" item, and not "meta"
## Not run:
forecast_data <- forecast_data_from_cdc_csv_file(2016, "my_forecast.cdc.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.