mica.vocabularies: Get the vocabularies

View source: R/mica.taxonomies.R

mica.vocabulariesR Documentation

Get the vocabularies

Description

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

Usage

mica.vocabularies(
  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.taxonomies()

Examples

## Not run: 
m <- mica.login("https://mica-demo.obiba.org")
mica.vocabularies(m,target="variable", query="cancer", locale = "en")
mica.logout(m)

## End(Not run)

obiba/micar documentation built on Nov. 8, 2023, 11:51 p.m.