Introduction to teal.data
NEST CoreDev
2022-07-20
teal-data.Rmd
Introduction
The teal.data
package enables teal
application developers to convert their data into a format which can be
used inside teal
applications.
Quick Start
For creating ADaM
clinical trial data please use the
cdisc_data
and cdisc_dataset
functions:
library(teal.data)
library(scda)
# create some dummy data
adsl <- synthetic_cdisc_data("latest")$adsl
adtte <- synthetic_cdisc_data("latest")$adtte
my_data <- cdisc_data(
cdisc_dataset("ADSL", adsl),
cdisc_dataset("ADTTE", adtte)
)
For more general data use the teal_data
and
dataset
functions: