Adds a processed table to an Excel sheet in CSV format with accessible formatting including proper headers, styling, and multi-line text support.
Usage
wb_add_procr_table_csv(
wb,
tab,
cell = "A1",
sheet = openxlsx2::current_sheet(),
footnote_operation = remove_footnotes,
digits = 0,
value_label = "Wert",
unit_label = "Einheit"
)Arguments
- wb
An openxlsx2 workbook object
- tab
A processed table object containing data and metadata
- cell
Starting cell reference (e.g., "A1") where table will be placed
- sheet
Sheet name or index where table will be added
- footnote_operation
Function applied to all text labels to handle
{{footnote}}markers. Default isremove_footnotes, which strips them.- digits
Number of decimal places for numeric formatting. Default is
0.- value_label
A character string indicating the name of the value column. Default is
"Wert".- unit_label
A character string indicating the name of the unit column. Default is
"Einheit".