Description Usage Arguments Value Examples
View source: R/interface-funcs.R
Gives the closest city and distance to a given location
1 | nearest_city(lat, lon)
|
lat |
the latitude position to search with |
lon |
the longitude position to search with |
A data frame with closest city name and distance(km)
1 | nearest_city(lat = 37, lon = -120)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.