cinemast / covid19-at

COVID-19 Stats and Maps for Austria
https://covid19.spiessknafl.at
BSD 3-Clause "New" or "Revised" License
21 stars 2 forks source link

Keep last value of "healed in AT" #8

Closed jostrasser closed 4 years ago

jostrasser commented 4 years ago

Hi,

The Sozialministerium is removing sometimes the "healed person" values from their website. Is it possible to keep the last known value in the prometheus database?

Otherwise the stats field will show "no data".

Thanks JO!

cinemast commented 4 years ago

Thanks! Good idea.

jostrasser commented 4 years ago

Great! Thanks! :)

jostrasser commented 4 years ago

Hi,

There is now a maintenance on „info.gesundheitsministerium.at“. Since this maintenance many stats of the dashboards are showing „no data“.

I think it would be a good idea to keep the last value of ALL stats in the database if the source cannot deliver any data.

BR/JO!

cinemast commented 4 years ago

At the moment I don't want to do this, since I am already seeing a lot of traffic, and this would result in "non-instant" queries, meaning that the traffic is actually about 10x as much.

If it is broken until tomorrow, I will think of something else.

jostrasser commented 4 years ago

It's broken since more than 12 hours ;)

jostrasser commented 4 years ago

Okay, now there is a new site with the data for hospitalized and intensive care:

https://www.sozialministerium.at/Informationen-zum-Coronavirus/Dashboard/Zahlen-zur-Hospitalisierung

They have removed it from the Info map.

cinemast commented 4 years ago

Just pushed it.

jostrasser commented 4 years ago

Great, thank you!