-
Notifications
You must be signed in to change notification settings - Fork 21
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
Local geocoding database? #39
Comments
https://degauss.org/ might be useful, either directly or for inspiration! |
A similar/related concept is maintaining a local geocoding database consisting of addresses you have already geocoded. I've rolled my own simple versions of this for my own work, but I've found it to be very useful in several scenarios:
Could store the timestamp of the geocode and have a parameter for how often to refresh the result. Ditto for having an option to force replacing cached results. What I don't know is the most efficient way to do this within the R/tidygeocoder world. When I've rolled my own, I typically have been making my own API requests directly and simply storing the results in whatever format is most convenient in the language I am using. Caching was done based on exact inputs (so "1 Main Street" and "1 Main St." both get their own result), but that takes care of most of the repetition issues. |
(Ported from another issue):
While I'm at suggesting things :), there was once headway on the data-science toolkit (rdstk) on using a local master address database to geocode - much more sustainable for big calls when someone can, for instance, download all geocoded addresses in a state or county and work off that (the way SAS or ArcGIS can). That to me feels like a missing keystone to a complete geocode package, though would be a sizable lift. I'll be watching this package and if there are ways I can contribute (ahem, after COVID, since I'm an overworked epidemiologist at the moment) I'd love to. Again, thanks for the work.
I've at times written my own somewhat lazy/hacky string-match to a known census of addresses in a location, but being able to call geo() on a local geodatabase would make this package indispensable for workers with access to local spatial databases but few API creds (since some of the open source / free geocoders are of much lower capacity than google or geocodio).
Again, great work. Just logging some ideas for the future!
The text was updated successfully, but these errors were encountered: