Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
36
214
"agency_id","agency_name","agency_url","agency_timezone","agency_lang","agency_phone"
"1","company_i","http://www.cittati.com.br","America/Sao_Paulo","pt",""
"2","company_ii","http://www.cittati.com.br","America/Sao_Paulo","pt",""
"service_id","monday","tuesday","wednesday","thursday","friday","saturday","sunday","start_date","end_date"
26082_D_1046761,0,0,0,0,0,0,1,20240521,20240621
26082_S_1046281,0,0,0,0,0,1,0,20240521,20240621
26082_U_1025280,1,1,1,1,1,0,0,20240521,20240621
12432_D_615971,0,0,0,0,0,0,1,20240521,20240621
12432_S_848980,0,0,0,0,0,1,0,20240521,20240621
12432_U_873013,1,1,1,1,1,0,0,20240521,20240621
12444_D_534285,0,0,0,0,0,0,1,20240521,20240621
12444_S_517260,0,0,0,0,0,1,0,20240521,20240621
12444_U_929192,1,1,1,1,1,0,0,20240521,20240621
23432_D_1024996,0,0,0,0,0,0,1,20240521,20240621
23432_S_1024597,0,0,0,0,0,1,0,20240521,20240621
23432_U_1029561,1,1,1,1,1,0,0,20240521,20240621
77825_D_1040230,0,0,0,0,0,0,1,20240521,20240621
77825_S_1040203,0,0,0,0,0,1,0,20240521,20240621
54164_U_1037312,1,1,1,1,1,0,0,20240521,20240621
19911_D_1046731,0,0,0,0,0,0,1,20240521,20240621
19911_S_1046285,0,0,0,0,0,1,0,20240521,20240621
19911_U_1047138,1,1,1,1,1,0,0,20240521,20240621
25841_D_1046770,0,0,0,0,0,0,1,20240521,20240621
25841_S_1046289,0,0,0,0,0,1,0,20240521,20240621
25841_U_1047145,1,1,1,1,1,0,0,20240521,20240621
37539_D_1046870,0,0,0,0,0,0,1,20240521,20240621
37539_S_1046291,0,0,0,0,0,1,0,20240521,20240621
37539_U_1047147,1,1,1,1,1,0,0,20240521,20240621
12486_S_996092,0,0,0,0,0,1,0,20240521,20240621
12486_U_1047160,1,1,1,1,1,0,0,20240521,20240621
25537_D_1046734,0,0,0,0,0,0,1,20240521,20240621
25538_D_1046734,0,0,0,0,0,0,1,20240521,20240621
25538_S_1046288,0,0,0,0,0,1,0,20240521,20240621
25537_S_1046288,0,0,0,0,0,1,0,20240521,20240621
25537_U_1047144,1,1,1,1,1,0,0,20240521,20240621
63978_S_942136,0,0,0,0,0,1,0,20240521,20240621
63978_U_1025304,1,1,1,1,1,0,0,20240521,20240621
12495_S_942133,0,0,0,0,0,1,0,20240521,20240621
12495_U_1025291,1,1,1,1,1,0,0,20240521,20240621
28689_D_1046726,0,0,0,0,0,0,1,20240521,20240621
28689_S_1046280,0,0,0,0,0,1,0,20240521,20240621
28689_U_1025279,1,1,1,1,1,0,0,20240521,20240621
25845_D_1046819,0,0,0,0,0,0,1,20240521,20240621
25845_S_1046302,0,0,0,0,0,1,0,20240521,20240621
25845_U_1047156,1,1,1,1,1,0,0,20240521,20240621
12503_D_1046740,0,0,0,0,0,0,1,20240521,20240621
12503_S_1046294,0,0,0,0,0,1,0,20240521,20240621
12503_U_1047150,1,1,1,1,1,0,0,20240521,20240621
53432_D_879016,0,0,0,0,0,0,1,20240521,20240621
53432_S_942139,0,0,0,0,0,1,0,20240521,20240621
53432_U_1032648,1,1,1,1,1,0,0,20240521,20240621
12515_D_879042,0,0,0,0,0,0,1,20240521,20240621
12515_S_942140,0,0,0,0,0,1,0,20240521,20240621
12515_U_1032649,1,1,1,1,1,0,0,20240521,20240621
62779_D_879029,0,0,0,0,0,0,1,20240521,20240621
62779_S_942099,0,0,0,0,0,1,0,20240521,20240621
62779_U_1032650,1,1,1,1,1,0,0,20240521,20240621
12521_D_839683,0,0,0,0,0,0,1,20240521,20240621
12521_S_839499,0,0,0,0,0,1,0,20240521,20240621
12521_U_989951,1,1,1,1,1,0,0,20240521,20240621
12522_D_1046762,0,0,0,0,0,0,1,20240521,20240621
12522_S_1046282,0,0,0,0,0,1,0,20240521,20240621
12522_U_1025282,1,1,1,1,1,0,0,20240521,20240621
12550_D_1046876,0,0,0,0,0,0,1,20240521,20240621
12550_S_1046298,0,0,0,0,0,1,0,20240521,20240621
12550_U_1026533,1,1,1,1,1,0,0,20240521,20240621
24922_D_1046970,0,0,0,0,0,0,1,20240521,20240621
24922_S_1046300,0,0,0,0,0,1,0,20240521,20240621
24922_U_1047154,1,1,1,1,1,0,0,20240521,20240621
62370_D_958620,0,0,0,0,0,0,1,20240521,20240621
62370_S_1036056,0,0,0,0,0,1,0,20240521,20240621
62370_U_1047161,1,1,1,1,1,0,0,20240521,20240621
62368_D_879034,0,0,0,0,0,0,1,20240521,20240621
62368_S_878902,0,0,0,0,0,1,0,20240521,20240621
62368_U_1047293,1,1,1,1,1,0,0,20240521,20240621
56711_D_1046801,0,0,0,0,0,0,1,20240521,20240621
54740_D_1046801,0,0,0,0,0,0,1,20240521,20240621
56711_S_1046292,0,0,0,0,0,1,0,20240521,20240621
54740_S_1046292,0,0,0,0,0,1,0,20240521,20240621
54740_U_1047148,1,1,1,1,1,0,0,20240521,20240621
62366_D_1036314,0,0,0,0,0,0,1,20240521,20240621
62366_S_1036036,0,0,0,0,0,1,0,20240521,20240621
62366_U_1007913,1,1,1,1,1,0,0,20240521,20240621
12607_D_1046736,0,0,0,0,0,0,1,20240521,20240621
12607_S_1046290,0,0,0,0,0,1,0,20240521,20240621
12607_U_1047146,1,1,1,1,1,0,0,20240521,20240621
45485_D_839684,0,0,0,0,0,0,1,20240521,20240621
45485_S_845711,0,0,0,0,0,1,0,20240521,20240621
45485_U_976872,1,1,1,1,1,0,0,20240521,20240621
69191_D_1047088,0,0,0,0,0,0,1,20240521,20240621
69191_S_1046303,0,0,0,0,0,1,0,20240521,20240621
69891_S_1046303,0,0,0,0,0,1,0,20240521,20240621
69191_U_1047157,1,1,1,1,1,0,0,20240521,20240621
25494_U_1047162,1,1,1,1,1,0,0,20240521,20240621
74335_U_1021233,1,1,1,1,1,0,0,20240521,20240621
12671_S_1009953,0,0,0,0,0,1,0,20240521,20240621
12671_U_1051387,1,1,1,1,1,0,0,20240521,20240621
62369_D_1046908,0,0,0,0,0,0,1,20240521,20240621
62369_S_1046299,0,0,0,0,0,1,0,20240521,20240621
62369_U_1047153,1,1,1,1,1,0,0,20240521,20240621
End of preview. Expand in Data Studio
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

