Date to season week.
date_to_seasonweek_n(x)
x
date
Season week in numeric
date_to_seasonweek_n(c("2021-01-01", "2021-12-01"))