APC Data - dssg/cta-sim GitHub Wiki
Variable (Column) names and information for rcp_detail_N-<>
VARIABLE | INFORMATION | OBSERVATIONS | Questions |
---|---|---|---|
ID | ??? | ||
SERIAL_NUMBER | Unique to trip and day, can be joined with master table | Unique to run? | |
SORT_ORDER | Order of stops geographically ordered | What is the geographical order | |
SIGNUP_NAME | ??? Route ID | ??? | |
STOP_ID | Unique number assigned to each bus stop blade | usually one per bus stop | |
MAIN_CROSS_STREET | If stop, stop name. If timepoint, internal name given to each timepoint | ||
TRAVEL_DIRECTION | direction of run | 4 levels: N,S,E,W | |
TIMEPOINT | Yes or no. Timepoints are not actual stops, just markers. | 2 levels: 0,1 | |
TIME_ACTUAL_ARRIVE | ??? | ??? | |
TIME_ACTUAL_DEPART | ??? | ??? | |
SERVICED_STOP | If the door opened or not | Tries to measure weather the bus stopped or not | |
NEXT_DAY | ??? | ??? | |
SEGMENT_MILES | Distance between stop_id | ||
PASSENGER_MILES | ??? Average miles ridden per passenger | ??? | |
PASSENGERS_ON | Boradings | Measured using infrared | |
PASSENGERS_OFF | Alights | Measured using infrared | |
PASSENGERS_IN | Passengers onboard | Computed using on and off, they are decimals because if not the total would not be zero | Can we trust this values? |
TRIP_EARLY | If actual was less than scheduled time by 1 min | Are we refering to TIME_ACTUAL _ARRIVE | |
TRIP_ONTIME | Time t, 1min<t<5min at stops, t<2min at terminals | ||
TRIP_LATE | Time t, t>5min at stops, t>2min at terminals | ||
RAW_FON | ??? | ??? | |
RAW_FOFF | ??? | ??? | |
RAW_RON | ??? | ??? | |
RAW_ROFF | ??? | ??? | |
RUNNING_TIME_SCHEDULED | Time that it has to take from last timepoint to this timepoint | ||
RUNNING_TIME_ACTUAL | Time it actually took from last timepoint to this timepoint | ||
TRIP_DIFF_MINUTES | ?? The difference between time_scheduled and time_actual_arrive, except for the first timepoint leaving the terminal which is the difference between time_schedule and time_actual_depart. In minutes. | ??? | |
TIME_SCHEDULED | Time at which drivers are supposed to hit timepoint | ||
TIMEPOINT_MILES | Distance between timepoints |
Missing from Ridecheck sample: CENSUS_TRACT: ?? ACTUAL_START_TIME: is this variable TIME_ACTUAL_ARRIVE?? ACTUAL_END_TIME: is this variable TIME_ACTUAL_DEPART??
SQL query -
select id, serial_number, sort_order, signup_name, stop_id, main_cross_street, travel_direction,
timepoint, time_actual_arrive, time_actual_depart, serviced_stop, next_day, segment_miles,
passenger_miles, passengers_on, passengers_off, passengers_in, trip_early, trip_ontime,
trip_late, fon raw_fon, foff raw_foff, ron raw_ron, roff raw_roff, running_time_scheduled,
running_time_actual, trip_diff_minutes, time_scheduled, timepoint_miles
from ridecheck_plus.ride_check_detail
where signup_name in ('N-23');
Data is from N-21 to N-26. What quarters to these correspond to?
Data from the master file contains the following columns:
Variable | Desc |
---|---|
SERIAL_NUMBER | |
SCHEDULE_ID | |
SCHEDULE_NAME | |
SIGNUP_NAME | |
PROTECTED | |
ARCHIVED | |
HANDHELD_NAME | |
HANDHELD_NUMBER | |
HANDHELD_TIMESTAMP | |
APPLICATION_TIMESTAMP | |
HANDHELD_DONE | |
DISTINCT_TRIP | |
SURVEY_STATUS | |
SURVEY_TYPE | |
SURVEY_SOURCE | |
PATTERN_ID | |
BRANCH | |
ROUTE_NUMBER | |
ROUTE_NAME | |
DIRECTION_NAME | |
SERVICE_CODE | |
SERVICE_TYPE | |
SERVICE_MODE | |
SURVEY_DATE | |
SURVEY_DATE_EFFECTIVE | |
SURVEY_DATE_ATYPICAL | |
TRIP_START_TIME | |
TRIP_END_TIME | |
NEXT_DAY | |
TIME_PERIOD | |
SERVICE_DAY | |
SERVICE_PERIOD | |
TRIP_NUMBER | |
TRIP_KEY | |
BLOCK_NUMBER | |
BLOCK_KEY | |
RUN_NUMBER | |
RUN_KEY | |
OPERATOR_ID | |
VEHICLE_NUMBER | |
VEHICLE_DESCRIPTION | |
VEHICLE_SEATS | |
GARAGE_ID | |
GARAGE_NAME | |
DIVISION_ID | |
DIVISION_NAME | |
REVENUE_START | |
REVENUE_END | |
REVENUE_NET | |
ODOM_START | |
ODOM_END | |
ODOM_NET | |
CONDITION_NUMBER | |
CHECKER_ID | |
CHECKER_NAME | |
REVENUE_MILES | |
REVENUE_HOURS | |
ACTUAL_START_TIME | |
ACTUAL_END_TIME | |
TOTAL_PASSENGERS_ON | |
TOTAL_PASSENGERS_OFF | |
TOTAL_PASSENGERS_IN | |
TOTAL_PASSENGER_MILES | |
TOTAL_SEAT_MILES | |
MAX_LOAD | |
MAX_LOAD_P | |
PASS_PER_MILE | |
PASS_PER_HOUR | |
TP_ONTIME | |
TP_EARLY | |
TP_LATE | |
ONTIME | |
ONTIME_DIFF_AVG | |
DWELL_TIME_AVG | |
SCHEDULED_SPEED | |
ACTUAL_SPEED | |
TOTAL_STOPS | |
REQUIRES_UPDATE | |
LAST_UPDATE | |
COMMENTS | |
TRIP_COUNT | |
NEW_SURVEY | |
DISTINCT_TRIP_AVL | |
TOTAL_WHEELCHAIRS | |
PULLIN_TIME_SCHEDULED | |
PULLIN_TIME_ACTUAL | |
PULLOUT_TIME_SCHEDULED | |
PULLOUT_TIME_ACTUAL | |
TRIP_ID | |
TOTAL_DEMOG_01 | |
TOTAL_DEMOG_02 | |
TOTAL_DEMOG_03 | |
TOTAL_DEMOG_04 | |
TOTAL_DEMOG_05 | |
TOTAL_DEMOG_06 | |
TOTAL_DEMOG_07 | |
TOTAL_DEMOG_08 | |
TOTAL_DEMOG_09 | |
TOTAL_DEMOG_10 | |
TOTAL_DEMOG_11 | |
TOTAL_DEMOG_12 | |
TOTAL_DEMOG_13 | |
TOTAL_DEMOG_14 | |
TOTAL_DEMOG_15 | |
TOTAL_DEMOG_16 | |
TOTAL_DEMOG_17 | |
TOTAL_DEMOG_18 | |
TOTAL_DEMOG_19 | |
TOTAL_DEMOG_20 | |
TOTAL_DEMOG_21 | |
TOTAL_DEMOG_22 | |
TOTAL_DEMOG_23 | |
TOTAL_DEMOG_24 | |
TOTAL_DEMOG_25 | |
TIME_PERIOD_SORT | |
MIN_LOAD | |
FAREBOX | |
SUPERVISOR_ATTN | |
NON_STUDENT_FARE | |
MATCH_COUNT | |
SERVICE_CLASS | |
START_LOAD | |
END_LOAD | |
TOTAL_FON | |
TOTAL_FOFF | |
TOTAL_RON | |
TOTAL_ROFF | |
TYPE_AVLCHECK | |
TYPE_FARECHECK | |
TYPE_RIDECHECK | |
TRIP_COUNT_AVLCHECK | |
TRIP_COUNT_FARECHECK | |
TRIP_COUNT_RIDECHECK | |
PATTERN_KEY | |
TOTAL_DEMOG_SUM | |
STANDING_AREA | |
DEADHEAD_MINUTES_SCHEDULED | |
LAYOVER_MINUTES_SCHEDULED | |
TRANSACTION_ROLLUP_ID | |
TOTAL_DEMOG_26 | |
TOTAL_DEMOG_27 | |
CHECKER_AFTER_MINUTES | |
CHECKER_BEFORE_MINUTES | |
TEMPERATURE | |
BLOCK_ID | |
TYPE_ODCHECK | |
ASSIGNMENT | |
TOTAL_BICYCLES | |
TOTAL_KNEELS | |
ACTUAL_START_TIME_BEFORE | |
ACTUAL_END_TIME_AFTER | |
START_TIMEPOINT | |
END_TIMEPOINT | |
ONBOARD_SOFTWARE_VERSION | |
SCHEDULE_SOFTWARE_VERSION | |
LOAD_DURATION | |
LOAD_DURATION_ALT | |
TOTAL_TRAFFIC_PRIORITY | |
LAYOVER_MINUTES_ACTUAL | |
DEADHEAD_MINUTES_ACTUAL | |
ROUTE_NAME_ALT |