Learn R Programming

tsibble (version 0.6.2)

holiday_aus: Australian national and state-based public holiday

Description

Australian national and state-based public holiday

Usage

holiday_aus(year, state = "national")

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".

Value

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

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.

References

Public holidays

Examples

Run this code
# NOT RUN {
holiday_aus(2016, state = "VIC")
holiday_aus(2013:2016, state = "ACT")
# }

Run the code above in your browser using DataLab