pt_rendercreate | R Documentation |
Creates and renders budget pivot table in one step
pt_rendercreate( df, rowvec = NULL, colvec = NULL, calcrow = F, .ptsavename = NULL, deptadjust = F )
df |
Dataframe to represent in budget pivot table |
rowvec |
Columns of dataframe to add as row-groups to budget pivot table; default NULL, for none |
colvec |
Columns of dataframe to add as column-groups to budget pivot table; default NULL, for none |
calcrow |
Whether to display year columns as rows of budget pivot table; default F |
.ptsavename |
Filename of outputted Excel document that contains pivot table; default NULL, in which case pivot table not saved as Excel doc |
deptadjust |
Whether you're generating pivot tables to share with departments that include comparisons with the adopted budget book; default F, so no adjustment made |
Rendered pivot table of budget data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.