Download a taxonomy stored in a file in YAML format.

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.

Examples

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)
}