michplunkett / ucpd-incident-scraper

This code is going to be used to scrape the UCPD Daily Incident page at a pre-determined frequency and store the incidents on a generic JSON data-store.
MIT License
3 stars 2 forks source link

Correct bad `GeoPt` coordinates #39

Closed michplunkett closed 10 months ago

michplunkett commented 10 months ago

Describe your changes

Create make command to fix incorrectly ordered coordinates.

Checklist before requesting a review

(ucpd-incident-scraper-py3.11) michaelp@MacBook-Air-18 ucpd-incident-scraper % make correct-geopt
python -m incident_scraper correct-geopt
16664 incidents fetched.
0 incidents had incorrect geocoding.
0 incorrect incident GeoPts were updated.
Program shutting down, attempting to send 2 queued log entries to Cloud Logging...
Waiting up to 5 seconds.
Sent all pending logs.
(ucpd-incident-scraper-py3.11) michaelp@MacBook-Air-18 ucpd-incident-scraper %