Learn R Programming

tsibble (version 1.1.5)

holiday_aus: Australian national and state-based public holiday

Description

Australian national and state-based public holiday

Usage

holiday_aus(year, state = "national")

Value

A tibble consisting of holiday labels and their associated dates in the year(s).

Arguments

year

A vector of integer(s) indicating year(s).

state

A state in Australia including "ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA", as well as "national".

Details

Not documented public holidays:

  • AFL public holidays for Victoria

  • Queen's Birthday for Western Australia

  • Royal Queensland Show for Queensland, which is for Brisbane only

This function requires "timeDate" to be installed.

Examples

Run this code
holiday_aus(2016, state = "VIC")
holiday_aus(2013:2016, state = "ACT")

Run the code above in your browser using DataLab