Description Usage Arguments Value
Finds nearest nabour of lon/lat for regions in the world map data in ggmap
1 | get_region_id(lon, lat, country = NULL, radius = 10)
|
lon |
longitude |
lat |
lattitude |
country |
If country names are available, and these match regions in the world map data, give these matches preferences over nearest neigbour matches |
radius |
max radius in which to look |
A character vector with the region names as used by ggmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.