teal.transform

Check 🛠 Docs 📚 Code Coverage 📔

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Current Version

This package contains functions and shiny modules for extracting and merging data within the teal framework.

Installation

# stable versions
install.packages('teal.transform')

# install.packages("pak")
pak::pak("insightsengineering/teal.transform@*release")

Alternatively, you might want to use the development version available on r-universe.

# beta versions
install.packages('teal.transform', repos = c('https://pharmaverse.r-universe.dev', getOption('repos')))

# install.packages("pak")
pak::pak("insightsengineering/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.transform::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)
Showcase
Showcase

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.

Stargazers and Forkers

Stargazers over time

Stargazers over time

Stargazers

Forkers