kommuneRegion: kommuneRegion - Converts kommune number to Region

View source: R/kommuneRegion.R

kommuneRegionR Documentation

kommuneRegion - Converts kommune number to Region

Description

Converts 3-digit kommune number to text representing one of the five administrative regions.

Usage

kommuneRegion(x)

Arguments

x

3-digit kommune number

Details

This function converts the 3-digit kommune number to a text corresponding to which of the five regions in Denmark a kommune belongs to. The function is adapted from a DST SAS-format and the conversions are valid from 2007. There is no very easy way to convert older kommune-numbers to the current regions since some kommune were split in the processof developing the five regions

Author(s)

Christian Torp-Pedersen

Examples

kommuneRegion(410) # Sydjylland

tagteam/heaven documentation built on April 26, 2024, 6:22 a.m.