pt_word_table | R Documentation |
Creates standard budget flextable for output to Word documents
pt_word_table( df, rowvec = NULL, colvec = NULL, calcrow = F, .ptsavename = NULL, .caption = NULL, deptadjust = F )
df |
Budget dataframe to represent in flextable |
rowvec |
Columns of budget dataframe to add as groups in flextable; default NULL, for none |
colvec |
Columns of budget dataframe to add as columns in flextable; default NULL, for none |
calcrow |
Whether to represent year columns in rows of flextable; default F, for not |
.ptsavename |
Name of file to save pivot table as Excel document; default NULL, so not saved |
.caption |
Caption of flextable; default NULL, so no caption added |
deptadjust |
Whether including adotped budget information and comparisons for sharing of table with departments; default F, so adopted budget information excluded |
Flextable of budget data styled in standard format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.