Skip to contents

@description [Stable]

Usage

add_year_from_offering(d)

Arguments

d

a data frame

Value

a data frame

Details

Takes a data frame with offering variable and returns the same data frame with a year variable. Requires the offering to be in the format ABC123_201930_W_D which would return 2019

See also

Other mungers: add_year_from_session()