Stop Visits Schema Flashcards
(54 cards)
What is the primary key for the stop_visits table?
service_date, trip_id_performed, trip_stop_sequence
What is the description of the stop_visits table?
Summarized boarding, alighting, arrival, departure, and other events (kneel engaged, ramp deployed, etc.) by trip and stop for each service date
What is the table type of stop_visits?
Summary
What does the service_date field represent?
Service date. References GTFS indirectly via calendars.txt and calendar_dates.txt
Is the service_date field required?
Yes
What does the trip_id_performed field represent?
Identifies the trip performed
Is the trip_id_performed field required?
Yes
What does the trip_stop_sequence field represent?
The actual order of stops visited within a performed trip
Is the trip_stop_sequence field required?
Yes
What is the minimum value for trip_stop_sequence?
1
What does the scheduled_stop_sequence field represent?
Scheduled order of stops for a particular trip. References GTFS
What is the minimum value for scheduled_stop_sequence?
0
What does the pattern_id field represent?
Identifies the unique stop-path for a trip, may be distinct from GTFS shapes.shape_id
What does the vehicle_id field represent?
Identifies the vehicle
What does the dwell field represent?
Indicates the amount of time a vehicle spent stopped at a stop in seconds
What is the minimum value for dwell?
0
What does the stop_id field represent?
Identifies the stop. References GTFS
What does the timepoint field represent?
Indicates if the stop should be used for evaluating schedule adherence, on-time performance, and other KPIs
What does the schedule_arrival_time field represent?
Scheduled timestamp at which the vehicle arrives at a stop. References GTFS
What does the schedule_departure_time field represent?
Scheduled timestamp at which the vehicle departs from a stop. References GTFS
What does the actual_arrival_time field represent?
Timestamp at which the vehicle arrives at a stop
What does the actual_departure_time field represent?
Timestamp at which the vehicle departs from a stop
What does the distance field represent?
Observed distance in meters from the previous stop traveled by the vehicle
What is the minimum value for distance?
0