Description Usage Arguments Value
View source: R/datetime-utils.R
get season in which an mmwr week falls
1 | mmwr_week_to_season(mmwr_week, mmwr_year, first_season_week = 31)
|
mmwr_week |
mmwr week as an integer (only the week) |
mmwr_year |
year for mmwr week as an integer first_season_week = 31, |
first_season_week |
number of week in year corresponding to the first week in the season. For example, our code takes this value to be 31: a new influenza season starts on the 31st week of each year. |
vector of the same length as mmwr_week with season in which the week falls, in the format "2018/2019"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.