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

Examples

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

Run the code above in your browser using DataLab