date_to_fq: date_to_fq

View source: R/date_to_fq.R

date_to_fqR Documentation

date_to_fq

Description

Convert a date to a five-character financial quarter

Usage

date_to_fq(x)

Arguments

x

A date

Value

A numeric value giving YYYYQ

Examples

x <- as.Date("01/01/2017", format = "%d/%m/%Y")
date_to_fq(x)

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