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

Description Usage Arguments Value Examples

View source: R/mmwr-map.r

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

1

Arguments

x

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

Value

data frame (tibble)

Examples

1
mwk <- mmwr_week(Sys.Date())

cdcfluview documentation built on May 22, 2021, 5:07 p.m.