codeToCountry: Convert country codes to country names

View source: R/MazamaSpatialUtils-package.R

codeToCountryR Documentation

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)

Arguments

countryCodes

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

Value

A vector of English country names or NA.

Note

This function is deprecated as of MazamaSpatialUtils 0.8.7. Please use countryCodeToName instead.


MazamaSpatialUtils documentation built on Nov. 3, 2024, 9:07 a.m.