MMWRweek: Convert Dates to MMWR Day, Week, and Year
Version 0.1.1

The first day of any MMWR week is Sunday. MMWR week numbering is sequential beginning with 1 and incrementing with each week to a maximum of 52 or 53. MMWR week #1 of an MMWR year is the first week of the year that has at least four days in the calendar year. This package provides functionality to convert Dates to MMWR day, week, and year and the reverse.

Browse man pages Browse package API and functions Browse package files

AuthorJarad Niemi <niemi@iastate.edu>
Date of publication2015-11-25 00:16:14
MaintainerJarad Niemi <niemi@iastate.edu>
LicenseGPL (>= 2) | file LICENSE
Version0.1.1
URL http://wwwn.cdc.gov/nndss/document/MMWR_Week_overview.pdf
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("MMWRweek")

Man pages

get_start_date: Finds the start date for the year associated with date.
MMWRweek: MMWR day, week, and year
MMWRweek2Date: Convert MMWRweek to Date
MMWRweekday: Day of week according to MMWR
start_date: Find start date for a calendar year

Functions

MMWRweek Man page Source code
MMWRweek2Date Man page Source code
MMWRweekday Man page Source code
get_start_date Man page Source code
start_date Man page Source code

Files

inst
inst/tests
inst/tests/test-MMWRweekday.R
inst/tests/MMWRweek-truth.rds
inst/tests/test-MMWRweek.R
inst/tests/test-get_start_date.r
inst/tests/test-MMWRweek2Date.R
tests
tests/run-all.R
NAMESPACE
R
R/MMWRweek2Date.R
R/get_start_date.R
R/MMWRweekday.R
R/MMWRweek.R
README.md
MD5
DESCRIPTION
man
man/MMWRweek.Rd
man/start_date.Rd
man/MMWRweekday.Rd
man/get_start_date.Rd
man/MMWRweek2Date.Rd
LICENSE
MMWRweek documentation built on May 20, 2017, 5:41 a.m.