Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully migrate all scrapers to use your paginator #1

Merged
merged 5 commits into from
Apr 18, 2020

Conversation

shaperilio
Copy link

Fixed a few minor things in the paginator itself, then went through every scraper currently using an ArcGIS API call and migrated it over.

We need to change ARCGIS_PAGINATION_DEPLOY_DATE to whatever day we deploy this to production to not generate cache misses. I believe once we migrate to li, this can all go away as the cache file name is no longer based on URL.

I largely left scrapers alone except for this change, unless I found minor problems, i.e. fixed a thing in Florida and added a couple of Latvian city ISO codes that were missing.

As I reviewed the scrapers, I also added // TODO: Should we really be setting these to zero? to any place I saw where we were doing parsing choices that we're discussing in #807

I manually ran short timeseries for each scraper and checked by eye that the data did not show any dramatic changes, so I think this is all in working order.

@qgolsteyn qgolsteyn merged commit 26fe6cd into qgolsteyn:feature/arc_gis Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants