Learn R Programming

opalr (version 3.3.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_delete(), opal.taxonomy_download(), opal.taxonomy_upload(), opal.taxonomy(), opal.vocabularies(), opal.vocabulary()

Examples

Run this code
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.terms(o, 'Mlstr_area', 'Lifestyle_behaviours')
opal.logout(o)
}

Run the code above in your browser using DataLab