Learn R Programming

opalr (version 3.4.2)

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.datasource(), opal.datasources(), opal.table(), opal.tables(), opal.valueset(), opal.variable_summary(), opal.variables()

Examples

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

Run the code above in your browser using DataLab