style_uhc_pillar: Style UHC Pillars summary sheet

Description Usage Arguments Value

View source: R/style_uhc_summary_sheet.R

Description

style_uhc_pillar() styles the UHC Pillars (RMNCH, infectious diseases, etc.) box/section of the UHC summary sheet. Used within write_RMNCH_uhc_summary().

Usage

1
2
3
4
5
6
7
8
9
style_uhc_pillar(
  wb,
  sheet_name,
  boxes_bounds,
  data_type,
  pillar = c("RMNCH", "infec_diseases", "ncd", "service_cap_access"),
  no_show = TRUE,
  no_show_row = 2
)

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. Must be one of

  • RMNCH

  • infectious

  • NCD

  • service

no_show

Boolean with TRUE if data in no_show_row should be displayed

no_show_row

integer identifying which row contains data no to show

Value

openxslx Workbook object. Output file is in output_folder.


ElliottMess/rapporteur documentation built on Jan. 28, 2022, 2:51 a.m.