Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This extended practical session aims the implementation of some basic DataSHIELD functions and the interpretation of the results, this is possible to do independently having completed the DataSHIELD user tutorial. 

Login into the DASIM data tables

Code Block
languagexml
# If they haven't been loaded yet, load all the DataSHIELD libraries.
library(opal)
library(dsBaseClient)

# build a new dataframe by login to the table "DASIM" which is included in three cloud based Opals
server <- c("study1", "study2", "study3")
url <- c("http://XXXXXX:8080")
table <- c("DASIM.DASIM1", "DASIM.DASIM2", "DASIM.DASIM3")
logindata <- data.frame(server, url, user="administrator", password="datashield_test&", table)

# login and assign the whole dataset
opals <- datashield.login(logins=logindata, assign=TRUE)

...