fy_long_short: Format fy_long into short financial year.

View source: R/fy_long_short.R

fy_long_shortR Documentation

Format fy_long into short financial year.

Description

Formats date from long financial as 'yyyyyy+1'. Used for linking HCAI DCS data to formatted kh03 data.

Usage

fy_long_short(x)

Arguments

x

A string variable giving long financial year created using fy_long

Value

A text string giving the financial year.

See Also

fy_long

Examples

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

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