Write and style HPOP summary sheet header
Source:R/write_hpop_summary_sheet.R
write_sheet_header_hpop_summary.Rd
Write and style HPOP summary sheet header
Usage
write_sheet_header_hpop_summary(
wb,
sheet_name,
iso,
start_col,
start_row,
end_year,
value_col,
boxes_bounds
)
Arguments
- wb
a
openxlsx
workbook to be edited.- sheet_name
character name of the sheet to update
- iso
ISO3 code of country to summarize.
- start_col
integer start col of styling. Passed to
openxlsx::addStyle()
- start_row
integer start row of styling. Passed to
openxlsx::addStyle()
- end_year
End year(s) for contribution calculation, defaults to 2019 to 2025.
- value_col
Column name of column with indicator values.
- boxes_bounds
named list of bounds for data frame boxes to be written in sheet.