Learn R Programming

micar (version 1.1.1)

mica.taxonomies: Get the taxonomies

Description

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

Run this code
# 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)
# }

Run the code above in your browser using DataLab