opal.taxonomy_download: Download a taxonomy file

View source: R/opal.taxonomy.R

opal.taxonomy_downloadR Documentation

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

## Not run: 
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)

## End(Not run)

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