Skip to contents

Takes any vector of languages and returns links to glottolog pages.

Usage

url.lang(x, popup = "")

Arguments

x

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

popup

character vector of strings that will appear in pop-up window of the function map.feature

Author

George Moroz <agricolamz@gmail.com>

Examples

url.lang('Korean')
#> [1] "<a href='https://glottolog.org/resource/languoid/id/kore1280' target='_blank'>Korean</a><br>"
url.lang(c('Gangou', 'Hachijo', 'West Circassian', 'Ganai'))
#> [1] "<a href='https://glottolog.org/resource/languoid/id/gang1272' target='_blank'>Gangou</a><br>"         
#> [2] "<a href='https://glottolog.org/resource/languoid/id/hach1239' target='_blank'>Hachijo</a><br>"        
#> [3] "<a href='https://glottolog.org/resource/languoid/id/adyg1241' target='_blank'>West Circassian</a><br>"
#> [4] "<a href='https://glottolog.org/resource/languoid/id/gana1278' target='_blank'>Ganai</a><br>"