fy_six_to_long: Format date into long text financial year.

View source: R/fy_long.R

fy_six_to_longR Documentation

Format date into long text financial year.

Description

Converts six-character financial year to long financial year as 'April yyyy to March yyyy'. Assumes that all dates will be >= 2000

Usage

fy_six_to_long(x)

Arguments

x

Either a numeric or character variable giving the financial year as YYYYYY or YYYY/YY

Value

A text string giving the financial year.

See Also

fy_short

fy_long_short

ordered_fin_qtr

fy_long

Examples

x <- 201718
fy_six_to_long(x)
x <- "2017/18"
fy_six_to_long(x)

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