country.lang {lingtypology}R Documentation

Get country by language

Description

Takes any vector of languages and returns countries where those languages are used as ISO 3166-1 alpha-2 codes.

Usage

country.lang(x, full_name = TRUE)

Arguments

x

A character vector of the languages (can be written in lower case)

full_name

A logical value, whether return ISO 3166-2 codes or full names.

Author(s)

George Moroz <agricolamz@gmail.com>

See Also

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

Examples

country.lang('Korean')
country.lang(c('Korean', 'Polish'))

[Package lingtypology version 1.1.17 Index]