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

Total number of recovered cases negative #55

Closed
niroshar opened this issue Jun 26, 2020 · 3 comments
Closed

Total number of recovered cases negative #55

niroshar opened this issue Jun 26, 2020 · 3 comments

Comments

@niroshar
Copy link

It seems that there are negative numbers for total number of recovered. Ex:

Covid_US

@RamiKrispin
Copy link
Owner

The coronavirus dataset calculates the daily new cases (confirmed, recovered, death) by taking the delta of each day with the previous one. Therefore, negative cases could occur when there is a drop in the cumulative number of cases with respect to the previous day. This so far occurred when:

  • There is a change in the counting methodology or data resource (for example this issue and this one)
  • Updating new cases (or removing false-positive cases) not on the day that they were count
  • Errors in the raw data

For the US, in the raw data, the total cumulative number of recover cases on May 11 was 230287, where on the following day it dropped to 232733, which reflect a daily change of -2446 cases.

@Siddhant-K-code
Copy link

is there any way to fix this ? like using absolute value to print?

@RamiKrispin
Copy link
Owner

I think using absolute value would be misleading as those cases are being removed from the count

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

No branches or pull requests

3 participants