fy_six | R Documentation |
Takes date variables and returns six character financial years (e.g. 201213) for merging with kh03 and other data. Needs further work to return ordered factor.
fy_six(x)
x |
A date character |
Six character string giving the financial year, e.g. 201213
x <- lubridate::dmy("01-01-2012")
fy_six(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.