opalr (version 1.4.1)

opal.variable: Get a variable of a table

Description

Get a variable of a table

Usage

opal.variable(opal, datasource, table, variable)

Arguments

opal

Opal object.

datasource

Name of the datasource.

table

Name of the table in the datasource.

variable

Name of the variable in the table.

See Also

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

Examples

Run this code
# NOT RUN {
o <- opal.login('administrator','password','https://opal-demo.obiba.org')
opal.variable(o, 'datashield', 'CNSIM1', 'GENDER')
opal.logout(o)
# }

Run the code above in your browser using DataCamp Workspace