pt_year_calc_loop: Add all change or difference columns to pivot table

View source: R/pivot_tables.R

pt_year_calc_loopR Documentation

Add all change or difference columns to pivot table

Description

Function to add all change or difference columns in budget dataframe to pivot table created by pivotTabler::PivotTable$new()

Usage

pt_year_calc_loop(pt, cols, proj, current, adpt = NULL)

Arguments

pt

pivot table created by pivottabler::PivotTable$new()

cols

String vector of change or difference columns in budget dataframe being visualized in pivot table

proj

Name of projected year column

current

Name of current FY column

adpt

Name of adapted budget column; default NULL. Used to provide additional information to Departments for Departmental pivot tables. Default NULL, so excluded

Value

Budget pivot table with change and difference columns added in


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