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

Fix for common data url logic #263

Closed RichardMN closed 3 years ago

RichardMN commented 3 years ago

This fixes #262

I think I wrote the problematic code initially and I suspect I also reviewed it. Apologies.

seabbs commented 3 years ago

I just switched the logic so that shared levels are preferred over common vs the other way around.