View source: R/geocode_opencage.R
geocode_opencage | R Documentation |
Geocodes one location through the OSM nominatim API
geocode_opencage(stringlocation, info = c("lat", "lng"))
stringlocation |
a location string |
info |
the variables to inform: by default, latlng. Additional information can be e.g.
|
geocode_opencage("la Guillotière, Lyon",info=c("lat","lng","components.country_code"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.