loadSerializedStudyData {RImmPort} | R Documentation

## Load the Serialized Data of a Study

### Description

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

### Usage

    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

    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")

[Package RImmPort version 1.18.0 Index]