Learn R Programming

Giza (version 1.0)

getname: getname Function

Description

Extract the UN country name for a given country code

Usage

getname(ccode, dictionary)

Arguments

ccode
any country code in dictionary
dictionary
see ?dictionary

Value

the name of the country corresponding to the ccode value in question

Details

This is the ``inverse'' of the `getcode' function.

See Also

`getcode'

Examples

Run this code
data(dictionary)
getname(156,dictionary)

Run the code above in your browser using DataLab