Public Transport Time Series

Overview

This dataset provides time series data on estimated boardings, landings, and bus occupancy (loader) across selected stops in the public transport network. The data is aggregated in 5-minute intervals and was generated through the integration and analysis of multiple transport data sources.

  • Boarding data was extracted using data mining techniques from Automatic Vehicle Location (AVL), Automatic Fare Collection (AFC), and General Transit Feed Specification (GTFS) systems.
  • Alighting data was estimated using the trip chaining method.
  • Bus occupancy was calculated based on the ratio of boardings and alightings per vehicle.

The full SUNT dataset is available on GITHUB.

Available datasets:

Time Series plots

Boarding

Boarding

Landing

Lnading

Loader

Loader

This example illustrates how to use a dataset and plot the series: Visualize.

Description of Selected Stops

From over 2,700 bus stops in the network, ten were selected based on diverse and representative passenger flow patterns. The table below summarizes the characteristics of each location:

Stop ID Location Observations
44783654 In front of the Federal University of Bahia (UFBA) High volume of students and university staff
43768720 Lapa Station One of the city's main public transport terminals
230565994 Itapuã Lighthouse Beach Passenger flow varies throughout the day; higher on weekends and holidays
125960550 Arena Fonte Nova surroundings Demand influenced by sports and cultural events
45833547 Near Manoel Barradas Stadium Sharp increases in demand during game days
44784438 Near the Ferry Boat terminal Primarily serves intercity and cross-bay travelers
47568123 Near a major shopping mall High commercial traffic throughout the day
44072192 Close to Castro Alves Theater Passenger flow increases during performance and event hours
258781031 Salvador Bus Station Central hub for urban and intercity bus routes
44783914 Lacerda Elevator tourist area Located in a busy commercial and tourist district

