Install from GitHub as follows:
# install.packages("devtools")
devtools::install_github("signaturescience/focustools", build_vignettes = FALSE)
To get started, see the package vignette:
vignette("focustools")
focustools
was originally developed to generate forecasts of COVID-19
targets in the United States. The package includes functionality to
prepare forecast output for submission to the COVID-19 Forecast
Hub. The focustools
GitHub
repository includes a submission/
directory with select forecast
submission files. That same directory tracks a pipeline R script that
does the following:
- Retrieves historical observed count data (national level from JHU by default)
- Fits incident case and incident death models
- Forecasts future case data to facilitate the incident death forecast
- Creates the incident death forecast based on this new data
- Generates cumulative death forecast by summarizing incident death forecast
- Prepares submission format
- Savse the submission to
submission/TEAM-MODEL/YYYY-MM-DD-TEAM-MODEL.csv
- Validates the submission file