Learn R Programming

opalr (version 3.3.1)

opal.taxonomy_download: Download a taxonomy file

Description

Download a taxonomy stored in a file in YAML format.

Usage

opal.taxonomy_download(opal, taxonomy, destination = NULL)

Arguments

opal

Opal object.

taxonomy

Name of the taxonomy.

destination

Path to the taxonomy YAML file. If not provided, the downloaded file will have the taxonomy name with the '.yml' extension and will be located in the working directory.

See Also

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

Examples

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

Run the code above in your browser using DataLab