Skip to contents

Adjusts the date column for rows where the user signified with tokens that the dates are unknown.

Usage

handle_unknown_date_tokens(data, date_col, parsed_dates, token_mask)

Arguments

data

A data frame.

date_col

The name of the date column.

parsed_dates

A vector of parsed dates.

token_mask

A logical mask identifying rows with recognized tokens indicating unknown dates.

Value

The adjusted data frame.