opal.annotations: Get the annotations of a Opal table

View source: R/opal.annotations.R

opal.annotationsR Documentation

Get the annotations of a Opal table

Description

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

Usage

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.variable_summary(), opal.variables(), opal.variable()

Examples

## 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. 6, 2023, 5:08 p.m.