opalr (version 3.4.1)

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

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