View source: R/get_municipality_state.R
swc_get_municipality_state | R Documentation |
This function produces a tibble containing the names and BFS-numbers (official municipality numbers) of all existing municipalities in a given year. Filtering by canton is supported.
swc_get_municipality_state(year, canton = NULL)
year |
Year of interest (integer). |
canton |
Canton abbreviation as character (e.g. "GE", "ZH", "TI", etc.) to focus on. If left 'NULL' (default) all cantons are considered. |
Tibble containing municipality numbers (BFS-numbers) and names of existing municipalities in the given year.
swc_get_municipality_state(1987)
swc_get_municipality_state(2000, "ZH")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.