Holidays

The Holidays processor can be used to enrich datasets that contain dates. The processor will flag whether the date corresponds to a bank holiday across over 50 countries, and optionally output the name of the holiday.

This capability is provided by the “Holidays” plugin, which you need to install. Please see Installing plugins.

How to Use

Let’s assume that you have a Dataiku project with a dataset containing a date column.

  1. Navigate to the Flow.

  2. Click on this dataset.

  3. Select the Prepare recipe from the Actions panel on the right side.

In order for the processor to work correctly, the date column you intend to use as the source has to be of Date type. If this is not the case already, you should use the Parse to standard date format processor first.

Once inside the Prepare recipe, click on +ADD A NEW STEP and search for the Holidays processor under the Misc. section, a new step will be added to the steps panel.

You should supply the processor with:

  • the name of the date column to use as input.

  • the name of the country.

  • (optionally) if you want to create a column with the holiday name(s).

  • (optionally) if you want to create a column to flag weekends.