glottofilterflex | R Documentation |
This is a more flexible alternative to glottofilter, allowing for negative selections.
glottofilterflex(glottodata, colname, select)
glottodata |
glottodata table |
colname |
Character with a single column name |
select |
Things to be selected in that column |
glottodata <- glottoget("glottobase")
glottofilterflex(glottodata = glottodata, colname = "family",
select = "Indo-European")
glottofilterflex(glottodata = glottodata, colname = "family",
select = -"Indo-European")
glottofilterflex(glottodata = glottodata, colname = "country",
select = c("Germany", "Netherlands") )
glottofilterflex(glottodata = glottodata, colname = "country",
select = -c("Germany", "Netherlands") )
glottofilterflex(glottodata = glottodata, colname = "continent",
select = -c("South America", "Europe", "Asia", "Oceania", "Africa") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.