Description Usage Arguments Details Value Examples
These functions are used to convert an original FluSight-formatted csv file to predx
data frame.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
file |
A csv file formatted for the FluSight forecasting challenge. |
Note that if point forecasts (optional in the FluSight challenge) are included but are NAs, they will be removed (NA is not allowed in the Point class).
A predx
data frame.
1 2 3 | csv_tempfile <- tempfile('EW42-Hist-Avg-2018-10-29', fileext='.csv')
write.csv(flusightdemo, csv_tempfile, row.names=F)
import_flusight_csv(csv_tempfile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.