countryToCode: Convert country names to country codes

Description Usage Arguments Value

View source: R/MazamaSpatialUtils.R

Description

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

Usage

1
countryToCode(countryNames)

Arguments

countryNames

vector of country names to be converted

Value

A vector of ISO 3166-1 alpha-2 codes or NA.


MazamaSpatialUtils documentation built on Sept. 29, 2019, 1:03 a.m.