lang.country {lingtypology}R 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'))

[Package lingtypology version 1.1.17 Index]