Service Ridership Dashboard Summary¶
This page documents summary in the Service Ridership Dashboard module.
ingestor.chalicelib.service_ridership_dashboard.summary
¶
get_summary_data(line_data, start_date, end_date)
¶
Compute aggregate summary statistics across all lines for the dashboard.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
line_data
|
list[LineData]
|
A list of LineData dictionaries for all lines. |
required |
start_date
|
date
|
The start date of the data range. |
required |
end_date
|
date
|
The end date of the data range. |
required |
Returns:
| Type | Description |
|---|---|
SummaryData
|
A SummaryData dict with totals for ridership, service, and route status counts. |