Skip to contents

This is a shortcut for Swiss canton abbreviation based on the canton name.

Usage

gtl_swiss_canton_abbr(canton_name)

Arguments

canton_name

A vector of Swiss canton names

Value

A vector of Swiss canton abbreviations

Examples

gtl_swiss_canton_abbr(c("Jura", "Genève", "Neuchâtel"))
#> [1] "JU" "GE" "NE"