date_rescue_lubridate_failures: Find the dates that lubridate couldn't

View source: R/guess_dates.R

date_rescue_lubridate_failuresR Documentation

Find the dates that lubridate couldn't

Description

Find the dates that lubridate couldn't

Usage

date_rescue_lubridate_failures(date_a_frame, original_dates, column_name)

Arguments

date_a_frame

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

original_dates

A <vector> of original dates

column_name

A <character> with the target column name

Value

A <list> with the following two elements: the input data frame where the values that do not match the proposed formats have been converted into Date, and a boolean that informs about the presence of ambiguous values or not.


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