dtlg: A Performance-Focused Package for Clinical Trial Tables

Create high-performance clinical reporting tables (TLGs) from ADaM-like inputs. The package provides a consistent, programmatic API to generate common tables such as demographics, adverse event incidence, and laboratory summaries, using 'data.table' for fast aggregation over large populations. Functions support flexible target-variable selection, stratification by treatment, and customizable summary statistics, and return tidy, machine-readable results ready to render with downstream table/formatting packages in analysis pipelines.

Version: 0.0.3
Depends: R (≥ 4.1.0)
Imports: data.table, vctrs
Suggests: bench, dplyr, kableExtra, rmarkdown, random.cdisc.data, rtables, tern, testthat (≥ 3.0.0), tidyr, withr
Published: 2026-01-12
DOI: 10.32614/CRAN.package.dtlg
Author: Max Ebenezer-Brown [aut], Max Norman [aut], Xinye Li [aut], Anja Peebles-Brown [aut], Ashley Baldry [aut], Ramiro Magno [aut, cre]
Maintainer: Ramiro Magno <ramiro.morgado at ascent.io>
License: MIT + file LICENSE
URL: https://AscentSoftware.github.io/dtlg/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: dtlg results

Documentation:

Reference manual: dtlg.html , dtlg.pdf

Downloads:

Package source: dtlg_0.0.3.tar.gz
Windows binaries: r-devel: dtlg_0.0.2.zip, r-release: dtlg_0.0.2.zip, r-oldrel: dtlg_0.0.2.zip
macOS binaries: r-release (arm64): dtlg_0.0.2.tgz, r-oldrel (arm64): dtlg_0.0.2.tgz, r-release (x86_64): dtlg_0.0.2.tgz, r-oldrel (x86_64): dtlg_0.0.2.tgz
Old sources: dtlg archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dtlg to link to this page.