Get case count data from the Robert Koch Institute SurvStat service.
In general use rsurvstat is expected to be installed alongside the
tidyverse as sf set of packages. It is recommended to install these
first.
Binary packages of rsurvstat are available on CRAN and r-universe for
macOS and Windows. rsurvstat can be installed from source on Linux.
You can install the released version of rsurvstat from
CRAN with:
install.packages("rsurvstat")
rsurvstatEarly release versions are available on the r-universe. This will
typically be more up to date than CRAN.
# Enable repository from the bristol vaccine centre
options(repos = c(
"bristol-vaccine-centre" = 'https://bristol-vaccine-centre.r-universe.dev/',
CRAN = 'https://cloud.r-project.org'))
# Download and install rsurvstat in R
install.packages('rsurvstat')
The unstable development version is available from GitHub with:
# install.packages("devtools")
devtools::install_github("bristol-vaccine-centre/rsurvstat")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.