get_participants: Retrieves participants present in 'secuTrialdata'

View source: R/get.R

get_participantsR Documentation

Retrieves participants present in secuTrialdata

Description

Given a secuTrialdata object, this function simply returns a list of participants. Information included are participant IDs and corresponding study centre information, if available.

Usage

get_participants(dat)

Arguments

dat

secuTrialdata object containing participant IDs and centre information

Value

data.frame containing participants present in dat

Examples


path <- system.file("extdata", "sT_exports", "exp_opt",
                    "s_export_CSV-xls_CTU05_all_info.zip",
                    package = "secuTrialR")
sT_export <- read_secuTrial(path)

# show participants
participants <- get_participants(sT_export)


secuTrialR documentation built on June 22, 2024, 9:16 a.m.