opal.terms: Get the terms of a vocabulary

View source: R/opal.taxonomy.R

opal.termsR Documentation

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

## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.terms(o, 'Mlstr_area', 'Lifestyle_behaviours')
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 6, 2023, 5:08 p.m.