date_to_epiweek: Converts a date (integer or character) to an epiweek

View source: R/model.R

date_to_epiweekR Documentation

Converts a date (integer or character) to an epiweek

Description

Converts a date (integer or character) to an epiweek

Usage

date_to_epiweek(value)

Arguments

value

date (integer or character, with format YYYYMMDD) to be converted to an epiweek

Value

an integer representing an epiweek, in the format YYYYWW


cmu-delphi/delphi-epidata-r documentation built on Nov. 17, 2024, 3:44 p.m.