Get Holidays
Synopsis
This operator allows you to get all national holidays of a given country for a given year.
Description
In many data science problems dates are essential. It is often very useful to know if a given date is a holiday in a given country. This additional information can be used to enhance predictive models. An example for this is given in the tutorial process.
This operator is able to return nation-wide and state-wide holidays. With default settings all holidays including state holidays are provided. To change to national only holidays you can use the 'only national holidays' parameter.
This operator is based on the 'Jollyday' library. More details can be found on https://github.com/svendiedrichsen/jollyday
Output
out
All holidays in the given years and countries as an ExampleSet.
Parameters
Start year
First year (inclusive) you want to retrieve the holidays for.
End year
Last year (inclusive) you want to retrieve the holidays for.
Country name
Country you want to select the holidays for. Please use 'Loop Parameters' if you want to get holidays for more than one country.
Only national holidays
If set to true, only national holidays will be returned. If set to false, the operator will also return holidays which are only a holiday in one or more state / province.
Time zone
Time zone of the date.