mica.taxonomies: Get the taxonomies

Description Usage Arguments See Also Examples

View source: R/mica.taxonomies.R

Description

Get the taxonomies, optionally filtered by taxonomy name and by term matching.

Usage

1
2
3
4
5
6
7
8
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

1
2
3
4
5
6
7
## Not run: 
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)

## End(Not run)

micar documentation built on April 16, 2021, 5:09 p.m.