The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
R
PackageThis is a wrapper for the UKHSA Data Dashboard
API, so that this data can be easily imported natively into
R
.
Further detailed documentation on the UKHSA data dashboard API is available here.
This package is based upon the ukcovid19
package
previously published by Public Health England; the source code for this
package is housed here.
To install the latest release version from CRAN:
install.packages("ukhsadatR")
To install the latest development version:
::install_github("silverfoxdoc/ukhsadatR") remotes
This API wrapper will bypass the pagination process and always download the full dataset for the specified metric, however, only a single metric can be downloaded at a time.
To obtain the daily reported cases of COVID-19, use the following:
get_data(
theme = "infectious_disease",
sub_theme = "respiratory",
topic = "COVID-19",
geography_type = "Nation",
geography = "England",
metric = "COVID-19_cases_casesByDay"
)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.