Skip to contents

Validates the date column in the provided data frame and ensures the dates are in a recognized format.

Usage

validate_date_format(data, date_col, allowed_date_formats)

Arguments

data

A data frame.

date_col

The name of the date column.

allowed_date_formats

A character vector of allowed date formats.

Value

An ErrorData object or NULL if no errors.