lang.country: Get language by country

View source: R/lang.country.R

lang.countryR Documentation

Get language by country

Description

Takes any vector of countries and returns languages.

Usage

lang.country(x, list = TRUE)

Arguments

x

character vector of the countries (in alpha-2 ISO codes)

list

logical. If TRUE, it returns a list of languages, if FALSE it returns a named vector.

Author(s)

George Moroz <agricolamz@gmail.com>

See Also

aff.lang, country.lang, gltc.lang, iso.lang, lat.lang, long.lang, subc.lang, url.lang

Examples

lang.country('AD')
lang.country(c('AD', 'AE'))

lingtypology documentation built on Aug. 23, 2023, 5:09 p.m.