emuia_download {rgugik}R Documentation

Download Register of Towns, Streets and Addresses for communes

Description

Download Register of Towns, Streets and Addresses for communes

Usage

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

## Not run: 
emuia_download(commune = "Kotla") # 38 KB
emuia_download(TERYT = c("0203042", "2412032")) # 75 KB

## End(Not run)

[Package rgugik version 0.4.1 Index]