import_CH_municipality_inventory: Import the Swiss Municipality inventory

View source: R/import_CH_municipality_inventory.R

import_CH_municipality_inventoryR 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.

  1. Municipality mutations.

  2. Canton mutations

See Also

map_old_to_new_state


SMMT documentation built on April 4, 2022, 1:07 a.m.