opalr (version 1.4.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)

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.projects(), opal.project(), opal.tables(), opal.table(), opal.valueset(), opal.variables(), opal.variable()

Examples

Run this code
# NOT RUN {
o <- opal.login('administrator','password','https://opal-demo.obiba.org')
opal.annotations(o, 'CPTP', 'Coreqx_final')
opal.logout(o)
# }

Run the code above in your browser using DataCamp Workspace