opal.annotations: Get the annotations of a Opal table

Description Usage Arguments Value See Also Examples

View source: R/opal.annotations.R

Description

Directly retrieves from the table's data dictionary the variable annotations (attributes with a namespace).

Usage

1
opal.annotations(opal, datasource, table)

Arguments

opal

Opal object.

datasource

Name of the datasource.

table

Name of the table in the datasource.

Value

A data frame in long format (one row per annotation).

See Also

Other datasource functions: opal.annotate(), opal.attribute_values(), opal.datasources(), opal.datasource(), opal.tables(), opal.table(), opal.valueset(), opal.variables(), opal.variable()

Examples

1
2
3
4
5
6
## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.annotations(o, 'CPTP', 'Coreqx_final')
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 26, 2021, 5:06 p.m.