View source: R/import_CH_municipality_inventory.R
import_CH_municipality_inventory | R Documentation |
This function imports the Swiss municipality inventory from the raw XML
resource into R as a tibble
. The imported table is the
basis to map the Swiss municipalities from an old to a new state (see
map_old_to_new_state
).
import_CH_municipality_inventory(file_path)
file_path |
Character vector of length one. It contains the file path to the Swiss municipality inventory XML file. |
This imported Swiss municipality inventory is a database with the complete mutation history that occured since 01.01.1960. The Swiss municipality inventory is made available by the Federal Statistical Office and updated regularly to keep track of new mutations.
Download
See BfS webpage for infos about Swiss municipality inventory: Historisiertes Gemeindeverzeichnis
A list with two tables in the form of tibble objects.
Municipality mutations.
Canton mutations
map_old_to_new_state
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.