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

info.gesundheitsministerium.at Integration #3

Closed cinemast closed 4 years ago

cinemast commented 4 years ago

@jostrasser a proof of concept is here: https://github.com/cinemast/covid19-at/commit/51d0c355fbc9675a9fb4e4ba7619f6f92f392031

cinemast commented 4 years ago

Sadly the page is down currently (they replaced it with a static image)

cinemast commented 4 years ago

Here is a Demo of the static values from the json file: https://covid19.spiessknafl.at/d/VqGkijuZk/covid19-bezirke?orgId=1

jostrasser commented 4 years ago

Looks great! Well done! :) Are you delivering the data also via the same Prometheus database?

Can you give me some more details which data we can get into your database source?

Thanks a lot, JO!

cinemast commented 4 years ago

Now the json file is only a fallback.

The data can be found here as well, yes:

https://covid19.spiessknafl.at/prometheus/graph?g0.range_input=1h&g0.expr=cov19_bezirk_infected&g0.tab=1

https://covid19.spiessknafl.at/prometheus/graph?g0.range_input=1h&g0.expr=cov19_bezirk_infected_per_100k&g0.tab=1

Could you elaborate what you mean by this?

Can you give me some more details which data we can get into your database source?

Basically eveything that can be formulated as a time series. We just need to write an exporter/adapter for covid19-at.

jostrasser commented 4 years ago

I meant can you describe which data you parse already into the prometheus DB... but you already described it, thanks :)

Can you find a way to get the following data? Altersverteilung, hospitalisiert, Intensivstation, milder verlauf

And is it possible for you to provide a timestamp in a separate metric if the last update was made by Gesundheitsministerium?

Today I will customize my dashboard a little bit and will update it on the Gist.

cinemast commented 4 years ago

Not as long as the side is down, but once its up again, sure, I think we can retrieve all the data.

And is it possible for you to provide a timestamp in a separate metric if the last update was made by Gesundheitsministerium?

This I need to check, at the moment no.

cinemast commented 4 years ago

Ok, I think it wont be back online: https://www.derstandard.at/story/2000115960650/datenleck-bei-coronavirus-seite-des-gesundheitsministeriums

jostrasser commented 4 years ago

That’s annoying. That means we also don’t get updates for the „Bezirk“ metric anymore, right?

cinemast commented 4 years ago

Exactly, yes. Too bad. If you find a good source for Bezirk data, please let me know.

jostrasser commented 4 years ago

Exactly, yes. Too bad. If you find a good source for Bezirk data, please let me know.

Sure, I'll do. Thanks!

BR/JO!

cinemast commented 4 years ago

Implemented in healthministry.go