Assign a Opal table to a tibble identified by a R symbol in the current R session.
opal.assign.table.tibble(
opal,
symbol,
value,
variables = NULL,
missings = FALSE,
identifiers = NULL,
id.name = "id",
with.factors = FALSE,
updated.name = NULL,
async = FALSE
)
Opal object.
Name of the R symbol.
The fully qualified name of a table in Opal.
List of variable names or Javascript expression that selects the variables of a table (ignored if value does not refere to a table). See javascript documentation: http://wiki.obiba.org/display/OPALDOC/Variable+Methods
If TRUE, missing values will be pushed from Opal to R, default is FALSE.
Name of the identifiers mapping to use when assigning entities to R (from Opal 2.0).
Add a vector with the given name representing the entity identifiers (from Opal 2.6). Default is 'id'.
If TRUE, the categorical variables will be assigned as factors (from Opal 2.14). Default is FALSE.
Deprecated. Add a vector with the given name representing the creation and last update timestamps (from Opal 2.6 to 2.13). Default is NULL.
R script is executed asynchronously within the session (default is FALSE). If TRUE, the value returned is the ID of the command to look for (from Opal 2.1).
Other assignment functions:
opal.assign.data()
,
opal.assign.resource()
,
opal.assign.script()
,
opal.assign.table()
,
opal.assign()
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# assign a table and make some operation on it
opal.assign.table.tibble(o, 'D', 'datashield.CNSIM1')
opal.execute(o, "class(D)")
opal.logout(o)
}