Learn R Programming

birdring (version 1.6)

place2name: Decode Euring place codes

Description

Converts Euring country and region codes into their text names.

Usage

place2name(x)

Value

a dataframe with three columns: 'country.name', 'region.name', 'current', the last of which indicates whether the code is currently use or deprecated.

Arguments

x

a variable containing four character Euring place code.

Author

Rob Robinson

Details

A warning is given if any place codes are not matched, these will be returned as NA.

Examples

Run this code
examplecodes <- c('BL20', 'GBTR')
place2name(examplecodes)

Run the code above in your browser using DataLab