Learn R Programming

opalr (version 3.3.1)

opal.annotations: 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)

Value

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

Arguments

opal

Opal object.

datasource

Name of the datasource.

table

Name of the table in the datasource.

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

Run this code
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.annotations(o, 'CPTP', 'Coreqx_final')
opal.logout(o)
}

Run the code above in your browser using DataLab