Package: tidytlg 0.11.0.9000

Konrad Pagacz

tidytlg: Create TLGs using the 'tidyverse'

Generate tables, listings, and graphs (TLG) using 'tidyverse'. Tables can be created functionally, using a standard TLG process, or by specifying table and column metadata to create generic analysis summaries. The 'envsetup' package can also be leveraged to create environments for table creation.

Authors:Nicholas Masel [aut], Steven Haesendonckx [aut], Pelagia Alexandra Papadopoulou [aut], Sheng-Wei Wang [aut], Eli Miller [aut], Nathan Kosiba [aut], Aidan Ceney [aut], Janssen R&D [cph, fnd], David Hugh-Jones [cph], Konrad Pagacz [aut, cre]

tidytlg_0.11.0.9000.tar.gz
tidytlg_0.11.0.9000.zip(r-4.7)tidytlg_0.11.0.9000.zip(r-4.6)tidytlg_0.11.0.9000.zip(r-4.5)
tidytlg_0.11.0.9000.tgz(r-4.6-any)tidytlg_0.11.0.9000.tgz(r-4.5-any)
tidytlg_0.11.0.9000.tar.gz(r-4.7-any)tidytlg_0.11.0.9000.tar.gz(r-4.6-any)
tidytlg_0.11.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
tidytlg/json (API)
NEWS

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

Bug tracker:https://github.com/pharmaverse/tidytlg/issues

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

Datasets:
  • cdisc_adae - 'ADAE' data created from subsetting the 'CDISC' 'ADAE' dataset
  • cdisc_adlb - 'ADLB' data created from subsetting the 'CDISC' 'ADLB' dataset
  • cdisc_adsl - 'ADSL' data created from subsetting the 'CDISC' 'ADSL' with 15 subjects
  • cdisc_advs - 'ADVS' data created from subsetting the 'CDISC' 'ADVS' dataset
  • column_metadata - Metadata describing table column layouts
  • table_metadata - Metadata describing the data, functions and arguments needed to produce your results.

On CRAN:

Conda:

9.42 score 40 stars 2 packages 62 scripts 1.1k downloads 26 exports 50 dependencies

Last updated from:cc1af94fba. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE256
source / vignettesOK269
linux-release-x86_64NOTE258
macos-release-arm64NOTE171
macos-oldrel-arm64NOTE174
windows-develNOTE183
windows-releaseNOTE178
windows-oldrelNOTE138
wasm-releaseOK177

Exports:add_bottom_bordersadd_formatadd_indentadd_newrowsbind_tablechar2factorcol_bordersfreqgenerate_resultsgentlgget_file_nameinsert_empty_rowsnested_freqno_bordersreplace_na_with_blankrmdpstitleroundSASrow_bordersingle_borderspanning_bordersspanning_headersstatlisttidytlg_metadatatidytlg_titlestlgsetupunivar

Dependencies:assertthatbase64enccachemcellrangerclicommonmarkcpp11crayondigestdplyrfansifarverfastmapforcatsgenericsggplot2gluegtablehmshtmltoolshuxtableisobandlabelinglifecyclemagrittrmemoisepillarpkgconfigpngprettyunitsprogresspurrrR6RColorBrewerreadxlrematchrlangrstudioapiS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithrxml2

Column Metadata & How tidytlg Sets Up Your Data Using tlgsetup

Rendered fromtlgsetup.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2025-12-17
Started: 2022-12-12

Frequency Analysis

Rendered fromfreq.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2025-12-17
Started: 2022-12-12

Get Started

Rendered fromtidytlg.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2025-12-17
Started: 2022-12-12

Manipulating tbl data frame

Rendered fromtbl_manipulation.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2025-12-17
Started: 2022-12-12

Tips & Tricks: Including Symbols, Superscripts, Subscripts & Line Breaks

Rendered fromsymbols.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2025-12-17
Started: 2022-12-12

Univariate Statistics Analysis

Rendered fromunivar.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2025-12-17
Started: 2022-12-12

Readme and manuals

Help Manual

Help pageTopics
Adds bottom borders to a 'huxtable'add_bottom_borders
Add the formatting variables of 'indentme', 'newrows', 'newpage', and 'roworder' to the results dataframeadd_format
Add indentation variable to the results dataframeadd_indent
Add the 'newrows' variable to the results dataframe.add_newrows
Bind a set of 'tidytlg' tables together with formatting variablesbind_table
'ADAE' data created from subsetting the 'CDISC' 'ADAE' datasetcdisc adae cdisc_adae
'ADLB' data created from subsetting the 'CDISC' 'ADLB' datasetcdisc adlb cdisc_adlb
'ADSL' data created from subsetting the 'CDISC' 'ADSL' with 15 subjects (5 subjects in each arm)cdisc adsl cdisc_adsl
'ADVS' data created from subsetting the 'CDISC' 'ADVS' datasetcdisc advs cdisc_advs
Convert character variable to a factor based off it's numeric variable counterpart.char2factor
Adds borders under cells in a columncol_borders
Metadata describing table column layoutscolumn_metadata
Frequency counts and percentagesfreq
Generate Results using Table and Column Metadatagenerate_results
Output a 'tidytlg' tablegentlg
getFileNameget_file_name
Inserts empty rows into a data frameinsert_empty_rows
Generate nested count/percent for two or three levelsnested_freq
Removes all borders from the tableno_borders
Replace NA with ""replace_na_with_blank
Get Titles and Footnotes for all TLGs or one specific TLGrmdpstitle
SAS rounding in RroundSAS
Adds a continuous bottom border under a rowrow_border
Adds a border under a cellsingle_border
Adds borders under cells in a row, excluding the first column.spanning_borders
Spanning headers for outputsspanning_headers
Create a 'statlist' interface for a tablestatlist
Metadata describing the data, functions and arguments needed to produce your results.table_metadata
Helper functions for returning files used in 'gentlg'tidytlg_metadata tidytlg_titles
Setup data to support the specified column typetlgsetup
Descriptive statisticsunivar