Write and style headers for data in UHC summary sheets
Source:R/write_dataframes_uhc_summary.R
write_data_headers_uhc_summary.Rd
Used in write_uhc_summary_sheet()
Usage
write_data_headers_uhc_summary(
wb,
sheet_name,
value_col,
boxes_bounds,
start_year,
end_year
)
Arguments
- wb
a
openxlsx
workbook to be edited.- sheet_name
character name of the sheet to update
- value_col
Column name of column with indicator values.
- boxes_bounds
named list of bounds for data frame boxes to be written in sheet.
- start_year
Base year for contribution calculation, defaults to 2018.
- end_year
End year(s) for contribution calculation, defaults to 2019 to 2025.