write_summary_box_hep_summary: Write and style summary box in HEP summary sheet

Description Usage Arguments Value

View source: R/write_dataframes_hep_summary.R

Description

write_summary_box_hep_summary writes and styles the summary box in HEP summary worksheet. Used in write_hep_summary_sheet().

Usage

1
2
3
4
5
6
7
8
write_summary_box_hep_summary(
  wb,
  sheet_name,
  iso,
  start_year,
  end_year,
  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_year

Base year for contribution calculation, defaults to 2018.

end_year

End year(s) for contribution calculation, defaults to 2019 to 2025.

boxes_bounds

named list of bounds for data frame boxes to be written in sheet.

Value

openxslx Workbook object. Output file is in output_folder.


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