country.lang: Get country by language

View source: R/country.lang.R

country.langR 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'))

ropensci/lingtypology documentation built on March 17, 2024, 11:13 p.m.