Is the month and day of date on or before that of end_date? Useful for creating YTD comparisons using historical data.
Arguments
- date
A date object. (coercible using
lubridate::as_date()
)- end_date
A reference end-date to compare against. (i.e. the YTD end date) (coercible using
lubridate::as_date()
)