Skip to contents

This function converts academic year variables back into 201617 format.

Usage

format_ay_reverse(year)

Arguments

year

Academic year, a single value or a vector

Value

Character vector of unformatted 6 digit years

Details

It accepts character arguments.

See also

Examples

format_ay_reverse("2016/17")
#> [1] "201617"
format_ay_reverse(c("2016/17", "2017/18"))
#> [1] "201617" "201718"