is_holiday: is_holiday

Description Usage Arguments Value Examples

View source: R/is_holiday.R

Description

Identifies if a given date is a public holiday in Australia

Usage

1
is_holiday(date, jurisdictions = c())

Arguments

date

Date, POSIXct object or a string that can be parsed with 'parsedate::parse_date'

jurisdictions

Vector of state jurisdictions you wish to filter on, defaults to all of Australia

Value

Returns a TRUE or FALSE value

Examples

1
2
3
4
5
6
## Not run: 
if (interactive()) {
  # EXAMPLE1
}

## End(Not run)

MattCowgill/strayr documentation built on May 31, 2021, 12:15 a.m.