sfbrigade / data-covid19-sfbayarea

Manual and automated processes of sourcing data for the stop-covid19-sfbayarea project
MIT License
8 stars 10 forks source link

Add deaths timeseries for San Mateo #177

Closed Mr0grog closed 3 years ago

Mr0grog commented 3 years ago

San Mateo doesn't publish a timeseries for deaths, so we now source that information from the state's data portal. As part of doing so, we've added a lightweight abstraction for querying CKAN, which simplifies some of the hospital data code (since it also uses the state's data portal).

Fixes #171.

Mr0grog commented 3 years ago

the state appears to sometimes log negative newcountdeaths values (see for example on 2020-03-30), which then impact the totalcountdeaths. At first I thought it was a side effect of us converting null values to -1 but I double-checked the state website and those values are real. Not sure what that's meant to reflect but possibly correcting prior figures?

Whaaaaaaaat. Wow, I somehow did not notice that was happening at all. The total on the current day matches the county’s total, so yeah… I guess this isn’t a mistake. I would guess the same thing as you.

Mr0grog commented 3 years ago

Rebased on master to make this mergeable.