
Thediseasystore package provides feature storesimplemented in R specifically designed for serve disease data forepidemic preparedness.
What makes adiseasystore special, is that features aretime-versioned via{SCDB} and can be automatically coupledand stratified within thediseasystore package. This allowsfor a high degree of flexibility and reproducibility in the handling ofdisease data.
The package forms the data-backbone of the{diseasy}package.
Different data sources are handled by individualdiseasystores which each facilitate access to the relevantdisease data for the given data source.
Data for different diseases will typically be structured in differentways. Thediseasystore package currently implements theGoogle Health COVID-19 Open Repository with morediseasystores on the way.
Thediseasystore package is designed to handle bothindividual-level data (typically protected) and semi-aggregated data(typically publicly available).
If the data is at the individual-level, the feature store is fullydynamic and can adapt to (virtually) any stratification that the userspecifies. If the data conversely is semi-aggregated, the data can onlybe stratified at the levels of the semi-aggregation (or at higherlevels).
# Install diseasystore from CRAN:install.packages("diseasystore")# Alternatively, install the development version from github:# install.packages("devtools")devtools::install_github("ssi-dk/diseasystore")For basic usage examples, seevignette("diseasystore").