powered by
Converts Euring country and region codes into their text names.
place2name(x)
a dataframe with three columns: 'country.name', 'region.name', 'current', the last of which indicates whether the code is currently use or deprecated.
a variable containing four character Euring place code.
Rob Robinson
A warning is given if any place codes are not matched, these will be returned as NA.
examplecodes <- c('BL20', 'GBTR') place2name(examplecodes)
Run the code above in your browser using DataLab