R/emuia_download.R
emuia_download.Rd
Download Register of Towns, Streets and Addresses for communes
emuia_download(commune = NULL, TERYT = NULL, outdir = ".", unzip = TRUE, ...)
commune name in Polish. Check commune_names()
function.
county ID (7 characters)
(optional) name of the output directory; by default, files are saved in the working directory
TRUE (default) or FALSE, when TRUE the downloaded archive will be extracted and removed
additional argument for utils::download.file()
a register in SHP format
if (FALSE) {
emuia_download(commune = "Kotla") # 38 KB
emuia_download(TERYT = c("0203042", "2412032")) # 75 KB
}