Maps an ISO yearweek to its position within the surveillance season, where season week 1 corresponds to ISO week 35.
Details
This function takes the ISO week from the yearweek string and converts it
with isoweek_to_seasonweek_n(). The same season-week numbering applies,
including the 18.5 half-step for ISO week 53.
See also
vignette("season", package = "cstime") for worked season week
conversions. No vignette runs this function.
Other ISO yearweek-to-number converters:
isoyearweek_to_isoquarter_n(),
isoyearweek_to_isoweek_n(),
isoyearweek_to_isoyear_n()
Examples
isoyearweek_to_seasonweek_n(c("2021-01", "2021-35"))
#> [1] 19 1
