RamiKrispin/coronavirus

Total number of recovered cases negative

niroshar opened this issue · 3 comments

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

Covid_US

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.

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

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