Alternative to ggmap::geocode()

Hi all,

I've been using ggmap::geocode() for turning addresses into geocodes but datasciencetoolkit.org no longer supports this feature and Google now only allows one geocode request for free per day.

Does anyone know of a good free replacement?

Thanks!

1 Like

You could try Bing maps or Mapquest Open

Can you call this from R? It is for a shinydashboard map that was created through leaflet and the address is user-generated through a textbox.

Yes. They offer REST APIs and you can call APIs from R. Here is a useful article https://rviews.rstudio.com/2018/07/23/rest-apis-and-plumber/
You will have to register to get an API key though.

Google now allows unlimited geocode requests per day. I ran about 1000 yesterday. You can also use the census website to geocode. You may want to read my blog entry on geocoding, http://adelieresources.com/2019/01/comparing-free-geocoding-engines/ , I use google but it has some potential gotcha issues.
If you would like my code for accessing the census geocoder, let me know. Someday I plan to clean it up for release.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.