DownloadBfSMaps {bfsMaps} | R Documentation |
Helps to Get the Map Data
Description
Helperfunction to download the mapdata and unzip them into a user defined location.
Usage
DownloadBfSMaps(url = "https://dam-api.bfs.admin.ch/hub/api/dam/assets/21245514/master",
path = paste0(path.expand("~"), "/MapData"))
Arguments
url |
the url for the data (might outdate and must then be redefined). |
path |
the path where the data are to be installed. |
Details
It is convenient to not be forced to download the data by oneself. This function can be helpful.
Value
the option entry is returned invisibly
Author(s)
Andri Signorell <andri@signorell.net>
Examples
## Not run:
DownloadBfSMaps()
# enter the returned option
options(bfsMaps.base="*** your map folder ***")
library(bfsMaps)
PlotKant("ZH", "blue")
## End(Not run)
[Package bfsMaps version 1.99.3 Index]