Learn R Programming

countrycode (version 0.2)

countrycode-package: Countrycode is a utility to convert country coding schemes

Description

The countrycode() function can convert to and from 7 different country coding schemes. It uses regular expressions to convert long country names (e.g. Sri Lanka) into any of those coding schemes, or into standardized country names (official short English). It can create variables with the name of the continent and/or region to which each country belongs. The function countrycode.nomatch() returns a list of conversions that cannot be completed using the package countrycode. The function countryframe() can generate data frames composed of all directed or undirected dyad-year, or country-year observations.

Arguments

Details

ll{ Package: countrycode Type: Package Version: 0.2 Date: 2009-06-11 License: GPL-3 LazyLoad: yes LazyData: yes }