GTFS

GTFS (General Transit Feed Specification) is a widely adopted, standardized format for sharing public transit schedules and related geographic data. By providing a set of simple text files (CSV-style), GTFS makes it easy for developers, researchers, and planners to analyze route structure, service frequency, stop locations, and trip timing for any transit agency.

Transport network - Shapes

Shapes

Transport network - Stops

Stops

To more plots, Jupyter Notebook Overview

Description

Below is a brief overview of how to use these GTFS files and what each file represents in the gtfs folder:

  1. agency.txt – Contains basic information about the transit agency (name, URL, time zone, language). – Useful for identifying which agency the feed belongs to, especially when multiple agencies share a single dataset.

  2. stops.txt – Lists all individual stops or stations, with columns such as stop_id, stop_name, stop_lat, stop_lon. – Use this file to plot stop locations on a map or to calculate distances between stops.

  3. routes.txt – Describes each route (e.g., bus line) using route_id, route_short_name, route_long_name, and optional route colors. – Ideal for grouping trips and distinguishing one service corridor from another.

  4. trips.txt – Defines each trip as a single run of a vehicle along a route on a given service day. – Key columns: route_id, service_id, trip_id, shape_id. – Combine with stop_times.txt to reconstruct a vehicle’s schedule.

  5. stop_times.txt – Contains the scheduled departure and arrival times at each stop for every trip (using trip_id, arrival_time, departure_time, stop_id, stop_sequence). – Enables analysis of headways, dwell times, and temporal patterns.

  6. calendar.txt – Specifies on which days of the week each service (service_id) operates, along with a start and end date. – Use this to filter trips by weekday, weekend, or holiday schedules.

  7. calendar_dates.txt (optional) – Lists exceptions to the regular calendar.txt schedule, such as added or removed service on specific dates (holidays or special events). – Important for correctly modeling service on days when regular schedules are modified.

  8. shapes.txt – Defines the exact path (“shape”) of each trip via a sequence of latitude/longitude points (shape_id, shape_pt_lat, shape_pt_lon, shape_pt_sequence). – Use this to draw each route on a map in its real-world alignment.

  9. frequencies.txt (optional) – Specifies headways (time between vehicles) for frequency-based scheduling instead of exact stop times. – Contents include trip_id, start_time, end_time, headway_secs. – Useful for feeds that define service in terms of “every 10 minutes” rather than fixed departure times.



License: CC BY-ND 4.0

Downloads last month
14