ISOTocountry: Convert from the International Organization for...

Description Usage Arguments Details Value Note Author(s) References See Also

View source: R/ISOToCountry.R

Description

Given the lenght of the ISO country code provided (2=ISO-2 or 3=ISO-3[1]), the function will assign the corresponding country name in English.

Usage

1
ISOTocountry(countryCode = NULL)

Arguments

countryCode

Data.Frame class. A vector with the ISO-2or ISO-3 Codes.

Details

The user can check the ISO 3166-1 alpha-2 or alpha-3 code, valid for each country using the line of code : data(ISO2) or data(ISO3).

Value

A table with two columns (countryCode, country)

Note

See: R-Alarcon V. and Miranda-Esquivel DR.(submitted) geocleaMT: An R package to cleaning geographical data from electronic biodatabases.

Author(s)

R-Alarcon Viviana and Miranda-Esquivel Daniel R.

References

[1] ISO 2015. International standard for country codes and codes for their subdivisions. Country codes - iso 3166. International Organization for Standardization. Available online at http://www.iso.org/iso/country_codes .

See Also

countryToCentroid


Dmirandae/geocleaMT-1 documentation built on Nov. 18, 2019, 6:26 p.m.