is_date_format {vivainsights}R Documentation

Identify whether string is a date format

Description

This function uses regular expression to determine whether a string is of the format "mdy", separated by "-", "/", or ".", returning a logical vector.

Usage

is_date_format(string)

Arguments

string

Character string to test whether is a date format.

Value

logical value indicating whether the string is a date format.

See Also

Other Support: any_idate(), camel_clean(), check_inputs(), cut_hour(), extract_date_range(), extract_hr(), heat_colours(), maxmin(), pairwise_count(), read_preamble(), rgb2hex(), totals_bind(), totals_col(), tstamp(), us_to_space(), wrap()

Examples

is_date_format("1/5/2020")


[Package vivainsights version 0.5.2 Index]