Prepare the data.frame so that it's ready for output via `gt` or other
tg_gt(tg_datalist, blockData, total_df, group)
A list containing the data frames used to create the table
The data for the construction of the blocks in the table
A data frame containing the totals by grouping variable
A character denoting the grouping variable
a data.frame containing output polished for presentation in `gt`