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

Switch to REST approach for downloading Germany date - possible fix for #408 #410

Closed RichardMN closed 3 years ago

RichardMN commented 3 years ago

Updates #409 with integration of the REST paging approach into the Germany class. download has been replaced with Germany-specific code which downloads just the data required.

This should address #408.

RichardMN commented 3 years ago

Since #408 appears to have been resolved at source this PR would no longer be necessary though we might bear it in mind if we wished to reduce data download of large CSVs where we then filter out many columns and there is a REST API approach available.

seabbs commented 2 years ago

This looks like a nice approach Richard and I agree a good solution when there is an API available. Could we do anything to enable users to have more control over which data they get? So here for example I believe its just the columns we directly use whilst in the current csv download its everything?

Shall we consider reopening this as it looks in general like its a superior approach?