Skip to contents

A dataset of the daily count of COVID-19 cases by age group in England downloaded from the UKHSA coronavirus API, and formatted for use in ggoutbreak. A denominator is calculated which is the overall positive count for all age groups. This data set can be used to calculate group-wise incidence and absolute growth rates and group wise proportions and relative growth rates by age group.

Usage

data("england_cases_by_5yr_age")

Format

An object of class tbl_df (inherits from tbl, data.frame) with 26790 rows and 8 columns.

Details

You may want england_covid_positivity instead which includes the test denominator. The denominator here is the total number of positive tests across all age groups and not the number of tests taken or population size.

england_cases_by_5yr_age dataframe with 26790 rows and 8 columns

name (chr)

The region name

code (chr)

The region code

codeType (chr)

The ONS geographical region code type (including year)

date (date)

The date

class (chr)

the age group in 5 year age bands

count (dbl)

the test positives for each age group

denom (dbl)

the test positives across all age groups

population (dbl)

the population size for this age group

Examples

dplyr::glimpse(england_cases_by_5yr_age)
#> Rows: 26,790
#> Columns: 8
#> $ code       <chr> "E92000001", "E92000001", "E92000001", "E92000001", "E92000…
#> $ date       <date> 2020-01-30, 2020-01-30, 2020-01-30, 2020-01-30, 2020-01-30…
#> $ class      <chr> "00_04", "05_09", "10_14", "15_19", "20_24", "25_29", "30_3…
#> $ count      <dbl> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
#> $ denom      <dbl> 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
#> $ population <dbl> 3299637, 3538206, 3354246, 3090232, 3487863, 3801409, 38079…
#> $ name       <chr> "England", "England", "England", "England", "England", "Eng…
#> $ codeType   <chr> "CTRY20", "CTRY20", "CTRY20", "CTRY20", "CTRY20", "CTRY20",