replace_empty_cells: Replace empty cells with "-"

View source: R/table2_utils.R

replace_empty_cellsR Documentation

Replace empty cells with "-"

Description

Converts empty strings and NA values to "-" for consistent display in exported tables. Preserves Variable column values.

Usage

replace_empty_cells(df)

Arguments

df

Data.frame or data.table to process.

Value

Data.table with empty cells replaced by "-".


summata documentation built on May 7, 2026, 5:07 p.m.