Reverse geocodes (looks up the address of) a longitude/latitude location
using the Google Geocoding API. Note: To use Google's Geocoding API, you must
first enable the API in the Google Cloud Platform Console. See
register_google()
.
revgeocode(
location,
output = c("address", "all"),
force = FALSE,
urlonly = FALSE,
override_limit = FALSE,
ext = "com",
inject = "",
...
)
a character(1) address or a list (the parsed json output from Google)
a location in longitude/latitude format
"address" or "all"
force online query, even if cached (previously downloaded)
return only the url?
override the current query rate
top level domain extension (e.g. "com", "co.nz")
character string to add to the url
...
David Kahle david@kahle.io