Learn R Programming

ukc19

A selection of aggregated COVID-19 data from the UK, in an easy to use form for teaching and demonstration purposes.

This data is sourced from publicly available data sets from various UK government websites where different aspects of the UK COVID-19 response published data, and from publicly available data from key studies. It is by no means comprehensive but aims to capture some of the main data in a single place so that it is preserved.

At present the data is mostly focused on England.

Installation

You can install the released version of ukc19 from CRAN with:

install.packages("ukc19")

Interim releases of ukc19 are hosted on the AI4CI r-universe. Installation from there is as follows:

options(repos = c(
  "ai4ci" = 'https://ai4ci.r-universe.dev/',
  CRAN = 'https://cloud.r-project.org'))

# Download and install ukc19 in R
install.packages("ukc19")

You can install the development version of ukc19 from GitHub with:

# install.packages("devtools")
devtools::install_github("ai4ci/ukc19")

Funding

The authors gratefully acknowledge the support of the UK Research and Innovation AI programme of the Engineering and Physical Sciences Research Council EPSRC grant EP/Y028392/1.

Copy Link

Version

Install

install.packages('ukc19')

Version

0.0.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Robert Challen

Last Published

December 19th, 2025

Functions in ukc19 (0.0.3)

nhs_app

NHS digital contact tracing activity
pcr_test_sensitivity

COVID PCR test sensitivity over time
viral_shedding

COVID-19 Viral shedding data
ons_infection_survey

ONS COVID-19 infection survey
uk_population_2019_by_5yr_age

Country, regional, and sub-national population estimates by 5 year age groups
uk_population_2019_by_10yr_age

Country, regional, and sub-national population estimates by 10 year age groups
uk_population_2019

Country, regional, and sub-national total population estimates
spim_consensus

SPI-M-O consensus reproduction number and growth rate estimates
england_covid_positivity

England only COVID-19 case counts with total test numbers
covid_variants

COG-UK counts of genomic variants
covid_variants_ltla

COG-UK counts of genomic variants by lower tier local authority
covid_challenge

COVID-19 viral load following challenge
ganyani_clusters

COVID-19 cluster outbreaks data from Tianjin and Singapore
early_global_combined

John Hopkins data from the early outbreak
england_cases_by_5yr_age

England only COVID-19 case counts stratified by 5-year age bands
du_serial_interval

Serial interval from publicly reported cases
ltla_cases

UK-wide COVID-19 case counts stratified by Lower tier local authority
geography

UK geographic codes an CTRY, RGN and LAD level
timeline

Timeline of events
ukc19-package

ukc19: Datasets from the UK COVID-19 Outbreak