Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of tests by pillars #53

Closed
LoryPack opened this issue May 7, 2020 · 5 comments
Closed

Number of tests by pillars #53

LoryPack opened this issue May 7, 2020 · 5 comments

Comments

@LoryPack
Copy link

LoryPack commented May 7, 2020

Hi, thank you very much for the amazing work! I was wondering if it is possible to add a break of the total number of tests (and confirmed cases as well) by the testing "pillars" strategy. Right now, the government webpage https://www.gov.uk/guidance/coronavirus-covid-19-information-for-the-public reports that daily, but I don't know how far back in time this was true, and if it is possible to retrieve that info from the past. Also, I don't know if that kind of data is released at the Englad/Wales/Scotland/NI level.

Do you think this is possible, or do you know of any source collecting this kind of data?

Thanks!

@tomwhite
Copy link
Owner

tomwhite commented May 7, 2020

This is a good idea. The webpages are checked into this repo every day, so we could go through and extract the historical pillar information (it goes back about a month). I've been meaning to do it, but have been hoping that PHE or DHSC would just publish the data in machine readable form (which they've said they will, but no timescale).

@LoryPack
Copy link
Author

Thank you. I think I will try to add that to the UK csv, as I don't think pillar data is available for the countries. I had a look at your pipeline and I think I understand more or less what is going on. I think I will need to modify parse_totals and save_indicators_to_sqlite in tools/parsers.py and convert in convert_sqlite_to_csvs.py. Do you think that is it, or am I missing something?

@tomwhite
Copy link
Owner

Hi @LoryPack - thanks for the offer! I actually wrote most of this a couple of days ago but haven't merged it yet. See https://github.com/tomwhite/covid-19-uk-data/compare/testing-pillars?expand=1. You can see the extra pillar information in there. Let me know what you think.

@LoryPack
Copy link
Author

That looks amazing, it is definitely better than anything I would have been able to do! Thank you very much!

@tomwhite
Copy link
Owner

Thanks @LoryPack! I've now merged this, and all the pillar data is in this file: https://raw.githubusercontent.com/tomwhite/covid-19-uk-data/master/data/covid-19-tests-uk.csv

I hope people do interesting things with this data!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants