Movatterモバイル変換


[0]ホーム

URL:


Opal R

CRAN_Status_BadgeR-CMD-check

Opal R Client for theOpal datawarehouse. Most of the web services of Opal can be reached by anopalr function: import/export, data dictionaries, projects,tables, resources, permissions, users, DataSHIELD profiles etc.

Seeopalrdocumentation.

Installation:

# install from CRANinstall.packages("opalr")# or install latest development versionremotes::install_github("obiba/opalr")

Basic usage:

library(opalr)o <- opal.login('administrator', 'password', url = 'https://opal-demo.obiba.org')# assign a table (as a data.frame) to a R symbolopal.assign(o, 'D', 'CNSIM.CNSIM1')# perform R operations on the server sideopal.execute(o, 'summary(D$GENDER)')opal.execute(o, 'summary(D$LAB_GLUC)')opal.logout(o)

Options

Some helper options can be defined to control default values andbehavior:

Cookbooks

DataSHIELD Client

See theDSOpaldocumentation.


[8]ページ先頭

©2009-2025 Movatter.jp