How can I convert latitude and longitude coordinates into an address/ human readable location in R?
For instance I have these data below:
humandate lat lon
09/10/2014 13:41 41.83174254 -75.87998774
09/10/2014 13:53 41.83189873 -75.87994957
I want find out what the address/ location is for latitude 41.83174254, longitude -75.87998774. Is it possible with R? or with something else?
Use the
revgeocode
function from theggmap
package. Using your data.framedf
:You could create a new variable in your data.frame with these values: