Trips Performed Schema Flashcards

(33 cards)

1
Q

What is the primary key for the trips_performed table?

A

service_date, trip_id_performed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the description of the trips_performed table?

A

Trips performed for each service date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the table type of trips_performed?

A

Summary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the service_date field represent?

A

Service date. References GTFS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Is the service_date field required?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the trip_id_performed field represent?

A

Uniquely identifies the trip performed. It must be unique for a service_date (and it can optionally be unique across all time). It does not have to equal trip_id_scheduled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Is the trip_id_performed field required?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the vehicle_id field represent?

A

Identifies the vehicle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Is the vehicle_id field required?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the trip_id_scheduled field represent?

A

Identifies the scheduled trip associated with the trip performed. References GTFS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the route_id field represent?

A

Identifies the route. References GTFS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the route_type field represent?

A

Indicates the type of transportation used on a route. References GTFS routes.route_type including Google’s Extended Route Types GTFS extension

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are some possible values for route_type?

A

Tram / Streetcar / Light rail, Subway / Metro, Rail, Bus, Ferry, Cable tram, Aerial lift, Funicular, Trolleybus, Monorail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the ntd_mode field represent?

A

NTD mode, references the Modes and Types of Service section of the Introduction to the NTD Full Reporting Policy Manual

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are some possible values for ntd_mode?

A

Aerial Tramway, Alaska Railroad, Bus, Bus Rapid Transit, Cable Car, Commuter Bus, Commuter Rail, Demand Response, Demand Taxi, Ferryboat, Heavy Rail, Hybrid Rail, Inclined Plane, Jitney, Light Rail, Monorail/Automated Guideway, Other, Público, Streetcar, Trolleybus, Vanpool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does the route_type_agency field represent?

A

Agency specific route type

17
Q

What does the shape_id field represent?

A

Identifies a geospatial shape that describes the vehicle travel path for a trip. References GTFS

18
Q

What does the pattern_id field represent?

A

Identifies the unique stop-path for a trip, may be distinct from GTFS shapes.shape_id

19
Q

What does the direction_id field represent?

A

Indicates the direction of travel for a trip. References GTFS

20
Q

What are the possible values for direction_id?

21
Q

What does the operator_id field represent?

A

Identifies the vehicle’s operator

22
Q

What does the block_id field represent?

A

Identifies the block to which the trip belongs. References GTFS

23
Q

What does the trip_start_stop_id field represent?

A

Origin stop_id. References GTFS

24
Q

What does the trip_end_stop_id field represent?

A

Destination stop_id. References GTFS

25
What does the schedule_trip_start field represent?
Scheduled departure time from the trip's origin
26
What does the schedule_trip_end field represent?
Scheduled end timestamp at the trip's destination
27
What does the actual_trip_start field represent?
Timestamp at which the vehicle departed its origin
28
What does the actual_trip_end field represent?
Timestamp at which the vehicle arrived at its destination
29
What does the trip_type field represent?
Indicates status of travel with regard to service
30
What are the possible values for trip_type?
In service, Deadhead, Layover, Pullout, Pullin, Extra Pullout, Extra Pullin, Deadhead To Layover, Deadhead From Layover, Other not in service
31
What does the schedule_relationship field represent?
Indicates the status of the trip. References GTFS-realtime TripUpdate.trip.schedule_relationship
32
What are the possible values for schedule_relationship?
Scheduled, Added, Unscheduled, Canceled, Duplicated
33
What foreign references does the trips_performed table have?
vehicle_id → vehicles, operator_id → operators