Great Tables v0.23.0 adds new table management and formatting capabilities. This release introduces rm_*() methods for selectively removing table components, a tab_stub_indent() method for controlling row label hierarchy, and the fmt_number_si() formatter for rendering values with SI (metric) prefixes like kilo, mega, and milli. A targeted bug fix for footnote resolution on spanners is also included.
New Features
-
rm_*()methods — New methods (rm_header(),rm_stubhead(),rm_source_notes(),rm_footnotes(),rm_spanners()) allow selective removal of table components, making it easier to reshape tables received from other functions or saved objects. (#847) -
tab_stub_indent()— Control indentation of row labels in the stub to establish visual hierarchy. Supports explicit integer levels (0–5) or"increase"/"decrease"keyword directives for fine-grained control. (#849) -
fmt_number_si()— Format numeric values with SI (International System of Units) prefixes, automatically selecting the appropriate prefix (e.g., k, M, G, m, µ, n) to keep values readable. Supports unit designation, engineering/decimal prefix modes, significant figures, and locale-aware formatting. Also available asvals.fmt_number_si(). (#851)
Bug Fixes
- Footnotes targeting a spanner with a different
idcompared to itslabelare now correctly resolved. (#844)