canton_CH: Swiss canton names - convert them to different languages and...

View source: R/canton_CH.R

canton_CHR Documentation

Swiss canton names - convert them to different languages and abbreviations

Description

Functions to convert Switzerland's cantons, districts and communes names to their abbreviations and official BFS ID

Usage

canton_CH()

canton_namesStrict(query, output = "iso2")

Arguments

query

a character vector of Swiss canton names in any language

output

a character string, the ouput format

Details

a data.frame used by canton_namesStrict

See canton_CH

Examples

## Not run: 
  canton_CH()

## End(Not run)
canton_query <- c('Argovie', 'Appenzell Rh.-I.', 'St. Gallen', 'Zürich', 'Vaud')
canton_namesStrict(canton_query)
canton_namesStrict(canton_query, output = "eng")

d-qn/taMap documentation built on Oct. 25, 2023, 8:43 a.m.