Learn R Programming

opalr (version 3.3.1)

opal.taxonomy_upload: Upload a taxonomy file

Description

Upload a taxonomy stored in a local file in YAML format. This operation will fail if the taxonomy already exists, see opal.taxonomy_delete.

Usage

opal.taxonomy_upload(opal, path)

Arguments

opal

Opal object.

path

Path to the taxonomy YAML file.

See Also

Other taxonomy functions: opal.taxonomies(), opal.taxonomy_delete(), opal.taxonomy_download(), 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_upload(o, '~/some/dir/taxo.yml')
opal.logout(o)
}

Run the code above in your browser using DataLab