Turning a Commuting Question Into Data
A question such as “How do students get to campus, and how long does it take?” sounds specific, but it leaves important details undecided. Which students count? Does “get to campus” refer to a typical day, a particular week, or the most recent trip? If someone walks to a bus stop and then rides a bus, which mode should be recorded? Without answers, two people could collect different data while believing they had answered the same question.
The task here is to turn the question into a small, coherent set of variables. For a student-commuting question, that usually means identifying the students being described, recording a mode category, measuring travel time, and stating the time reference. These choices work together: a value is interpretable only when we know who it describes, what it means, and which trip or period it concerns.
Four Decisions That Make Commuting Data Interpretable
Start by naming the individual, not just the broad group. If each row is intended to describe one student, the individual is one student in the stated group. If each row instead describes a trip, the individual is one trip. These are different data structures: a student may make several trips, so a trip-level table can contain several rows for the same student.
Next, say what a recorded mode means. A student who walks, bikes, drives, takes a bus, or uses rail might fit one of several categories. But a student could combine modes on a journey. If the question requires one category per student, give a rule for assigning one category—for example, record the mode used for the longest portion of the journey. That rule is a choice about how the concept is represented; it is not automatically implied by the word “mode.”
Travel time also needs a precise meaning. “Time to campus” could begin when a student leaves home, when the student enters a vehicle, or when the first leg of travel begins. It could end at the campus boundary or at a particular destination building. State the start, end, and unit. For example, travel time might mean elapsed minutes from leaving home until arriving at the campus’s main entrance.
Finally, specify the time reference: for example, a named weekday, the previous seven days, or the most recent trip within a stated period. The reference determines which event supplies the mode and duration. If students make more than one trip in that period, the question needs a selection rule such as “the most recent qualifying trip.”
Decide whether one row describes one student or one trip, and state which students are in scope.
State the time reference and, if needed, how to select one trip from several.
Give the mode categories and coding rule, then specify travel-time endpoints and units.
Ask whether every student in scope has a qualifying trip. If not, restrict eligibility or state how a no-trip response is represented.
Worked Examples
Worked Example: Making a Broad Campus Question Specific
A university wants to ask, “How do students commute to campus, and how long does the trip take?” The university plans to use one row per student. Work out a clear version of the question and identify the variables.
1. Individuals. Suppose the intended group is undergraduate students enrolled at the university during the week of October 12–16, 2026. Because the table has one row per student, each individual is one undergraduate in that group—not one journey.
2. Time reference and trip selection. Define the reference period as Monday through Friday of that week, and ask about each student’s most recent trip to campus during that period. A student who made several campus trips contributes the mode and duration for only the most recent one. This makes the selected event unambiguous.
3. Mode. Use categories such as walk, bicycle, car, bus, and rail. If a trip uses multiple modes, record the mode used for the longest portion of the journey; if two modes tie, record the mode used on the first portion. The tie rule ensures the coding instruction still assigns one category.
4. Travel time. Define duration as elapsed minutes from leaving home until arriving at the campus’s main entrance. The start and end points are now fixed, and the unit is minutes.
5. Check who has a trip. The phrase “most recent trip during that period” does not provide a trip for a student who made no campus trip that week. One clean option is to define the target group as undergraduates who made at least one trip to campus during that week. Then both mode and duration refer to an existing selected trip. Alternatively, include all undergraduates and record “no trip during the period” as a response; in that case, mode is not an ordinary travel mode and travel time is not defined for those students. The question must make clear which approach is used.
The resulting variables are commute mode and travel time for each eligible student’s most recent campus trip in the stated week. The time reference and eligibility rule are part of the meaning of the data, not optional background details.
Worked Example: Applying a Mode Rule to a Hypothetical Trip
Suppose a student reports a trip that took 8 minutes walking to a bus stop, 22 minutes by bus, and 6 minutes walking from the stop to the campus entrance. Under the rule “record the mode used for the longest portion,” determine the mode and the total travel time.
The portions have durations of 8, 22, and 6 minutes. The longest portion is the 22-minute bus segment, so the recorded commute-mode category is bus. The travel-time measurement includes the full journey from leaving home to reaching the entrance, not only the portion spent on the selected mode:
The student’s record for this trip is therefore mode = bus and travel time = 36 minutes. This example shows why a mode-coding rule and travel-time endpoints must be stated separately: the mode is one category assigned by a rule, while the duration covers the entire defined journey.
Worked Example: Handling Students With No Qualifying Trip
A hypothetical survey includes every student enrolled at a college during a particular Monday-to-Friday week. One student attended classes online and made no trip to campus that week. The form asks for the mode and duration of the student’s most recent campus trip in that week. What is wrong, and how can the question be repaired?
For this student, there is no qualifying trip within the reference period. Therefore, there is no mode to classify and no duration to measure under the stated definition. Assigning “walk” or “0 minutes” would invent information: zero minutes would describe a journey with no elapsed travel time, not the absence of a journey.
There are two defensible repairs. First, restrict the target group to students who made at least one campus trip during the specified week. Each included student then has a most recent qualifying trip. Second, retain all enrolled students and add a distinct response, “no campus trip during the week.” For that response, mode and travel time are not applicable for the period; they should not be treated as ordinary mode and duration values.
Which repair is appropriate depends on the intended question. The essential point is to state it before collecting data, so the individual and each possible response have a clear interpretation.
Why the Choices Must Fit Together
The relationship between the choices can be stated compactly. Let \(i\) denote an eligible student, and let the selected trip be that student’s most recent qualifying campus trip during a fixed period. The data record can be represented as:
where \(M_i\) is the mode category assigned to that trip and \(T_i\) is its elapsed travel time, measured in the specified unit between the stated endpoints. This representation is meaningful only if the selection rule identifies a trip for student \(i\), the mode rule assigns a category, and the duration definition supplies an interpretable measurement. If there is no qualifying trip, \(M_i\) and \(T_i\) are not defined as trip values. This is why a time period cannot be separated from the question of who is included and how no-trip cases are handled.
The same logic applies if the question uses a different reference, such as a typical weekday. “Typical” then needs an operational meaning: perhaps the student reports one specified weekday, or reports a summary over a stated set of days. Otherwise, respondents may choose different days or interpret the word differently. A carefully chosen time reference does not guarantee perfect measurement, but it ensures the intended event or period is clear.
Common Mistakes and a Practical Check
- Assuming every student made a trip. A student in the target group may have made no campus trip in the period. Restrict eligibility to those with a qualifying trip, or include and define a no-trip response.
- Leaving “commute mode” to interpretation. A multimode journey may not have one obvious category. State how one category is assigned, or allow multiple responses if that is what the question intends.
- Recording a duration without endpoints. “Minutes to campus” is unclear if the start and finish are unspecified. Name both locations or events and the unit.
- Using “recently” without a reference period. Different respondents may think of different trips. State a calendar period or another precise reference.
- Confusing a student-level record with a trip-level record. One row per student and one row per trip answer different data-organization needs. State which individual each row represents.
Before collecting commuting data, read the question as if you were a respondent and ask: Can I tell whether I am included? Which trip or days should I consider? What counts as each mode? Where does the timed journey start and end? What should I report if I made no trip? If any answer depends on guesswork, the question still needs refinement.
Check Your Understanding
For each question, check whether the individual, mode, duration, time reference, and no-trip handling are clear.
- A survey asks, “How do students get to college?” Name two details needed before one mode category can be recorded consistently.
- A record is intended to describe one student’s most recent campus trip during a named week. What must be decided for a student who made no campus trip that week?
- A student walks to a train station, rides a train, then walks to campus. Give one possible rule for assigning a single mode category.
- Why is “time to campus” incomplete as a travel-time definition? State two details that would make it clearer.
- Explain the difference between a data set with one row per student and one with one row per trip.