days_in_fy: Get the number of days in a financial year

View source: R/days_in_fy.R

days_in_fyR Documentation

Get the number of days in a financial year

Description

For working with KH03, years between 2007/08 and 2009/10 are in format "y1y1y1y1y2y2". Need to obtain the number of days in a year

Usage

days_in_fy(x)

Arguments

x

A financial year in format "y1y1y1y1y2y2"

Value

The number of days in the financial year, from 1st April to 31st March, as a numeric value.

Examples

days_in_fy("200708")

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