add_cumulative: Add cumulative value for current FY

Description Usage Arguments Examples

View source: R/add_cumulative.R

Description

This function is adapted from the achafetz/PartnerProgress repo. Given the change to the MSD and inclusion of a cumulative value, this function is no longer necessary and is deprecated.

Usage

1
add_cumulative(df, priorpd = NULL)

Arguments

df

data frame to add cumulative column onto

priorpd

add APR value is missing from a prior year

Examples

1
2
3
4
## Not run: 
df_mer <- add_cumulative(df_mer)
df_genieextract <- add_cumulative(df_genieextract, "2017")
## End(Not run)

ICPI/ICPIutilities documentation built on July 22, 2021, 4:21 a.m.