sacundim / covid-19-puerto-rico

COVID-19 data and graphs for Puerto Rico
13 stars 6 forks source link

Encounters schema #23

Closed sacundim closed 3 years ago

sacundim commented 3 years ago

Redo the way we compute case curves to more carefully take these steps:

  1. Adopt a "test encounters" unit (à la COVID Tracking Project), grouping by patient_id and collected_date to deal with patients who are reported as getting tested more than once the same day;
  2. Adjudicate cases based on positive antigen or PCR test with no other positive for the same patient in the previous 90 days, instead of just using the earliest such test for each patient. This allows for a person to be a case more than once.