Recovered values all set to 0
mugetsu opened this issue Β· 25 comments
Our main data provided (JHU) has decided to drop support for recovery data, hence, the API will show 0 until an alternative source is added for world data.
Thereβs a notice regarding this change on the top of the README. Unfortunately little I can do besides change data source, which again, many people will get upset with.
Will this be fixed soon? :(
@jaime-chur hopefully !
"Our main data provided (JHU) has decided to drop support for recovery data" ... Where its mentioned ?
I can see JHU still has latest data (published few hours back) with recovered cases.
According to a recent interview IBM's CEO they are working on getting the recovered numbers for their new Weather Channel map to track coronavirus. They could be working with CDC to aggregate this data. This might be a creditable data source to get this recovery information from in the future.
Even in v1, the recovered data are dropped.
It seems like JHU are starting to track recoveries again (or at least they've added a file for it: https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv), however, the indexing is not compatible with the confirmed and deaths so it won't show up in v2 yet and it also appears the file is a bit corrupted/broken. I'll give them some time to fix it then add back recoveries :).
@ExpDev07 will https://coronavirus-tracker-api.herokuapp.com/all be updated also?
@Zrna recoveries for https://coronavirus-tracker-api.herokuapp.com/all is working again. It will still be a little bit before it's fixed for v2.
@Zrna recoveries for https://coronavirus-tracker-api.herokuapp.com/all is working again. It will still be a little bit before it's fixed for v2.
Recoveries in Canada is not showing up properly for V1.
Why?
Hi,
JHU is still providing recovered data:
https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv
@ExpDev07 Could you please adjust the api? Thanks
Thanks for this excellent API :)
Would be really cool if the recovered numbers are enabled again, at least the last recorded number instead of 0.
Is there any future plan to showing recovered data for /v2 ?
Thank you for your hard work.
Will recoveries be added to v2?
@itsamirrezah @Sajantoor
Yes, no-one has gotten around to doing it though.
coronavirus-tracker-api/app/services/location/jhu.py
Lines 131 to 142 in 05e67bd
The issue is the recovered data set doesn't match the other data sets 1-to-1, so they need to be merged.
https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series
Other Idea for try to fix (for the moment) the recovered cases. Add https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv to other route for fetch, and for example in my web application I can "merge" with any functions every country, that would great almost for my web application.
Will the recovery stats ever be added in the API?
@ahmedfaaid That is the plan but no-one has gotten around to implementing it yet. See the rest of the thread.
I'm currently working on a major redesign to simplify the codebase (hopefully making it more friendly to new contributors).
We would happily accept a pull request to deal with the JHU recovered vs confirmed/deaths data mismatch.
@Kilo59 Okay that sounds good. Hopefully someone can help implement soon. I would have contributed if I was a Python dev.