Skip to contents

Apply fiscal year to each row, using the T or T_1 or R in `indicator_code` to determine whether it's the current or a prior fiscal year. The fiscal year can be identified dynamically through `grab_info()`.

Usage

apply_fy(df, year)

Arguments

df

DP dataframe to apply fiscal year to

year

fiscal year, derived from `grab_info(filepath, "year")`

Value

data frame with fiscal year