fy: Fiscal Year

Description Usage Arguments Author(s) Examples

View source: R/fyr_fy.R

Description

Returns an integer year from a date based on the starting month of the fiscal year

Usage

1
fy(fy_date, fy_start = 7)

Arguments

fy_date

Date in date format.

fy_start

Must be an integer in range of 1 - 12 to represent the starting month of the fiscal year. The default is 7.

Author(s)

Michael Valcic

Examples

1
fy(as.Date("2019-05-01"),6)

michaelvalcic/fyr documentation built on Jan. 2, 2020, 12:54 a.m.