fq_to_fyear: Convert financial quarter to six-character financial year

View source: R/fq_to_fyear.R

fq_to_fyearR Documentation

Convert financial quarter to six-character financial year

Description

Takes financial quarter in format yyyyq and returns yyyy/yy format financial year.

Usage

fq_to_fyear(x)

Arguments

x

Either string or numeric value financial year/quarter, e.g. 20151 = April-June 2015

Value

Numeric value for financial year, e.g. 201516

Examples

fq_to_fyear(20151)

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