Function returning data frame of the 81 Senate Districts for the Czech Republic as
sf polygons. It takes a single parameter resolution - high res (default) or low res polygons.
senat_obvody(resolution = "high")
Should the function return high or low resolution shapefile? Allowed values are "high" (default) and "low". This parameter affects only the geometry column, all other fields remain the same.
sf data frame with 81 rows of 3 variables + geometry
Code of the district; left padded with zero in case of districts one to nine.
Seat of the senator.
Formal name of the district.
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 February 2021 (last update was in 2016). Downloaded size of high resolution shapefile is 10 MB, size of the low res object is negligible (but a working internet is still required, as the object is not internal).
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.