| kh03_year | R Documentation | 
NHS England provide KH03 data periods as separate columns for financial year and quarter. This converts to a format usable for the mandatory surveillance.
kh03_year(year, quarter, format)
year | 
 The year column from KH03 data. String of 7 characters in format "yyyy-yy"  | 
quarter | 
 A string giving the final month of the quarter, one of March, June, September, December  | 
format | 
 A string giving the format desired for the output, one of fyear or cyear  | 
A numeric variable giving year and quarter
kh03_year("2010-11", "March", "fyear")
kh03_year("2010-11", "March", "cyear")
kh03_year("2010-11", "June", "cyear")
kh03_year("2010-11", "June", "fyear")
kh03_year("2000-01", "March", "cyear")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.