pt_year_calc: Add year columns to pivot tables

View source: R/pivot_tables.R

pt_year_calcR Documentation

Add year columns to pivot tables

Description

Adds year columns to a pivot table, summing year columns and renaming the year column for representation in the table

Usage

pt_year_calc(pt, colname)

Arguments

pt

Pivot table to add column to, created by pivottabler::PivotTable$new()

colname

String name of column to add year column to

Value

Pivot table with year column added to it


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