Learn R Programming

rgugik (version 0.4.1)

borders_download: Download State Register of Borders

Description

Download State Register of Borders

Usage

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

Value

a selected data type in SHP format

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()

Examples

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

Run the code above in your browser using DataLab