fiscal_year_quarter: Fiscal year and quarter

Description Usage Arguments Details Value

View source: R/dates.R

Description

Fiscal year and quarter

Usage

1

Arguments

date

A vector of dates

sep

Character separator passed on to 'paste'

Details

Since this is not a standard date format the return result is a character vector. By default the year and quarter are separated by a "-", e.x., "2020-Q2".

Value

A character vector the same length as 'date' giving the quarter and year within which each date falls.


lukerobert/luketools documentation built on Jan. 24, 2020, 2:15 a.m.