check_dates: Check Dates

View source: R/check_dates.R

check_datesR Documentation

Check Dates

Description

This helper function checks if two dates (from and to) are valid or not. Dates are valid if:

Usage

check_dates(from, to)

Arguments

from

String specifying the start date. Format: YYYY MM DD (any separator)

to

String specifying the end date. Format: YYYY MM DD (any separator)

Details

Are formatted as YYYY/MM/DD From Date <= To Date

Value

Side effect (raise error) if invalid dates


bilnash/CSE documentation built on Oct. 1, 2024, 4:17 p.m.