fy: Calculate the fiscal year based on any starting month

Description Usage Arguments Value

View source: R/fy.R

Description

calculates the fiscal year based on an existing date

Usage

1
fy(date = Sys.Date(), fy_start_month = 7)

Arguments

date

a vector of date or date-times

fy_start_month

a number representing the starting month for the fiscal year (defaults to 7, ie. July)

Value

a numeric vector of fiscal years with the length of the date argument


crazybilly/fundRaising documentation built on July 30, 2021, 12:51 a.m.