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

Why the totalRecovered response in /daily always 0 #262

Open
dytra opened this issue Jul 28, 2020 · 2 comments
Open

Why the totalRecovered response in /daily always 0 #262

dytra opened this issue Jul 28, 2020 · 2 comments

Comments

@dytra
Copy link

dytra commented Jul 28, 2020

In endpoint https://covid19.mathdro.id/api/daily

The totalRecovered data always 0

@dytra
Copy link
Author

dytra commented Aug 4, 2020

up

@zeotuan
Copy link
Contributor

zeotuan commented Jul 17, 2021

@dytra might be late but after a bit of investigation, i found out that the code is querying static json data which hasn't been updated for a while. I believe his was done in order to speed up the api. There exist a script in /scripts/scrape-cumulative-daily.js which will query each day and create said static json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants