Given a secuTrialdata
object, this function simply returns a list of participants.
Information included are participant IDs and corresponding study centre information,
if available.
get_participants(dat)
secuTrialdata
object containing participant IDs and centre information
data.frame containing participants present in dat
path <- system.file("extdata", "sT_exports", "exp_opt",
"s_export_CSV-xls_CTU05_all_info.zip",
package = "secuTrialR")
sT_export <- read_secuTrial(path)
#> Read export successfully.
#> The following export options deviate from the suggested specifications:
#> Data from hidden fields is part of the export.
# show participants
participants <- get_participants(sT_export)