getISO3: Retrieve ISO3-code of country

getISO3R Documentation

Retrieve ISO3-code of country

Description

Retrieve ISO3-code of country

Usage

getISO3(countryname, name = FALSE)

Arguments

countryname

Character string (required): Full name of the country

name

Logical (optional): If TRUE, returns full name and alternative names of returned country (may be useful to double-check that it is the correct country)

Value

Character string with ISO3 code. Will also return full name if name=TRUE.

Examples

getISO3("Afghanistan")
getISO3("Congo",name=TRUE)

lshtm-vimc/prime documentation built on April 21, 2024, 3:21 a.m.