Skip to contents

style_asc_uhc_data_summary() styles the UHC ASC box/section of the UHC summary sheet. Used within write_asc_uhc_data_summary().

Usage

style_asc_uhc_data_summary(
  wb,
  sheet_name,
  boxes_bounds,
  data_type,
  pillar = "fin_hardship",
  no_show = TRUE,
  no_show_cols,
  no_show_rows
)

Arguments

wb

a openxlsx workbook to be edited.

sheet_name

character name of the sheet to update

boxes_bounds

named list of bounds for data frame boxes to be written in sheet.

data_type

named list with latest_reported and baseline_projection data types. Passed to style_data()

pillar

character Pillar identifying the pillar to style.

no_show

Boolean with TRUE if data in no_show_row should be displayed

no_show_cols

Boolean with TRUE if data in no_show_row should be displayed

no_show_rows

integer identifying which row contains data no to show

Value

openxslx Workbook object. Output file is in output_folder.