Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recovered endpoint returns always 0 #296

Closed
spacecowb0y opened this issue Oct 12, 2021 · 5 comments
Closed

Recovered endpoint returns always 0 #296

spacecowb0y opened this issue Oct 12, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@spacecowb0y
Copy link

Describe the bug
There must be something wrong with the /recovered endpoint, it always returns 0.

@spacecowb0y spacecowb0y added the bug Something isn't working label Oct 12, 2021
@github-actions
Copy link

Thank you for your contribution!!' first issue

@nat236919
Copy link
Owner

nat236919 commented Oct 13, 2021

@spacecowb0y Thank you for raising this issue.

I think it is because the source data discontinued providing Recovered and Active according to this issue CSSEGISandData/COVID-19#4465

@spacecowb0y
Copy link
Author

Ouch, the issue seems bigger than I expected and isn't technical :/

@nat236919
Copy link
Owner

Yeah, sorry about that. I think what we can do now is to ignore Recovered completely.

However, if Active is required, we can calculate roughly as

active = (confirmed - death) - *recovered
*assume it will be zero

@spacecowb0y
Copy link
Author

I think pointing this issue anywhere on the Readme and depreciating the endpoint (maybe?) is good enough.

@nat236919 nat236919 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants