geocode_city | R Documentation |
wrapper around banR::geocode() but that limits to one result of type "municipality"
geocode_city(city_name, score_limit = 0.4)
city_name |
a string containing the city name wanted |
score_limit |
results below this score will be ignored and replaced by NAs |
Contrary to geocode(), if there is no result or if the request is empty we still get a one row data.frame (that contains only Nas)
a one line data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.