get_area_name {rWCVP}R Documentation

Get area description from vector of area codes

Description

Get area description from vector of area codes

Usage

get_area_name(area_codes)

Arguments

area_codes

Character vector containing the set of codes to be mapped to a name.

Details

Usually used as an inverse function for get_wgsrpd3_codes. Useful for condensing sets of codes for e.g. file names, plotting and table formatting.

Value

Character. Either a vector of length one, with a name for the set of Level 3 areas, or (if no name exists for that set of areas) the input vector of codes.

Examples

get_area_name(get_wgsrpd3_codes("Brazil"))

[Package rWCVP version 1.2.4 Index]