coronavirus-tracker-api icon indicating copy to clipboard operation
coronavirus-tracker-api copied to clipboard

Recovered values all set to 0

Open mugetsu opened this issue 4 years ago • 25 comments

mugetsu avatar Mar 24 '20 07:03 mugetsu

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.

ExpDev07 avatar Mar 24 '20 07:03 ExpDev07

Will this be fixed soon? :(

jaime-chur avatar Mar 24 '20 07:03 jaime-chur

@jaime-chur hopefully !

ExpDev07 avatar Mar 24 '20 07:03 ExpDev07

"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.

dinesh-varyani avatar Mar 24 '20 08:03 dinesh-varyani

@dinesh-varyani

We will no longer provide recovered cases.

(from https://github.com/CSSEGISandData/COVID-19/issues/1250).

ExpDev07 avatar Mar 24 '20 08:03 ExpDev07

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.

codedawi avatar Mar 25 '20 15:03 codedawi

@codedawi Awesome!

ExpDev07 avatar Mar 25 '20 15:03 ExpDev07

Even in v1, the recovered data are dropped.

winsphinx avatar Mar 26 '20 03:03 winsphinx

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 :).

See https://github.com/CSSEGISandData/COVID-19/issues/1581#issuecomment-604207335.

@winsphinx

ExpDev07 avatar Mar 26 '20 03:03 ExpDev07

@ExpDev07 will https://coronavirus-tracker-api.herokuapp.com/all be updated also?

Zrna avatar Mar 26 '20 10:03 Zrna

@Zrna yes.

ExpDev07 avatar Mar 26 '20 10:03 ExpDev07

@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.

ExpDev07 avatar Mar 26 '20 22:03 ExpDev07

@ExpDev07 thank you for all the hard work!

Zrna avatar Mar 26 '20 22:03 Zrna

@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.

nguyandy avatar Mar 31 '20 16:03 nguyandy

Why?

web-sys1 avatar Apr 03 '20 12:04 web-sys1

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

MZDN avatar Apr 09 '20 22:04 MZDN

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.

nkutinha avatar Apr 10 '20 19:04 nkutinha

try this : https://documenter.getpostman.com/view/9992373/SzS7PkXr?version=latest#7ce3048e-45eb-4421-b963-7ffc5e1fbd20

karim-alt avatar Apr 14 '20 14:04 karim-alt

Is there any future plan to showing recovered data for /v2 ? Thank you for your hard work.

itsamirrezah avatar Apr 17 '20 09:04 itsamirrezah

Will recoveries be added to v2?

Sajantoor avatar Apr 22 '20 19:04 Sajantoor

@itsamirrezah @Sajantoor Yes, no-one has gotten around to doing it though.

https://github.com/ExpDev07/coronavirus-tracker-api/blob/05e67bdfdf35305afb11487359e8e65bde3ef714/app/services/location/jhu.py#L131-L142

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

Kilo59 avatar Apr 23 '20 01:04 Kilo59

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.

udsgit avatar May 03 '20 13:05 udsgit

Will the recovery stats ever be added in the API?

ahmedfaaid avatar May 15 '20 11:05 ahmedfaaid

@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 avatar May 17 '20 21:05 Kilo59

@Kilo59 Okay that sounds good. Hopefully someone can help implement soon. I would have contributed if I was a Python dev.

ahmedfaaid avatar May 19 '20 03:05 ahmedfaaid