DownloadBfSMaps | R Documentation |
Helperfunction to download the mapdata and unzip them into a user defined location.
DownloadBfSMaps(url = "https://dam-api.bfs.admin.ch/hub/api/dam/assets/21245514/master",
path = paste0(path.expand("~"), "/MapData"))
url |
the url for the data (might outdate and must then be redefined). |
path |
the path where the data are to be installed. |
It is convenient to not be forced to download the data by oneself. This function can be helpful.
the option entry is returned invisibly
Andri Signorell <andri@signorell.net>
## Not run:
DownloadBfSMaps()
# enter the returned option
options(bfsMaps.base="*** your map folder ***")
library(bfsMaps)
PlotKant("ZH", "blue")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.