getStudy {RImmPort} | R Documentation |
The function getStudy
queries the ImmPort data source for data of a specific study in
all domains. The data is then structured into Study
as classes, domains, variables and values.
getStudy(study_id)
study_id |
Identifier of a specific study |
A study data object where in all data are structured as classes, domains, variables and values (in CDISC format)
library(DBI) library(sqldf) studies_dir <- system.file("extdata", "ImmPortStudies", package = "RImmPort") db_dir <- file.path(studies_dir, "Db") sqlite_conn <- dbConnect(SQLite(), dbname=file.path(db_dir, "ImmPort.sqlite")) setImmPortDataSource(sqlite_conn) sdy139 <- getStudy("SDY139")