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

Description Usage Arguments Value Examples

View source: R/mmwr-utils.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())

hrbrmstr/cdccovidview documentation built on April 23, 2020, 11:40 a.m.