opal.taxonomy_upload {opalr}R 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)

[Package opalr version 3.4.1 Index]