Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Check if deaths <= cases <= tests #553

Open
lazd opened this issue Mar 20, 2020 · 8 comments
Open

Check if deaths <= cases <= tests #553

lazd opened this issue Mar 20, 2020 · 8 comments

Comments

@lazd
Copy link
Contributor

lazd commented Mar 20, 2020

If data is provided the above check must be true, or the data is invalid

@jbencina
Copy link

I thought about this a bit more and it may not work for a single day. I think you'd have to look at this cumulatively since most places are reporting active cases while deaths and tests are cumulative.

@Wikunia
Copy link

Wikunia commented Mar 20, 2020

Additionally check that deaths are not decreasing. At least then something needs to be double checked.

@JimBudde
Copy link

I don't think you can say the data is "invalid". It is what it is at this point. Reporting delays, etc are likely to cause some odd reporting of numbers. I have simply been telling folks, expect to see odd numbers from time to time and hopefully it will clear up over a few days time, e.g. when cases were 'transferred' from cruise ships to countries. my 2c.

@qgolsteyn
Copy link

If implemented, can be added as a step in the steps folder, most likely called validate.js or something similar.

@lgeorge-idm
Copy link

lgeorge-idm commented Mar 22, 2020

This may not work at all.

  • Deaths may be for individuals that were never tested, but were reported based on symptoms and/or post-mortem examination.
  • number of tests can be number of samples or number of individuals. Best practice is to run at least 2 samples per individual. Many depts. of health are not breaking the numbers out.

@tautme
Copy link
Contributor

tautme commented Mar 24, 2020

Thank you all for thinking about this. I have been wanting to see number of test administered, because you can only have as many positives as you have tested.

@LukeBrantley
Copy link

Are tests marked 0 if there are no records of tests for that location on that day?

@piccolbo
Copy link

Test positive is one thing, but diagnostics criteria change, particularly when epidemic outpaces testing ability. At that point health authorities switch to other criteria such as any viral pneumonia, x-ray abnormalities etc. Italy and China, afaik, have made the switch. Marching orders is Italy are "test if it has clinical implications". Typically if you are not severe, well oxygenated, just fever, cough and discomfort, they send you home under quarantine with palliative care. I think cases should be the best estimate there is, positive tests is a lower bound. If we insist on test-confirmed only, events my make our numbers irrelevant.

@jzohrab jzohrab closed this as completed Aug 9, 2020
@jzohrab jzohrab reopened this Aug 9, 2020
@jzohrab jzohrab transferred this issue from covidatlas/coronadatascraper Aug 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants