openZH / covid_19

COVID19 case numbers of Cantons of Switzerland and Principality of Liechtenstein (FL). The data is updated at best once a day (times of collection and update may vary). Start with the README.
https://www.zh.ch/de/gesundheit/coronavirus/zahlen-fakten-covid-19.zhweb-noredirect.zhweb-cache.html?keywords=covid19&keyword=covid19#/
Creative Commons Attribution 4.0 International
424 stars 176 forks source link

BS Scraper does not interpret current_isolated correctly #801

Closed jb3-2 closed 4 years ago

jb3-2 commented 4 years ago

BS publishes active cases including people in hospital, whereas current_isolated should not contain people in hospital. Thus the scraper needs to substract people in hospital from the number of isolated. How to proceed on days when current_hosp are not communicated? I have no idea yet.

See today's text from BS: https://www.gd.bs.ch//nm/2020-tagesbulletin-coronavirus-982-bestaetigte-faelle-im-kanton-basel-stadt-gd.html:

"Die Zahl der 982 Infektionen setzt sich zusammen aus 924 genesenen Personen (-), 50 Todesfällen (-) und acht aktiven Fällen (+ 3). Von den aktiven Fällen befinden sich drei Personen in Spitalpflege. "

I have manually fixed today's numbers here: https://github.com/openZH/covid_19/commit/e6c3275b205a9be3a132974d11e50224fc7baf66

...but the scraper has overwritten my correction again here: https://github.com/openZH/covid_19/commit/8d7f8d1629868ec12350c55766f0ca588274ca2a

So the scraper actively produces wrong numbers at the moment. Thanks for any help!

metaodi commented 4 years ago

@jb3-2 quick fix: we'll disable the scraper for BS until we have a bugfix. Ok?

jb3-2 commented 4 years ago

OK thank you!

dominikgehl commented 4 years ago

802

metaodi commented 4 years ago

Thanks @dominikgehl! After merging #802, I re-enabled the BS scraper.

jb3-2 commented 4 years ago

Thank you @dominikgehl @metaodi!