| d.bfsrg | R Documentation |
The Swiss Federal Statistical Office (SFSO) produces, publishes and maintains various spatial divisions for Switzerland. A dataset for the year 2022 is part of the package.
Granularity is the community level.
data("d.bfsrg")
A data frame with 2148 observations on the following 27 variables.
gem_idcommunity id, a numeric vector
gemeinde_xcommunity name, factor with the names of the communities as levels (to ensure the correct order, if needed).
kt_ccanton id, numeric vector
kt_xcanton abbreviation, a factor with levels ZH BE LU UR SZ OW NW GL ZG FR SO BS BL SH AR AI SG GR AG TG TI VD VS NE GE JU
kt_bez_xa factor with levels Zuerich Bern Luzern Uri Schwyz Obwalden Nidwalden Glarus Zug Fribourg Solothurn Basel-Stadt Basel-Landschaft Schaffhausen Appenzell Ausserrhoden Appenzell Innerrhoden St. Gallen Graubuenden Aargau Thurgau Ticino Vaud Wallis Neuchatel Geneve Jura
bezk_ca numeric vector
bezk_xa factor with levels Bezirk Affoltern Bezirk Andelfingen Bezirk Buelach Bezirk Dielsdorf Bezirk Hinwil ...
greg_ca numeric vector
greg_xa factor with levels Region lemanique Espace Mittelland Nordwestschweiz Zuerich Ostschweiz Zentralschweiz Ticino
aggl_ca numeric vector
aggl_xa factor with levels keine Agglomerationsgemeinde und keine Kerngemeinde ausserhalb von Agglomerationen Winterthur Zuerich Bern
aggl_grp_ca numeric vector
aggl_grp_xa factor with levels keine Agglomerationszugehoerigkeit >= 500000 Einwohner/innen 250000 - 499999 Einwohner/innen 100000 - 249999 Einwohner/innen
stadt_char_ca numeric vector
stadt_char_xa factor with levels Laendliche Gemeinde ohne staedtischen Charakter Agglomerationskerngemeinde (Kernstadt) Agglomerationskerngemeinde (Hauptkern) Agglomerationskerngemeinde (Nebenkern) Agglomerationsguertelgemeinde Mehrfach orientierte Gemeinde Kerngemeinde ausserhalb Agglomerationen
stadtland_ca numeric vector
stadtland_xa factor with levels stadt agglo land
gem_typ9_ca numeric vector
gem_typ9_xa factor with 9 levels
gem_typ25_ca numeric vector
gem_typ25_xa factor with 25 levels, definig types of communities
degurba_ca numeric vector
degurba_xa factor with levels dense intermediate thin
sprgeb_ca numeric vector
sprgeb_xa factor with levels d f i r
preg_ca numeric vector containing the category of the premium region (0:3).
preg_xa factor with levels ZH1, ZH2, ZH3, BE1, BE2, ...
head(kt <- unique(d.bfsrg[,c("kt_c","kt_x","kt_bez_x")][order(d.bfsrg$kt_c),]))
head(bezk <- unique(d.bfsrg[,c("bezk_c","bezk_x","kt_x")][order(d.bfsrg$bezk_c),]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.