Skip to content

Flag Holidays

Description

This activity checks a column containing dates and flags whether each date is a holiday, a weekend, or a weekday.

Input

Data Only

Output

Transformed Data

Configuration Fields

  • Date column The column containing the dates to check for holidays.
  • Weekly off days A list of days considered as weekly off days (e.g., Sunday, Saturday). Options include all days of the week.
  • Output column The column where the holiday flags will be stored. Flags will be set as
    • “Holiday” if the date is a holiday, regardless of whether it’s a weekend.
    • “Weekend” if the date falls on a designated weekly off day but is not a holiday.
    • “Weekday” if the date is neither a holiday nor a weekend.
  • Include original When Enabled includes the original data columns in the output . When Disabled includes only the transformed data in output
  • Use infoveave holidays Whether to use predefined holiday lists from Infoveave.
  • Custom holidays A set of user-defined holidays, including
    • Name of the Holiday
    • Date of the Holiday

Sample Input

event_date
2025-01-01
2025-08-15
2025-09-21
2025-09-23
2025-09-24

Sample Configuration

alt text


Sample Output

event_dateflag
2025-01-01Holiday
2025-07-04Holiday
2025-09-21Weekend
2025-09-23Weekday
2025-09-24Weekday