Home

Awesome

Collation and visualisation of official UK COVID-19 data

Daily and cumulative cases, tests and deaths, 10.03.2020

COVID-19 data

Many sources of official UK data only the present day's data and do not offer historical/time-series figures. Here, I am collating the UK data that is not availble from other UK sources as a resource for analysis and visualisation. If you are finding this helpful, I'd really appreciate appropriate creditation in your work as this is a largely manual and time-consuming process. Feel free to drop me an email at e.doughty@bham.ac.uk.

Availability of time-series data from official sources has been improving and as it does, I intend to stop collating such data in this repo. The following are now available directly from these official UK sources in machine-readable format:

At present, collated data for Wales, Scotland and Northern Ireland is not availble via official sources and I am collating it here, alongside data for testing (more deatils on this to be privded soon). For researchers, I am happy to compile data in the formats needed for your project or to pull together data from additional sources, e.g. additional data for Wales, Scotland and Northern Ireland (I have started capturing as much of this data as possible on a daily basis so I have it available, even if I have not yet collated it).

Whilst I am trying hard to ensure accuracy, collation of this data is largely a manual process, owing to the inconsistency of reporting coming from the governments/public health agencies, and therefore subject to error and change. Please do raise issues via GitHub if you notice any discrepancies with the data or any queries and I will investigate them asap.

Available files and COVID-19 data sources

UK cases, deaths and tests

COVID19_by_day.csv contains daily numbers of cases, tests, deaths and recoveries

Cases by area

Cases in Wales, Scotland and Northern Ireland: Wide format (COVID19_by_area.csv), Long format (cases_by_area.csv). This no longer contains case data for England (country, NHS region and UTLA) as this is format is no longer made publicaly available. In an improvement to reporting (in my opinion), case data is now provided by date of sampling, rather than date of reporting which is subject to delays in testing, in machine-readable format directly from DHSC (see https://coronavirus.data.gov.uk/about for full details of what they are now reporting).

Notes on COVID-19 reporting

Available metadata files

These administrative geography codes are included in the Long format (cases_by_area.csv) and Long format (deaths_by_area.csv)

Administrative geography codes

Administrative_geography_data.csv contains geographic code and corresponding names for UTLAs and NHS regions as supplied for PHE NHS regions updates and UTLA updates

Register_of_Geographic_Codes_(December_2019)_UK.zip contains geographic codes for Welsh Health Boaords (W11) and Welsh Loacal Authorities (W06) from the Office for National Statistics

00547737.xlsx contains geographic codes for Scottish Health Boards (S08_HB) from the Scottish Standard Geography Code Register

Local_Government_Districts_December_2019_Names_and_Codes_in_Northern_Ireland.csv contains geographic codes for Northern Irish Local Government Districts from the Office for National Statistics

Population demographic data

ukmidyearestimates20182019ladcodes.xls contains mid-2018 data on age, gender, population, population density, deaths etc for geographical areas reporting COVID-19 cases (Country, Region, Unitary authority corresponding with UTLAs, but EXCLUDING NHS REGIONS) from the Office for National Statistics.

Other Visualisations and Analyses

Other people have nice visualisations of/including UK data: