Closed josh-chamberlain closed 3 years ago
I've started attempting an automated way to gather this data using Geonames. You can see my repository here: https://github.com/ncpierson/pdad-agency-locator
I estimate about 30-50% coverage using exact name matching, but geonames data only overs fips, lat, and lng but not address or zip.
First pull request, for CA, is here: https://www.dolthub.com/repositories/pdap/datasets/pulls/31
For what it's worth, I considered using Google's APIs, but it would cost a little over $300 for the 15k requests.
Fantastic work @ncpierson ! I was hoping someone could find a geolocation service, I knew that Google would be expensive. But I'm stoked you already were able to pull a state's worth of data! I merged that PR into our master dolt branch. Good news is, even if there are some discrepancies, someone who is local and actually knows the PD can always make a PR and correct it!
@ncpierson just FYI that we have a data bounty going on! Going to close this issue as that's now where people should go to submit data.
Goal
We will have to manually go through and add the relevant information to each agency. Once this is all done, it will give front-end devs a way to accurately place a pin for every agency in the US!
This issue can be closed once all agencies have the appropriate data—until then, we will need a lot of contributions.
Process:
dolt sql-server
(docs here)county_fips
Update 5/22
There is now a tool here (thank you @ncpierson) which scrapes Geonames for this info.