handle_date: Take a date which may be a string or a date and returns a...

Description Usage

View source: R/filter.R

Description

handle_date takes a date which may be a Date or an ISO 8601 date string, checks it is valid, and returns the date as a Date. NA values are returned unmodified. This function raises an error if it is unable to handle the date.

Usage

1

olihawkins/pdpr documentation built on Sept. 15, 2020, 4:47 p.m.