academic_year {vvconverter}R Documentation

Academic year

Description

In this function, a date is translated to the academic year in which it falls. This is based on a start of the academic year on the 1st of September.

Usage

academic_year(x, start_1_oct = FALSE)

Arguments

x

A date, or vector with multiple dates. POSIXct is also accepted.

start_1_oct

Does the academic year start on the 1st of October? default FALSE: based on September 1st

Value

The academic year in which the specified date falls

See Also

Other vector calculations: clean_multiple_underscores(), interval_round(), month_name(), sum_0_1(), transform_01_to_ft()

Examples

academic_year(lubridate::today())


[Package vvconverter version 0.5.10 Index]