opal.taxonomy_upload: Upload a taxonomy file

View source: R/opal.taxonomy.R

opal.taxonomy_uploadR Documentation

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

## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.taxonomy_upload(o, '~/some/dir/taxo.yml')
opal.logout(o)

## End(Not run)

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