Learn R Programming

RCzechia (version 1.7.2)

obce_polygony: Municipalities / communes (obce) as polygons

Description

Function returning data frame of LAU2 administrative units for the Czech Republic as sf polygons. It takes no parameters.

Usage

obce_polygony()

Arguments

Format

sf data frame with 6.258 rows of 14 variables + geometry

KOD_OBEC

Code of the level I commune (obec).

NAZ_OBEC

Name of the level I commune (obec).

KOD_POU

Code of the level II commune (obec s poverenym uradem).

NAZ_POU

Name of the level II commune (obec s poverenym uradem)).

KOD_ORP

Code of the level III commune (obec s rozsirenou pusobnosti).

NAZ_ORP

Name of the level III commune (obec s rozsirenou pusobnosti).

KOD_OKRES

Code of the district (okres).

KOD_LAU1

Code of the LAU1 administrative unit (okres).

NAZ_LAU1

Name of the LAU1 administrative unit (okres).

KOD_KRAJ

Code of the region (kraj).

KOD_CZNUTS3

Code of the NUTS3 unit (kraj)

NAZ_CZNUTS3

Name of the NUTS3 unit (kraj)

Details

Due to package size constraints the data are stored externally (and a working internet connection is required to use the package).

The data is current to June 2021 (i.e changes introduced by act 51/2020 Sb. are reflected). Downloaded size is 13.3 MB (so use with caution, and patience).

Examples

Run this code
# NOT RUN {
library(sf)
library(dplyr)

praha <- obce_polygony() %>%
  filter(NAZ_LAU1 == "Praha")

plot(praha, max.plot = 1)
# }

Run the code above in your browser using DataLab