timriffe / covid_age

COVerAGE-DB: COVID-19 cases, deaths, and tests by age and sex
Other
56 stars 30 forks source link

UK Case datasource #98

Open Flasskamp opened 3 years ago

Flasskamp commented 3 years ago

Hello @timriffe,

I have noticed that your dataset does not include any case data for the UK and I could not find any topics on why. Hence, I wanted to suggest a data source. At official UK Government website for data and insights on Coronavirus there is detailed data by region and 5-year age groups. They also offer permanent download links. For the aforementioned dataset its https://api.coronavirus.data.gov.uk/v2/data?areaType=region&metric=newCasesBySpecimenDateAgeDemographics&format=csv

Please be aware that the source operates a little strangely. To obtain the dataset, I set "Area type" to "Regional" and "Metrics" to "newCasesBySpecimenDataAgeDemographics". For some combinations of "Area Type" and "Metrics" there are no datasets available, and the download-button will simply do nothing apart from changing color (falsely indicating a successful download). I am also no expert on the UK's regional structure so I am not sure if this data can be seamlessly merged with your existing datasets. I have yet to compare the regions to the ONS dataset you use.

I hope the data meets your quality standards. I am probably not the only person interested in UK case data and it would be greatly appreciated if you find a way to implement it.

timriffe commented 3 years ago

Thanks @Flasskamp , forwarding this to @jessicadonzowa and @fcorowe , who will be more on top of the details here. Will do our best to integrate these data. Quite possibly it's already in the works.

fcorowe commented 3 years ago

Thanks @Flasskamp - and yes, now the case data by age are available via API and I have added them to the list for the next update of the UK data. The data were not available when we started the data capture. We requested them to the data holders who positively responded to our enquiry and they are now available.

If you are only interested in the UK data, please have a look at a repo I have, to obtain the data via API.

Flasskamp commented 3 years ago

Thank you @fcorowe and @timriffe for the quick responses and the link to your repo. I am currently calculating modified CFRs for a selection of countries, so the scope goes a bit further. For now, I will manually merge the datasets.