jgehrcke / covid-19-germany-gae

COVID-19 statistics for Germany. For states and counties. With time series data. Daily updates. Official RKI numbers.
MIT License
145 stars 47 forks source link

Data updates keep overwriting the newest line instead of appending #2669

Closed silmaril42 closed 2 years ago

silmaril42 commented 2 years ago

If you look at the current RiskLayer CSV files, they contain data for days until 2022-03-06 and the next line is always the most recent date.

It seems the logic that decides if it's a new day (for which a new line should be appended) or if it's an update for the current day (for which the last line should be rewritten) is not working as intended any more.

RKI files are still looking good.

jgehrcke commented 2 years ago

Thanks for the report!

The underlying reason here was actually that the RL data collection / service had been discontinued in March. I am trying to fix the situation, starting with https://github.com/jgehrcke/covid-19-germany-gae/pull/2771.

jgehrcke commented 2 years ago

After the path #2771 I manually triggered a new update. The daily change plot now looks good again. The RL data files will not be touched anymore (the last data line in those files corresponds to March 6, 2022).

Screenshot from 2022-05-04 15-58-15