covidatlas / coronadatascraper

COVID-19 Coronavirus data scraped from government and curated data sources.
https://coronadatascraper.com
BSD 2-Clause "Simplified" License
363 stars 179 forks source link

Datasf 1011 handle timeseries #1044

Closed jzohrab closed 4 years ago

jzohrab commented 4 years ago

Completes the work of @1ec5, branch datasf-1011.

The numbers match https://data.sfgov.org/stories/s/fjki-2fab.

image

vs this PR:

$ yarn start --location US/CA/san-francisco-county.js
...
 Total counts (tracked cases, may contain duplicates):
   - 2325 cases
   - 50554 tested
   - 0 recovered
   - 40 deaths
   - 0 active

I didn't include hospitalizations, as I didn't really trust the data.

1ec5 commented 4 years ago

Thanks for running with this while I’ve been busy!

I didn't include hospitalizations, as I didn't really trust the data.

Yeah, I belatedly understood in https://github.com/1ec5/coronadatascraper/pull/2#discussion_r430086843 that the scraper should report cumulative hospitalizations rather than current hospitalizations. Solano and Napa counties report cumulative hospitalizations but no other county in the Bay Area.