api icon indicating copy to clipboard operation
api copied to clipboard

Different files have different values for confirmed cases

Open john2014 opened this issue 6 years ago • 4 comments

Daily File: If you look at file https://api.covid19india.org/v3/data-2020-07-04.json, the confirmed cases for Maharashtra state is 200064 for July 4

State test data: If you look at file https://api.covid19india.org/state_test_data.json, for date July 4, the confirmed cases for Maharashtra is 203816.

Expected: Both of these files should have same values.

john2014 avatar Jul 06 '20 04:07 john2014

No, such parity is not expected. Cases data is collected from the bulletin and the testing data is collected from MEDD report. Depending on when the release the bulletin and what is the daily cut-off that is considered, the numbers would differ. Information of positives in test data is collected as-is present in the testing related press release.

sudevschiz avatar Jul 07 '20 15:07 sudevschiz

Just to add, the testing data reports the number of postive samples and not people. It's anyone's guess as to whether that's an important distinction

shuklaayush avatar Jul 07 '20 15:07 shuklaayush

So when the data says total cases confirmed, does it actually mean total samples confirmed? Hence this is definitely an important distinction.

PS: Few months back I read that two samples are collected per person.

john2014 avatar Jul 09 '20 00:07 john2014

Nope, I think when it comes to Confirmed/Recovered/Deceased counts, the data is reported in terms of the number of people. The positive samples data is only present in the state test data/district test data files, and at least not used anywhere in the v3 APIs

shuklaayush avatar Jul 09 '20 02:07 shuklaayush