Learn R Programming

mapping (version 1.2)

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"))

Arguments

unit

the type of names

Value

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

See Also

getNamesIT, getNamesUS, getNamesEU

Examples

Run this code
# NOT RUN {
getNamesWR()
getNamesWR("iso3")
# }

Run the code above in your browser using DataLab