style_header_hpop_summary_sheet styles the title and sub-title of the worksheet header.
Usage
style_timeseries(
df,
wb,
billion = c("hep", "hpop", "uhc"),
sheet_name,
start_row,
start_col,
df_wide,
ind_df,
this_iso3 = NULL
)Arguments
- df
data frame to be written
- wb
a
openxlsxworkbook to be edited.- billion
Billion to be used for billion styling when relevant: either "hep", "hpop", or "uhc" when no billion to be applied.
- sheet_name
character name of the sheet to update
- start_row
integer start row of styling. Passed to
openxlsx::addStyle()- start_col
integer start col of styling. Passed to
openxlsx::addStyle()- df_wide
wide version of
dfgenerated bywrite_uhc_timeseries_sheet- ind_df
data frame containing information on indicators
- this_iso3
character iditenfying the country being styled.