powered by
Helperfunction to download the mapdata and unzip them into a user defined location.
DownloadBfSMaps(url = "https://www.bfs.admin.ch/bfsstatic/dam/assets/11927607/master", path = paste0(path.expand("~"), "/MapData"))
the url for the data (might outdate and must then be redefined).
the path where the data are to be installed.
the option entry is returned invisibly
It is convenient to not be forced to download the data by oneself. This function can be helpful.
# NOT RUN { DownloadBfSMaps() # enter the returned option options(bfsMaps.base="*** your map folder ***") library(bfsMaps) PlotKant("ZH", "blue") # }
Run the code above in your browser using DataLab