View source: R/obce_polygony.R
obce_polygony | R Documentation |
Function returning data frame of LAU2 administrative units for the Czech Republic as sf
polygons. It takes no parameters.
obce_polygony()
Due to package size constraints the data are stored externally (and a working internet connection is required to use the package).
The dataset is based on RUIAN data by the Czech cadastral office. If necessary you can download the most up to date raw dataset in VFR format (a special case of XML which is understood by GDAL) on https://vdp.cuzk.cz/vdp/ruian/vymennyformat (in Czech only).
The data is current to June 2024. Downloaded size is 13.2 MB (so use with caution, and patience).
sf
data frame with 6.258 rows of 14 variables + geometry
Code of the level I commune (obec).
Name of the level I commune (obec).
Code of the level II commune (obec s poverenym uradem).
Name of the level II commune (obec s poverenym uradem)).
Code of the level III commune (obec s rozsirenou pusobnosti).
Name of the level III commune (obec s rozsirenou pusobnosti).
Code of the district (okres).
Code of the LAU1 administrative unit (okres).
Name of the LAU1 administrative unit (okres).
Code of the region (kraj).
Code of the NUTS3 unit (kraj)
Name of the NUTS3 unit (kraj)
© ČÚZK, 2021 https://vdp.cuzk.cz/
library(sf)
library(dplyr)
praha <- obce_polygony() %>%
filter(NAZ_LAU1 == "Praha")
plot(praha, max.plot = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.