This package contains functions and shiny modules for extracting and merging data within the teal framework.
teal.transform is developed by Roche, Appsilon, and the wider open-source community. Roche and Appsilon are copyright holders of the project, which is hosted in the pharmaverse GitHub organisation.
Installation
install.packages('teal.transform')Alternatively, you might want to use the development version.
# install.packages("pak")
pak::pak("pharmaverse/teal.transform")Usage
To understand how to use this package, please refer to the Getting Started article, which provides multiple examples of code implementation.
Below is a small example usage:
library(teal.transform)
ADSL <- teal.data::rADSL
adsl_extract <- data_extract_spec(
dataname = "ADSL",
filter = filter_spec(vars = "SEX", choices = c("F", "M")),
select = select_spec(choices = c("BMRKR1", "AGE"))
)
ui <- data_extract_ui(
id = "adsl_ui",
label = "ADSL UI",
data_extract_spec = adsl_extract
)
library(shiny)
ui <- fluidPage(ui)
server <- function(input, output, session) {}
shinyApp(ui, server)
Getting help
If you encounter a bug or 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.
Acknowledgment
teal.transform was created at Roche and is developed together with Appsilon and the wider open-source community. Thank you to everyone who has contributed code, reported an issue, improved the documentation, or built a module. To get involved, explore the open issues or join the #teal channel in the pharmaverse Slack.