powered by
Get summary statistics of a variable of a table
opal.variable_summary( opal, datasource, table, variable, cached = TRUE, nature = NULL )
Opal object.
Name of the datasource.
Name of the table in the datasource.
Name of the variable in the table.
Get cached summary if exists. When FALSE, the cached summary is evicted and replaced by the newly calculated one. Default is TRUE.
Force summary nature, independently from the variable. Possible values are: CATEGORICAL, CONTINUOUS, TEMPORAL, GEO, BINARY, UNDETERMINED.
Other datasource functions: opal.annotate(), opal.annotations(), opal.attribute_values(), opal.datasources(), opal.datasource(), opal.tables(), opal.table(), opal.valueset(), opal.variables(), opal.variable()
opal.annotate()
opal.annotations()
opal.attribute_values()
opal.datasources()
opal.datasource()
opal.tables()
opal.table()
opal.valueset()
opal.variables()
opal.variable()
if (FALSE) { o <- opal.login('administrator','password', url='https://opal-demo.obiba.org') opal.variable_summary(o, 'CNSIM', 'CNSIM1', 'GENDER') opal.logout(o) }
Run the code above in your browser using DataLab