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


epidatr documentation built on June 22, 2024, 9:15 a.m.