glottomatch | R Documentation |
Match a vector of language names to glottocodes and names
glottomatch(namevec, glottodata = NULL, tolerance = NULL)
namevec |
Vector of language names |
glottodata |
Optional, where to search for matches. If kept empty, the entire glottolog database will be searched, you could also search within a specific area |
tolerance |
Optional, search tolerance. |
a data.frame with exact or closest matches, and their glottocodes.
glottodata <- glottofilter(continent = "South America")
# Finds a single match
glottomatch(name = "yucuni", glottodata = glottodata)
# Finds multiple matches
glottomatch(name = "quechui", glottodata = glottodata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.