geonames_download: Download State Register of Geographical Names

Description Usage Arguments Value References Examples

View source: R/geonames_download.R

Description

Download State Register of Geographical Names

Usage

1
geonames_download(type, format = "SHP", outdir = ".", unzip = TRUE, ...)

Arguments

type

names of places ("place") and/or physiographic objects ("object")

format

data format ("GML", "SHP" (default) and/or "XLSX")

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 the specified format

References

http://isap.sejm.gov.pl/isap.nsf/download.xsp/WDU20150000219/O/D20150219.pdf

Examples

1
2
3
4
## Not run: 
geonames_download(type = "place", format = "SHP") # 18.2 MB

## End(Not run)

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