sy_number: sy_number

Description Usage Arguments See Also Examples

View source: R/school_year.R

Description

Takes a value in the form SY16-17 or 2016-17 and converts to a number representing the second/spring year.

Usage

1
sy_number(school_year, before_2000 = FALSE)

Arguments

school_year

school year in the form SY16-17 or 2016-17

before_2000

if the year is prior to 2000 and should be written as 1900 - 1901. Defaults to FALSE (i.e. 2001-02)

See Also

change_school_year sy_form sy_number

Examples

1
sy_number("SY16-17")

eringrand/RUncommon documentation built on Sept. 22, 2020, 10:49 p.m.