The code in this repository creates the Flusight-baseline model and Flusight-seasonal-baseline model in the Flusight-forecast-data repository.
The baseline model is implemented in R, and has the following package dependencies:
- Packages available on CRAN:
purrrdplyrreadrtidyrlubridateggplot2ggforce
- Other packages, to be installed via GitHub:
covidHubUtils: See this package's documentation page for installation instructions.simplets: Install from GitHub using the commanddevtools::install_github("reichlab/simplets")
The script flusight-baseline.R creates the Flusight-baseline forecasts. It can be run, for example, via
Rscript flusight-baseline.R
The script flusight-seasonal-baseline.R creates the Flusight-seasonal-baseline forecasts.
Baseline forecasts will be saved in the directory weekly-submission/forecasts/Flusight-baseline, and forecast plots will be saved in weekly-submission/plots/Flusight-baseline.
Seasonal baseline forecasts will be saved in the directory weekly-submission/forecasts/Flusight-seasonal-baseline.