date_choose_first_good: Choose the first non-missing date from a data frame of dates

View source: R/guess_dates.R

date_choose_first_goodR Documentation

Choose the first non-missing date from a data frame of dates

Description

Choose the first non-missing date from a data frame of dates

Usage

date_choose_first_good(date_a_frame, column_name)

Arguments

date_a_frame

A <data.frame> where each column contains a different parsing of the same date vector

column_name

A <character> with the target column name

Value

The chosen first <Date> value. When there other possible values for a given date, this will be registered in the report object.


cleanepi documentation built on April 4, 2025, 5:12 a.m.