View source: R/download_geodata.R
| download_geodata | R Documentation | 
download_geodata downloads datasets from the geo-information platform of
the Swiss Confederation (https://data.geo.admin.ch/).
download_geodata(dataset, path, unzip = TRUE, available_geodata)
dataset | 
 character string containing the name of an available dataset.
Use   | 
path | 
 the directory to download files to.  | 
unzip | 
 if   | 
available_geodata | 
 result of a previous call with   | 
The acquisition and use of data or services is free of charge, subject to the provisions on fair use (see https://www.geo.admin.ch/terms-of-use).
## Not run: 
# Download data on building lines for motorways
download_geodata("ch.astra.baulinien-nationalstrassen")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.