loadSerializedStudyData: Load the Serialized Data of a Study

Description Usage Arguments Value Examples

View source: R/Study.R

Description

Load the serialzed data (.rds) file of a specific domain of a study study from the directory where the file is located

Usage

1
loadSerializedStudyData(data_dir, study_id, domain)

Arguments

data_dir

Path to a file folder where the .rds study files reside

study_id

Study indentifier

domain

Domain of interest

Value

A study data object where in all data are structured as classes, domains, variables and values (in CDISC format)

Examples

1
2
3
4
5
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")

RImmPort documentation built on Nov. 8, 2020, 5:54 p.m.