Description Usage Arguments Details Value Author(s) Examples
Converts date objects to school years.
1 |
date |
a date object |
school_year
takes in a date object and returns a character vector denoting the school year for which that date falls within. It considers Aug 1st the first day of that school year.
A character vector
Sven Halvorson (svenedmail@gmail.com)
1 2 3 4 | library("lubridate")
d = c("10232015","02042016","08211999")
d = mdy(d)
school_year(d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.