Convert and update the date values
Usage
date_check_outsiders(data, timeframe, new_dates, cols)
Arguments
- data
A data frame or linelist
- timeframe
A vector of 2 values of type date. If provided, date values
that do not fall within this timeframe will be set to NA
.
- new_dates
A vector of the converted date values
- cols
The names of the date column been converted
Value
A list of 2 data frames: the updated input data (if some columns
were converted to Date) and a data frame of date values that are not
within the specified timeframe.