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

JHU source has multiple different region codes for same country #359

Closed joseph-palmer closed 3 years ago

joseph-palmer commented 3 years ago

When running get_national_data("UK", source = "JHU") or calling JHU directly and filtering fot the UK with level 1 data, there are multiple rows for each date. Looks like the region code iso_3166_1_alpha_3 has multiple entries per country.

Same problem for other countries.

Requires fix + test to catch anything similar.