act-now-coalition / can-scrapers

MIT License
9 stars 13 forks source link

replace CDCCovidDataTracker with official CDC testing dataset #361

Closed smcclure17 closed 3 years ago

smcclure17 commented 3 years ago

Creates a scraper for the new CDC testing dataset.

With this dataset, I think CDCCovidDataTracker() becomes obsolete. The new dataset does not track rolling average deaths, or rolling average total tests as the internal data tracker did, but this data was never used anywhere in the pipeline anyway.

The data in this historical dataset lags behind the "as originally posted" dataset, but includes history going back to the start of 2021 (as opposed to august 2021) and accounts for corrections, updates and other changes in the data over time (whereas the other only reports the initially reported values.)

With this update I think the only necessary change will be to change the provider of the CDC testing dataset source in covid-data-model. If this is checked in, I can create a test snapshot.