pt_createstandard: Standard Pivot Table

View source: R/pivot_tables.R

pt_createstandardR Documentation

Standard Pivot Table

Description

Create standard pivot table for visualizing budget data

Usage

pt_createstandard(
  df,
  rowvec = NULL,
  colvec = NULL,
  calcrow = F,
  calccoltop = F,
  deptadjust = F
)

Arguments

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

Value

Pivot table of budget data


dpowerstp/tpbudget documentation built on June 3, 2022, 1:41 a.m.