Description Usage Arguments Value
View source: R/timeseries_style.R
style_header_hpop_summary_sheet
styles the title and sub-title of the worksheet header.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | style_timeseries(
df,
wb,
billion = c("hep", "hpop", "uhc"),
sheet_name,
start_row,
start_col,
ind,
year,
type_col,
df_wide,
ind_df,
this_iso3 = NULL
)
|
df |
data frame to be written |
wb |
a |
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 |
start_col |
integer start col of styling. Passed to |
ind |
Column name of column with indicator names. |
year |
Column name of column with years. |
type_col |
Column name of column with type data. |
df_wide |
wide version of |
ind_df |
data frame containing information on indicators |
this_iso3 |
character iditenfying the country being styled. |
openxslx
Workbook object. Output file is in output_folder
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.