cdcfluview (version 0.9.3)

mmwr_week: Convert a Date to an MMWR day+week+year

Description

This is a reformat and re-export of a function in the MMWRweek package. It provides a snake case version of its counterpart, produces a tibble

Usage

mmwr_week(x)

Arguments

x

a vector of Date objects or a character vector in YYYY-mm-dd format.

Value

data frame (tibble)

Examples

Run this code
# NOT RUN {
mwk <- mmwr_week(Sys.Date())
# }

Run the code above in your browser using DataLab