Nothing
#' @title TJU School Term
#'
#' @description ..
#'
#' @param x \link[base]{Date} object
#'
#' @returns
#' \link{TJU_SchoolTerm} returns a \link[base]{character} \link[base]{vector}
#'
#'
#' @examples
#' TJU_SchoolTerm(as.Date(c('2021-03-14', '2022-01-01', '2022-05-01')))
#'
#' @importFrom lubridate year month
#' @export
TJU_SchoolTerm <- function(x) {
trm <- cut.default(month(x), breaks = c(1, 4, 7, 9, 12), include.lowest = TRUE, right = FALSE,
labels = c('Winter', 'Spring', 'Summer', 'Fall'))
paste(as.character.factor(trm), year(x))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.