borders_download: Download State Register of Borders

Description Usage Arguments Value Examples

View source: R/borders_download.R

Description

Download State Register of Borders

Usage

1
borders_download(type, outdir = ".", unzip = TRUE, ...)

Arguments

type

"administrative units", "special units" or "addresses"

outdir

(optional) name of the output directory; by default, files are saved in the working directory

unzip

TRUE (default) or FALSE, when TRUE the downloaded archive will be extracted and removed

...

additional argument for utils::download.file()

Value

a selected data type in SHP format

Examples

1
2
3
4
## Not run: 
borders_download("administrative units") # 375 MB

## End(Not run)

rgugik documentation built on May 5, 2021, 1:07 a.m.