kj-9/covid19jp

Tokyo's severeCaseUTE in pref_weekly is NA at 2021-01-13

Closed this issue · 0 comments

kj-9 commented

Cause

Tokyo's severeCaseUTE is also blank in data souce. Japanese MHLW suddenly stopped showing the number here.
In the footnote of data source they say,

"Since the number of severe case 523 is aggregated in national basis, it cannot be simply compared with bed capacity 500. So, we made UTE blank."

My thought

Their comments does not really make sense to me, so why only Tokyo's severe case UTE is blank? Why not others? My guess: Because Tokyo's severe case UTE seems exceed 100% for the first time, they may not want to shock us?

Treatment

Add logic to calculate UTEs in ingesting code, since UTEs are simply numbers of cases divided by bed capacities.
To avoid treat the missing UTE case by case, I'll apply the logic to all UTEs include past dataset.
This will add further decimal places to UTEs, may cause some user's calculation or visualization. But coping with this change should be trivial using format/round functions.