Get the taxonomies, optionally filtered by taxonomy name and by term matching.
Usage
mica.taxonomies(
mica,
query = NULL,
locale = "en",
target = "variable",
taxonomies = NULL,
df = TRUE
)Arguments
- mica
A Mica object
- query
The search query
- locale
The language for labels (when NULL labels are not included in the result)
- target
What the taxonomy is about: variable (default), dataset, study, network
- taxonomies
Taxonomy names to subset. If NULL or empty all taxonomies are returned
- df
Return a data.frame (default is TRUE)
See also
Other taxonomies functions:
mica.vocabularies()
Examples
if (FALSE) { # \dontrun{
m <- mica.login("https://mica-demo.obiba.org")
mica.taxonomies(m, target="variable", query="sex", locale="en",
taxonomies = list("Mlstr_area", "Mlstr_additional"))
mica.logout(m)
} # }