Download State Register of Borders

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

if (FALSE) {
borders_download("administrative units") # 375 MB
}