Write and style headers for data in HEP summary sheets
Source:R/write_dataframes_hep_summary.R
write_data_headers_hep_summary.Rd
Used in write_hep_summary_sheet()
Usage
write_data_headers_hep_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.