Description Usage Arguments Value
Many organizations use "fiscal years" as their primary time period for calculating and reporting metrics. This function lets you specify the month and day of the fiscal year and calculate the fiscal year of each date in a vector.
1 | fiscal_year(date, start_month = 7, start_day = 1)
|
date |
A vector of dates |
start_month |
Integer giving the first month of the fiscal year |
start_day |
Integer giving the first day of the fiscal year |
An integer vector the same length as 'date' giving the fiscal year for each respective date.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.