Station Activities Schema Flashcards

(28 cards)

1
Q

What is the primary key for the station_activities table?

A

service_date, stop_id, time_period_start, time_period_end

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

What is the description of the station_activities table?

A

Summarized transactions, entries, and exits by stop or station and time period for each service date (for events not associated with a trip)

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

What is the table type of station_activities?

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

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 stop_id field represent?

A

Identifies stop. References GTFS

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

Is the stop_id field required?

A

Yes

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

What does the time_period_start field represent?

A

Aggregation period start time

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

Is the time_period_start field required?

A

Yes

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

What does the time_period_end field represent?

A

Aggregation period end time

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

Is the time_period_end field required?

A

Yes

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

What does the time_period_category field represent?

A

Indicates a standard time period to aid further aggregation

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

What are some examples of time_period_category values?

A

All day, Peak, Off-peak, Summer, Other

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

What does the total_entries field represent?

A

Number of events at the stop considered entries, such as boardings or fare transactions

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

What is the minimum value for total_entries?

A

0

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

What does the total_exits field represent?

A

Number of events at the stop considered exits, such as alightings

17
Q

What is the minimum value for total_exits?

18
Q

What does the number_of_transactions field represent?

A

Number of fare transactions that occurred at a stop

19
Q

What is the minimum value for number_of_transactions?

20
Q

What does the bike_entries field represent?

A

Number of bikes that entered the stop

21
Q

What is the minimum value for bike_entries?

22
Q

What does the bike_exits field represent?

A

Number of bikes that exited the stop

23
Q

What is the minimum value for bike_exits?

24
Q

What does the ramp_entries field represent?

A

Number of entries that used a ramp or accessible entrance

25
What is the minimum value for ramp_entries?
0
26
What does the ramp_exits field represent?
Number of exits that used a ramp or accessible exit
27
What is the minimum value for ramp_exits?
0
28
What foreign references does the station_activities table have?
stop_id → stops