This package is used to create the data needed for
teal applications. This data can be:
- Independent data frames
CDISCdata (for clinical trial reporting)
- Relational data
This package provides:
- the mechanism for pulling data from existing systems
- the ability to mutate (i.e. pre-process) the data
- record the operations used to create the data to enable reproducibility
# stable versions install.packages('teal.data', repos = c('https://insightsengineering.r-universe.dev', getOption('repos'))) # install.packages("pak") pak::pak("insightsengineering/teal.data@*release")
Alternatively, you might want to use the development version available on r-universe.
To understand how to use this package, please refer to the Introduction to teal.data article, which provides multiple examples of code implementation.
Below is the showcase of the example usage
# quick start for clinical trial data adsl <- teal.data::example_cdisc_data("ADSL") adtte <- teal.data::example_cdisc_data("ADTTE") my_data <- cdisc_data( cdisc_dataset("ADSL", adsl), cdisc_dataset("ADTTE", adtte) )
If you encounter a bug or you have a feature request - please file an issue. For questions, discussions and staying up to date, please use the “teal” channel in the
pharmaverse slack workspace.