Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Migrate Marin County, California, from ArcGIS to DataWrapper #604

Open
1ec5 opened this issue Sep 2, 2020 · 1 comment
Open

Migrate Marin County, California, from ArcGIS to DataWrapper #604

1ec5 opened this issue Sep 2, 2020 · 1 comment

Comments

@1ec5
Copy link
Contributor

1ec5 commented Sep 2, 2020

The Marin County, California, scraper at https://github.com/covidatlas/li/blob/master/src/shared/sources/us/ca/marin-county.js still functions, but the county is no longer updating that ArcGIS FeatureServer. Instead, we’ll have to fall back to the DataWrapper charts that power the county’s interactive report webpage. For example, the main cases/deaths/hospitalizations/recoveries chart is at https://datawrapper.dwcdn.net/Eq6Es/ – or rather, the page that it redirects to via a meta redirect.

Here’s a quick-and-dirty scraper as a Bash script:

https://github.com/1ec5/external-data-bot/blob/4bde4ad88cbf5d3f1bbc0e2cc49b57c738144836/scripts/covid19/US/CA/marin-county.sh#L10

@TomGoBravo
Copy link

I noticed that several metrics including tested don't have any real values after 8/31 in many California counties. Marin and Sonoma (fips:06097) are two examples. Is that related to this bug?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants