Skip to contents

It is common to refer to an academic term by its associated season: fall, spring, or summer. This function is built to take out the step of converting the term name to a date and then to a yeartrimester object.

Usage

seasonal_trimester(x = character(), start_term = c("Summer", "Fall", "Spring"))

Arguments

x

A character vector of terms.

start_term

The name of the term which starts the academic year. Must be "Fall", "Spring", or "Summer" (the default).

Value

A yeartrimester object.

Examples

seasonal_trimester("Fall 2025")
#> <yeartrimester[1]>
#> [1] "2026 T2"
#> # Academic year starts in May.

seasonal_trimester("Fall 2025", start_term = "Fall")
#> <yeartrimester[1]>
#> [1] "2026 T1"
#> # Academic year starts in September.