The geometries of the Federal Statistical Office for the federal votes, from
opendata.swiss. Each file holds the communes as they stood at a date; the
newest is used unless date is given.
Usage
gdt_opendata_swiss_geodata(
geolevel = c("national", "canton", "district", "municipality", "zh_counting_districts",
"lakes"),
latest = TRUE,
date = NULL,
verbose = FALSE
)Examples
gdt_opendata_swiss_geodata("national")
#> Simple feature collection with 1 feature and 1 field
#> Geometry type: MULTIPOLYGON
#> Dimension: XY
#> Bounding box: xmin: 485202.2 ymin: 75285.8 xmax: 834036.1 ymax: 295871.6
#> Projected CRS: CH1903 / LV03
#> id geometry
#> 1 1 MULTIPOLYGON (((689180 2788...
gdt_opendata_swiss_geodata("canton", date = "2020-06-01")
#> Simple feature collection with 26 features and 1 field
#> Geometry type: MULTIPOLYGON
#> Dimension: XY
#> Bounding box: xmin: 485203 ymin: 75279.09 xmax: 834035 ymax: 295863.6
#> Projected CRS: CH1903 / LV03
#> First 10 features:
#> canton_id geometry
#> 1 1 MULTIPOLYGON (((674280.2 26...
#> 2 2 MULTIPOLYGON (((569580.6 20...
#> 3 3 MULTIPOLYGON (((646457.9 18...
#> 4 4 MULTIPOLYGON (((695012.9 15...
#> 5 5 MULTIPOLYGON (((695048.6 22...
#> 6 6 MULTIPOLYGON (((666226.3 20...
#> 7 7 MULTIPOLYGON (((686387.7 20...
#> 8 8 MULTIPOLYGON (((718727.9 22...
#> 9 9 MULTIPOLYGON (((695048.6 22...
#> 10 10 MULTIPOLYGON (((548758.5 18...
