Package: dtlg 0.1.1

Ramiro Magno

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.

Authors:Max Ebenezer-Brown [aut], Max Norman [aut], Xinye Li [aut], Anja Peebles-Brown [aut], Ashley Baldry [aut], Ramiro Magno [aut, cre], Acuity Analytics [cph, fnd]

dtlg_0.1.1.tar.gz
dtlg_0.1.1.zip(r-4.7)dtlg_0.1.1.zip(r-4.6)dtlg_0.1.1.zip(r-4.5)
dtlg_0.1.1.tgz(r-4.6-any)dtlg_0.1.1.tgz(r-4.5-any)
dtlg_0.1.1.tar.gz(r-4.7-any)dtlg_0.1.1.tar.gz(r-4.6-any)
dtlg_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
dtlg/json (API)

# Install 'dtlg' in R:
install.packages('dtlg', repos = c('https://ascentsoftware.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ascentsoftware/dtlg/issues

Pkgdown/docs site:https://ascentsoftware.github.io

Datasets:
  • adae - Adverse Event Analysis Dataset example dataset
  • adlb - ADaM Basic Data Structure (BDS) example dataset
  • adsl - Subject-Level Analysis Dataset (ADSL) example dataset
  • aesi - Adverse Events of Special Interest (AESI) example dataset

On CRAN:

Conda:

4.24 score 1 stars 7 scripts 536 downloads 29 exports 6 dependencies

Last updated from:dffe23db59. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK168
source / vignettesOK211
linux-release-x86_64OK163
macos-release-arm64OK128
macos-oldrel-arm64OK202
windows-develOK95
windows-releaseOK113
windows-oldrelOK90
wasm-releaseOK166

Exports:AET01_tableAET02_tableas_dtlg_tablecalc_countscalc_desccalc_statscross_tab_to_obsv_tabdt_copy_semanticsevent_countevent_count_byformat_n_pctindentlabelmaybe_copy_dtmerge_table_listsmulti_event_truenbspprint_dtlground_pctround_sumset_dt_copy_semanticssummary_tablesummary_table_bysummary_table_by_targetstern_AET01_tabletern_AET02_tabletern_summary_tabletotal_eventswith_label

Dependencies:clidata.tablegluelifecyclerlangvctrs

Readme and manuals

Help Manual

Help pageTopics
Adverse Event Analysis Dataset example datasetadae
ADaM Basic Data Structure (BDS) example datasetadlb
Subject-Level Analysis Dataset (ADSL) example datasetadsl
Adverse Events of Special Interest (AESI) example datasetaesi
Generate Core Safety Tables for Clinical Study ReportsAET01_table
Create AET02-style AE summary tableAET02_table
Convert a TableTree to a dtlg tableas_dtlg_table
Calculate counts of a categorical variablecalc_counts
Calculate descriptive summary statistics for a numeric variablecalc_desc
Calculate summary statistics for a variablecalc_stats
Convert a contingency table to a long-format observation-level data framecross_tab_to_obsv_tab
Get or set data.table copy semanticsdt_copy_semantics set_dt_copy_semantics
Count eventsevent_count
Summarise adverse events by arm and other grouping variablesevent_count_by
Retrieve the label of an objectlabel
Return a data.table by reference or by valuemaybe_copy_dt
Merge a list of list-wrapped data.tables into one data.tablemerge_table_lists
Summarise multiple AESI-like events per treatment armmulti_event_true
Print a 'dtlg' tableprint_dtlg
Rounded percentageround_pct
Rounds numbers while preserving the total sumround_sum
Summary Tablesummary_table
Create a summary table using multiple rows for grouping on one target columnsummary_table_by
Create a summary table using multiple rows for grouping on two target column ideal for creating change from baseline tablessummary_table_by_targets
Generate Core Safety Tables (CSR Section 14.3.1) using 'tern'/'rtables'tern_AET01_table
Generate AET02-style AE summary using 'tern' and 'rtables'tern_AET02_table
Create a clinical reporting table with tern/rtablestern_summary_table
Count total eventstotal_events
Add a label attribute to an objectwith_label