opalr (version 1.4.1)

harmo.table_get: Get a Opal table as a tibble

Description

Shortcut function to assign a Opal table to a tibble in the R server-side session and then retrieve it into the R client-side session. Requires to have the permission to see the individual values of the table and to perform R assignments.

Usage

harmo.table_get(opal, project, table, variables = NULL, missings = TRUE)

Arguments

opal

Opal connection object.

project

Project name where the table is located.

table

Table name from which the tibble should be extracted.

variables

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

missings

Include the missing values (default is TRUE).

Examples

Run this code
# NOT RUN {
o <- opal.login('administrator','password','https://opal-demo.obiba.org')
cqx <- harmo.table_get(o, "CPTP", "Cag_coreqx")
opal.logout(o)
# }

Run the code above in your browser using DataLab