loadSerializedStudyData {RImmPort} | R Documentation |
Load the serialzed data (.rds) file of a specific domain of a study study from the directory where the file is located
loadSerializedStudyData(data_dir, study_id, domain)
data_dir |
Path to a file folder where the .rds study files reside |
study_id |
Study indentifier |
domain |
Domain of interest |
A study data object where in all data are structured as classes, domains, variables and values (in CDISC format)
studies_dir <- system.file("extdata", "ImmPortStudies", package = "RImmPort") # the folder where the .rds files will be stored rds_dir <- file.path(studies_dir, "Rds") # load the serialized data of study `SDY208` loadSerializedStudyData(rds_dir, 'SDY208', "Demographics")