Skip to content

insightsengineering/teal.transform

Repository files navigation

teal.transform

CRAN Version Total Downloads Last Month Downloads Last Week Downloads

Check πŸ›  Docs πŸ“š Code Coverage πŸ“”

GitHub forks GitHub repo stars

GitHub commit activity GitHub contributors GitHub last commit GitHub pull requests GitHub repo size GitHub language count Project Status: Active – The project has reached a stable, usable state and is being actively developed. Current Version Open Issues

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

Installation

install.packages('teal.transform')

Alternatively, you might want to use the development version.

# 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.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)

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

Stargazers repo roster for @insightsengineering/teal.transform

Forkers

Forkers repo roster for @insightsengineering/teal.transform