data2SE: Define Epidemiological Week.

View source: R/utility_tools.R

data2SER Documentation

Define Epidemiological Week.

Description

Find to which epidemiological week belongs a given day. Uses episem function (formula generated data).

Usage

data2SE(days, format = "%d/%m/%Y")

Arguments

days

string vector with dates to be converted

format

date format

Value

numeric vector with the epidemiological weeks.

Examples

data2SE("01-02-2020",format="%d-%m-%Y")
data2SE("12-02-2008",format="%d-%m-%Y")
data2SE(c("03-04-2013","07-01-2019"),format="%d-%m-%Y")

AlertaDengue/AlertTools documentation built on Nov. 27, 2024, 11:55 p.m.