Learn R Programming

opalr (version 3.4.2)

opal.variables: Get variables of a table

Description

Get variables of a table

Usage

opal.variables(opal, datasource, table, locale = "en", df = TRUE)

Arguments

opal

Opal object.

datasource

Name of the datasource.

table

Name of the table in the datasource.

locale

The language for labels (default is "en").

df

Return a data.frame (default is TRUE)

See Also

Other datasource functions: opal.annotate(), opal.annotations(), opal.attribute_values(), opal.datasource(), opal.datasources(), opal.table(), opal.tables(), opal.valueset(), opal.variable(), opal.variable_summary()

Examples

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

Run the code above in your browser using DataLab