opalr (version 1.4.1)

opal.terms: Get the terms of a vocabulary

Description

Get all the terms of a vocabulary. The term describes the value of a variable annotation.

Usage

opal.terms(opal, taxonomy, vocabulary, locale = "en", df = TRUE)

Arguments

opal

Opal object.

taxonomy

Name of the taxonomy

vocabulary

Name of the vocabulary in the taxonomy

locale

The language for labels (default is "en").

df

Return a data.frame (default is TRUE)

See Also

Other taxonomy functions: opal.taxonomies(), opal.taxonomy(), opal.vocabularies(), opal.vocabulary()

Examples

Run this code
# NOT RUN {
o <- opal.login('administrator','password','https://opal-demo.obiba.org')
opal.terms(o, 'Mlstr_area', 'Lifestyle_behaviours')
opal.logout(o)
# }

Run the code above in your browser using DataCamp Workspace