https://github.com/leoncvlt/covid-19-uk-data
Novel Coronavirus (COVID-19) UK Cases, provided by Public Health England (PHE) https://www.gov.uk/government/publications/coronavirus-covid-19-number-of-cases-in-england/coronavirus-covid-19-number-of-cases-in-england
https://github.com/leoncvlt/covid-19-uk-data
coronavirus england health-england python scraping
Last synced: about 1 year ago
JSON representation
Novel Coronavirus (COVID-19) UK Cases, provided by Public Health England (PHE) https://www.gov.uk/government/publications/coronavirus-covid-19-number-of-cases-in-england/coronavirus-covid-19-number-of-cases-in-england
- Host: GitHub
- URL: https://github.com/leoncvlt/covid-19-uk-data
- Owner: leoncvlt
- Created: 2020-03-10T19:01:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-31T16:59:32.000Z (about 6 years ago)
- Last Synced: 2025-02-10T11:50:06.036Z (over 1 year ago)
- Topics: coronavirus, england, health-england, python, scraping
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coronavirus (COVID-19): number of cases in England
Public Health England (PHE) publishes Coronavirus confirmed cases data by upper tier local authority daily on this page: https://www.gov.uk/government/publications/coronavirus-covid-19-number-of-cases-in-england/coronavirus-covid-19-number-of-cases-in-england
This little python script gets the page data through the [GOV.UK Content API](https://content-api.publishing.service.gov.uk/#gov-uk-content-api) and saves it as a `.csv` file inside the `data` folder, using the timestamp `YY-MM-DD`. The data is parsed every day around 19:00 GMT.
EDIT: Of course the data gets withdrawn a few days after I start collecting it and replaced by a proper dashboard. Oh well, I'll still leave this up as an example of how to setup Travis CI to regularly push data to a repo.