import_CH_municipality_inventory {SMMT} | R Documentation |
Import the Swiss Municipality inventory
Description
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
).
Usage
import_CH_municipality_inventory(file_path)
Arguments
file_path |
Character vector of length one. It contains the file path to the Swiss municipality inventory XML file. |
Details
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
Value
A list with two tables in the form of tibble objects.
Municipality mutations.
Canton mutations