covidatlas / li

Next-generation serverless crawler for COVID-19 data
Apache License 2.0
57 stars 33 forks source link

Check if deaths <= cases <= tests #391

Closed jzohrab closed 4 years ago

jzohrab commented 4 years ago

Original issue https://github.com/covidatlas/coronadatascraper/issues/185, transferred here on Friday Mar 20, 2020 at 05:51 GMT


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

jzohrab commented 4 years ago

(Transferred comment)

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.

jzohrab commented 4 years ago

(Transferred comment)

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

jzohrab commented 4 years ago

(Transferred comment)

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.

jzohrab commented 4 years ago

(Transferred comment)

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

jzohrab commented 4 years ago

(Transferred comment)

This may not work at all.

jzohrab commented 4 years ago

(Transferred comment)

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.

jzohrab commented 4 years ago

(Transferred comment)

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

jzohrab commented 4 years ago

(Transferred comment)

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.