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

iso3ToIso2(countryCodes)

Arguments

countryCodes

Vector of ISO 3166-1 alpha-3 codes.

Value

A vector of ISO2 country codes