Learn R Programming

mapping (version 1.4.1)

getNamesWR: World countries names

Description

Retrieves world country names, ids and iso.

Usage

getNamesWR(unit = c("all","country", "name_formal",
                    "name_wb", "iso2", "iso3",
                    "iso3_eh", "iso3_numeric", "iso3_un",
                    "iso2_wb", "iso3_wb"))

Value

A character vector or a data frame with unit names and corresponding associated levels.

Arguments

unit

the type of names

See Also

getNamesIT, getNamesUS, getNamesEU, getNamesUK, getNamesDE

Examples

Run this code
getNamesWR()
getNamesWR("iso3")

Run the code above in your browser using DataLab