This package contains functions and shiny modules for extracting and
merging data within the teal
framework.
install.packages('teal.transform')
Alternatively, you might want to use the development version.
# install.packages("pak")
::pak("insightsengineering/teal.transform") pak
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)
<- teal.data::rADSL
ADSL
<- data_extract_spec(
adsl_extract dataname = "ADSL",
filter = filter_spec(vars = "SEX", choices = c("F", "M")),
select = select_spec(choices = c("BMRKR1", "AGE"))
)
<- data_extract_ui(
ui id = "adsl_ui",
label = "ADSL UI",
data_extract_spec = adsl_extract
)
library(shiny)
<- fluidPage(ui)
ui <- function(input, output, session) {}
server shinyApp(ui, server)
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.