0

I have some python code that I am trying to recreate in R. I am having trouble finding a package that will help me in this process.

I have tried to use omsdata and ggmap, but I have not achieved the desired results

from geopy.geocoders import Nominatim
geolocator = Nominatim(user_agent="specify_your_app_name_here")
location = geolocator.geocode("175 5th Avenue NYC")
print(location.address)
#Flatiron Building, 175, 5th Avenue, Flatiron, New York, NYC, New York, ...

I am trying to do exactly what is done in the python code, except in R.

Filburt
  • 17,626
  • 12
  • 64
  • 115
Fiona
  • 3
  • 4
  • These should be helpful https://github.com/hrbrmstr/nominatim https://www.r-bloggers.com/introducing-the-nominatim-geocoding-package/ – Sada93 Sep 12 '19 at 22:33
  • Google geocode api: https://github.com/SymbolixAU/googleway – yusuzech Sep 12 '19 at 22:54

0 Answers0