Create a function list that allows for supplementary tables (as huxtables) to be added to a XLSX output file.
Source:R/zz-api-file-output-utils.R
data_supplement.Rd
This function encapsulates a excel output file as a destination for data tables. With the output of this function you can add extra data to the supplement as a new sheet, or you can write the spreadsheet to disk. When each data table is written either the table can be written silently or returned so that it is included in a knitr document. This is controlled by `option("hide.supplementary.tables"=TRUE)`.
Usage
data_supplement(
...,
filename = "supplementary-material.xlsx",
out = ggrrr::outputter(...),
nameGlue = "Supplementary Table {index}"
)