Priesemann-Group / covid19_inference

Bayesian python toolbox for inference and forecast of the spread of the Coronavirus
GNU General Public License v3.0
73 stars 70 forks source link

Cache downloaded files #19

Closed semohr closed 4 years ago

semohr commented 4 years ago

12 Added the full dataset to the download function, which enhances the loading time at least tenfold! Old download api is used as fallback.

16 Downloaded data is saved to "/data/*_gzip.dat" and retrieved if the online repository has no newer data. Done via 'last-modified' header if possible.

This is !not! implemented for the jhu yet. Maybe use PyGithub module to check for the latest commit on https://github.com/CSSEGISandData/COVID-19