Data integration Web application for biobanks by 'OBiBa'. 'Opal' is the core database application for biobanks. Participant data, once collected from any data source, must be integrated and stored in a central data repository under a uniform model. 'Opal' is such a central repository. It can import, process, validate, query, analyze, report, and export data. 'Opal' is typically used in a research center to analyze the data acquired at assessment centres. Its ultimate purpose is to achieve seamless data-sharing among biobanks. This 'Opal' client allows to interact with 'Opal' web services and to perform operations on the R server side. 'DataSHIELD' administration tools are also provided.
library(opalr) o <- opal.login('username', 'passwd', 'http://localhost:8080') # Assign one variable to a R symbol opal.assign(o, 'VAR1', 'datasource.table:VAR1') opal.execute(o, 'summary(VAR1)') # Assign some variables as a data.frame to a R symbol opal.assign(o, 'TABLE', 'datasource.table', variables=list('VAR1','VAR2')) opal.execute(o, 'summary(TABLE$VAR1)') opal.execute(o, 'summary(TABLE$VAR2)') opal.logout(o)