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

houseofcommonslibrary/pdpr documentation built on Sept. 14, 2020, 12:04 a.m.