R: ISO 3166-1 Country Codes

d.countries {DescTools} | R Documentation

## ISO 3166-1 Country Codes

### Description

Country codes published by the International Organization for Standardization (ISO) define codes for the names of countries, dependent territories, and special areas of geographical interest.

### Usage

    data("d.countries")

### Format

A data frame with 249 observations on the following 4 variables.

`name`

  a character vector, the name of the country.

`a2`

  a character vector, two-letter country codes (aka alpha-2) which are the most widely used of the three, and used most prominently for the Internet's country code top-level domains (with a few exceptions).

`a3`

  a character vector, three-letter country codes (aka alpha-3) which allow a better visual association between the codes and the country names than the alpha-2 codes.

`code`

  a numeric vector, three-digit country codes which are identical to those developed and maintained by the United Nations Statistics Division, with the advantage of script (writing system) independence, and hence useful for people or systems using non-Latin scripts.

`region`

  the region of the country. One of "East Asia & Pacific" (35), "Europe & Central Asia" (52), "Latin America & Caribbean" (41), "Middle East & North Africa" (20), "North America" (3), "South Asia" (8), "Sub-Saharan Africa" (47)

`pop2012`

  the population in 2012

`gcpi2012`

  the gross national income (per capita) in dollars per country in 2012.

### References

http://en.wikipedia.org/wiki/ISO_3166-1
http://data.worldbank.org/data-catalog/health-nutrition-and-population-statistics

### Examples

    head(d.countries)

[Package DescTools version 0.99.25 Index]