Data sources for historical data (not just current day's data).
Tests | Cases | Deaths | |
---|---|---|---|
UK total | OWID1 | PHE JSON2 | PHE JSON3 |
England total | - | PHE JSON | PHE JSON |
England UTLAs | - | PHE JSON | - |
Scotland total | Trends XLSX | Trends XLSX | PHE JSON |
Scotland HBs | - | Boards XLSX | - |
Wales total | PHW XLSX | PHW XLSX | PHE JSON |
Wales HBs4 | - | PHW XLSX | - |
NI total5 | - | - | PHE JSON |
NI LGDs | - | - | - |
- The PHE CSV/JSON download does not have historical data for UK tests, so we get it from Our World in Data. OWID gets the data from PHE.
- UK total cases is only published for the current day (not historical).
- The PHE JSON feed is used rather than the CSV files, since the CSVs files don't contain UK-level deaths.
- Wales publishes at the local authority level, but this repo publishes at the health board (HB) level.
- NI publishing is currently broken, and there is no machine-readable feed for test or case numbers.
URLs are subject to change and can be found in crawl_all.py.