valstu / korona-info

Suomen koronavirus-tartuntatilanne
MIT License
67 stars 19 forks source link

Deaths by district are always 0 #62

Open cenotaph opened 4 years ago

cenotaph commented 4 years ago

This feels like a very bleak GitHub issue to post, but when selecting a regional healthcare district, the 'Deaths' number is always 0. I wish it were true.

valstu commented 4 years ago

Ah, you're right, this is a regression. Apparently the new data endpoint doesn't use same healthcare areas for the deaths data, thanks for reporting.

valstu commented 4 years ago

Actually the endpoint doesn't return any healthcare district for the deaths, only the hospitals. So we should do some kind of mapping from TAYS, HYS, TYKS etc to health care districts to fix this.