pt_createstandard | R Documentation |
Create standard pivot table for visualizing budget data
pt_createstandard( df, rowvec = NULL, colvec = NULL, calcrow = F, calccoltop = F, deptadjust = F )
df |
Dataframe visualized in pivot table |
rowvec |
Rows to visualize in pivot table; default null, so no groups appear in rows added |
colvec |
Columns to visualize in pivot table; default null, so no groups appear in columns |
calcrow |
whether to put year columns in rows of pivot table; default F, so years appear at top of pivot table |
calccoltop |
whether to put calculation groups in columns; default F, so don't appear in columns |
deptadjust |
Whether to generate pivot table with differences for adapted budget, for sharing with departments. Default false |
Pivot table of budget data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.