stl_support_explain_empty
Diagnose why a stop shows no departures by evaluating possible causes: invalid stop code, expired feed, no service that date, stop never served, or too narrow a search window.
Instructions
Diagnose why a stop shows no departures, by walking the decision tree and naming the branch: unknown stop code, expired feed, no service that date, stop present but never served, or simply too narrow a window.
Use this whenever stl_gtfs_departures returns an empty list, instead of guessing at the cause.
Args: stop: stop_code or stop_id. at: ISO-8601 instant, America/Chicago if naive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| stop | Yes | ||
| snapshot | No | ||
| window_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |