Learn R Programming

MazamaSpatialUtils (version 0.8.6)

codeToCountry: Convert country codes to country names

Description

Converts a vector of ISO 3166-1 alpha-2 codes to the corresponding English names.

Usage

codeToCountry(countryCodes)

Value

A vector of English country names or NA.

Arguments

countryCodes

Vector of ISO 3166-1 alpha-2 country codes.