Skip to contents

Applies formatting to a gt table based on information extracted from the spreadsheet file.

Usage

apply_styling(gt_object, formatRdy)

Arguments

formatRdy

A data frame with formatting definitions.

gt_table

A gt object.

Value

A great table!

Examples

if (FALSE) { # \dontrun{
sprdsht_data <- read_excel("yourpath/yourspreadsheet.xlsx")
gt_table <- gt::gt(sprdsht_data)
format_long <- get_formatting("yourpath/yourspreadsheet.xlsx")
format_ready <- translate_defs(format_long)
apply_styling(gt_table, format_ready)
} # }