cal_q_long: Format date into calendar year quarter.

View source: R/cq_long.R

cal_q_longR Documentation

Format date into calendar year quarter.

Description

Formats date from date or POSIX class to a text string giving the calendar quarter

Usage

cal_q_long(date_var)

Arguments

date_var

A date variable in class Date or POSIX

Value

A text string giving the quarter and calendar year.

See Also

fy_long

Examples

x <- lubridate::dmy("01/01/2001")
cal_q_long(x)

PublicHealthEngland/hcaidcs documentation built on Jan. 19, 2024, 8:38 a.m.