GeoCode | R Documentation |
Get the coordinates for a given address in Switzerland. The function just prepares the url needed to feed the GeoAdmin API.
GeoCode(x)
x |
a character vector containing addresses in the form of "street number place" |
See further details in https://api3.geo.admin.ch/services/sdiservices.html#find.
a data.frame with 5 columns
detail
, lat
,
lon
, x
, y
Andri Signorell <andri@signorell.net>
## Not run:
adr <- c("Quaderaweg 3 Trimmis","chemin des Fraisiers 19 Grand-Lancy",
"Im Spitzacker 21 Basel","Rue du Moleson 8 Broc")
GeoCode(adr)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.