The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

tsg: Generate Publication-Ready Statistical Tables

A table and summary generator: a collection of functions for generating frequency tables and cross-tabulations of categorical variables. The resulting tables can be exported to various formats (Excel, PDF, HTML, etc.) with extensive formatting and layout customization options.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: haven, openxlsx, fs, forcats, purrr, tidyr, glue, jsonlite (≥ 2.0.0), yaml (≥ 2.3.10), dplyr (≥ 1.1.0), stringr (≥ 1.4.0), rlang (≥ 1.0.2), lifecycle, stats, utils
Suggests: testthat (≥ 3.0.0), cli, devtools, knitr, rmarkdown, tibble, webshot2, withr, DBI, dbplyr, RSQLite, googledrive, gargle, gt, officer, flextable, qpdf, chromote
Published: 2026-11-20
DOI: 10.32614/CRAN.package.tsg
Author: Bhas Abdulsamad ORCID iD [aut, cre, cph]
Maintainer: Bhas Abdulsamad <aeabdulsamad at gmail.com>
BugReports: https://github.com/yng-me/tsg/issues
License: MIT + file LICENSE
URL: https://yng-me.github.io/tsg/, https://github.com/yng-me/tsg
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: tsg results

Documentation:

Reference manual: tsg.html , tsg.pdf
Vignettes: Grouped Tables and Side-by-Side Comparisons (source, R code)
Customizing How Your Tables Look (source, R code)
Writing tables to Google Sheets (source, R code)
Saving and Sharing Your Tables (source, R code)
Getting Started with tsg (source, R code)
Writing Excel workbooks with write_xlsx() (source, R code)

Downloads:

Package source: tsg_0.2.0.tar.gz
Windows binaries: r-devel: tsg_0.2.0.zip, r-release: tsg_0.2.0.zip, r-oldrel: tsg_0.1.4.zip
macOS binaries: r-release (arm64): tsg_0.2.0.tgz, r-oldrel (arm64): tsg_0.2.0.tgz, r-release (x86_64): tsg_0.2.0.tgz, r-oldrel (x86_64): tsg_0.2.0.tgz
Old sources: tsg archive

Reverse dependencies:

Reverse imports: mpindex

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.