list_countries {countries}R Documentation

Get a list of country names

Description

This function returns a vector of country names in different nomenclatures.

Usage

list_countries(nomenclature = "name_en")

Arguments

nomenclature

String indicating the nomenclature from which the list of countries should be taken. Not all countries are present in all nomenclatures, for example Taiwan is not recognised by the UN, so it will not be returned with "WTO_en". The function accepts any of the nomenclatures supported country_name. For a list of accepted values, refer to this page. The default is name_en, which is the English list of names in the ISO standard 3166.

Value

A vector of country names in the desired nomenclature.

See Also

random_countries, country_name

Examples

list_countries("ISO3")
list_countries("UN_en")
list_countries()

[Package countries version 1.2.0 Index]