geocode | R Documentation |
Find coordinates for geographic locations
geocode(country, location, adm1=NULL, adm2=NULL, adm3=NULL, adm4=NULL, adm5=NULL, service="nominatim", ...)
country |
character or vector. Cannot be missing or contain |
location |
character or vector. Cannot be missing or contain |
adm1 |
character or NULL |
adm2 |
character or NULL |
adm3 |
character or NULL |
adm4 |
character or NULL |
adm5 |
character or NULL |
service |
character. one of "nominatim" or "geonames" |
... |
character,additional arguments to pass to the service (e.g., "username=myname") |
list
h <- geocode (country="United States", adm1="California", location="San Francisco")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.