powered by
Search within glottodata for languages, glottocodes, etc.
glottosearch( search, glottodata = NULL, partialmatch = TRUE, columns = NULL, tolerance = NULL )
Character string to search for, this can be the name of a language, a family, a glottocode, isocode.
Any linguistic or cultural dataset. Default is to search within glottobase.
By default, partial matches will be returned as well. In case you only want exact matches, this argument should be set to FALSE.
By default, the entire dataset is searched, but optionally the search can be limited to specific columns.
In case partialmatch is TRUE: what is the maximum difference between search term and match? Default is 0.1
A subset of glottodata that matches search conditions (object returned as a data.frame/tibble)
# NOT RUN { glottosearch(search = "Yucuni") glottosearch(search = "Yucuni", columns = "name") glottosearch(search = "Yucuni", columns = c("name", "family")) # }
Run the code above in your browser using DataLab