Description Usage Arguments Value Examples
Calculate School or Academic Year from date
1  | calc_academic_year(x, format = "long", date_parser = lubridate::ymd)
 | 
x | 
 the date to be parsed  | 
format | 
 one of 'long', 'short', 'first_year', or 'second_year', which are rendered as 'SY 2015-2016', '15-16', '2015', or '2016', respectively, for the 2015-2016 school year.  | 
date_parser | 
 a parser (such as as   | 
a character or integer vector
1  | calc_academic_year('2014-09-15')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.