stl_bundle_holidays
Resolve holiday dates to service types for MetroBus and MetroLink, keeping Sunday and Weekend service separate to avoid wrong transit schedules on holidays.
Instructions
Holiday to service-type mapping, bus and rail kept distinct.
On a holiday MetroBus runs SUNDAY service while MetroLink runs WEEKEND service. Those are different concepts that happen to coincide most of the time, and merging them produces a wrong answer on exactly the days a rider is most likely to check.
Args: year: the calendar year to resolve holiday dates against. Defaults to the current year, which is usually but not always what you want near a year boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |