style_hep_pillar() styles the HEP Pillars (Prevent, Prepare, Detect and Respond)
box/section of the HEP summary sheet. Used within write_data_boxes_hep_summary().
Usage
style_hep_pillar(
wb,
sheet_name,
boxes_bounds,
data_type,
pillar = c("prepare", "prevent", "detect_respond"),
fade = FALSE,
fade_row = 0
)Arguments
- wb
a
openxlsxworkbook 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. Must be one of
RMNCH
infectious
NCD
service
- fade
Boolean with TRUE if rows in
fade_rowshould be faded- fade_row
integer identifying which row contains data no to show