epiforecasts / covidregionaldata

An interface to subnational and national level COVID-19 data. For all countries supported, this includes a daily time-series of cases. Wherever available we also provide data on deaths, hospitalisations, and tests. National level data is also supported using a range of data sources as well as linelist data and links to intervention data sets.
https://epiforecasts.io/covidregionaldata/
Other
37 stars 18 forks source link

NHS data - add URL check #371

Closed kathsherratt closed 3 years ago

kathsherratt commented 3 years ago

NHS data sometimes doesn't update e.g. on bank holidays.

This PR adds a small piece in download_nhs_regions() to make the download more robust to recent missing data / broken links.

Potentially fixes #370

github-actions[bot] commented 3 years ago

👋 Thanks for opening this pull request! Can you please run through the following checklist before requesting review (ticking as complete or if not relevant).

Thank you again for the contribution. If making large scale changes consider using our pre-commit hooks (see the contributing guide) to more easily comply with our guidelines.

seabbs commented 3 years ago

Jumped in and squished those minor issues as so minor. Merging now - great stuff :)

kathsherratt commented 3 years ago

Thanks so much!