emuia_download: Download Register of Towns, Streets and Addresses for...

Description Usage Arguments Value Examples

View source: R/emuia_download.R

Description

Download Register of Towns, Streets and Addresses for communes

Usage

1
emuia_download(commune = NULL, TERYT = NULL, outdir = ".", unzip = TRUE, ...)

Arguments

commune

commune name in Polish. Check commune_names() function.

TERYT

county ID (7 characters)

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 register in SHP format

Examples

1
2
3
4
5
## Not run: 
emuia_download(commune = "Kotla") # 38 KB
emuia_download(TERYT = c("0203042", "2412032")) # 75 KB

## End(Not run)

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