Retrieve the names of geographic objects from coordinates (and optionally a radius around them).
Arguments
- lat
(numeric) Latitude for the coordinates (decimal format)
- lon
(numeric) Longitude for the coordinates (decimal format)
- lat_radius
(numeric) Extends search to include the range from
lat
-lat_radius
tolat
+lat_radius
- lon_radius
(numeric) Extends search to include the range from
lon
-lon_radius
tolon
+lon_radius
- ...
curl options to be passed on to
httr::GET()
Value
If no results, an empty list. If results found, a data.frame with the columns:
MRGID (integer)
gazetteerSource (character)
placeType (character)
latitude (numeric)
longitude (numeric)
minLatitude (numeric)
minLongitude (numeric)
maxLatitude (numeric)
maxLongitude (numeric)
precision (numeric)
preferredGazetteerName (character)
preferredGazetteerNameLang (character)
status (character)
accepted (integer)
Author
Francois Michonneau [email protected]