err_tdy_date_dob: Check and tidy dates and birth dates

Description Usage Arguments Examples

View source: R/err_tdy.R

Description

Check and tidy dates and birth dates

Usage

1

Arguments

date

Dates when measurements made or events occurred. A scalar or vector of class Date, or something that can be coerced to one.

dob

Dates of birth. A scalar or vector of class Date, or something that can be coerced to one. Must have same length as date.

Examples

1
2
3
date <- c("2000-05-01", "2000-06-01", "2000-07-01")
dob <- c("1999-03-21", "1980-12-22", "1990-04-23")
err_tdy_date_dob(date = date, dob = dob)

johnrbryant/demcheck documentation built on Dec. 31, 2021, 11:57 a.m.