get_station_passengers
Retrieve SBB station passenger counts from data.sbb.ch, including average daily, weekday, and weekend boardings and alightings, with newest years returned first.
Instructions
Passenger counts for an SBB station from the data.sbb.ch frequency dataset. Returns average daily, weekday, and weekend boardings and alightings (Ein- und Aussteigende). Newest year first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Optional year (e.g. 2024). Omit to return the newest years. | |
| limit | No | Maximum rows (default 10, max 30). | |
| station | Yes | Station name as published by SBB (e.g. Bern, Zürich HB, Genève). | |
| contains | No | When true, match station names that contain the text. Default false matches the whole name. |