mc_commute_long | R Documentation |
A data set containing information about students commuting to McMaster University. Data were collected by means of a travel survey in the fall of 2010. Respondents were asked about their mode of travel to McMaster University, in Hamilton, Canada. They were also asked about the modes available to them. The characteristics of the trips were self-reported or imputed. The data set also contains relevant attributes about the respondents. The format of the table is long, with each row representing a choice situation.
data(mc_commute_long)
An indexed data frame of class dfidx with 5500 rows and 62 variables:
Unique identifier for respondents
Mode of transportation chosen: Cycle, Walk, HSR (local transit), Car
Indicator variable for holding a university parking permit: Yes/No
Indicator variable for having individual access to a private car (i.e., car not shared with other household members): Yes/No
Woman/Man
Age in years
Indicator variable for Indicator variable for a student living in a rental property with other students, i.e., living in shared accommodations
Indicator variable for living in family home
Indicator variable for presence of dependent minors in household: Yes/No
Street density in the dissemination area of the place of residence in $km/km^2$
Sidewalk density in the dissemination area of the place of residence in $km/km^2$
Latitude of the place or residence, geocoded at the nearest major intersection or centroid of 6-digit postal area
Longitude of the place or residence, geocoded at the nearest major intersection or centroid of 6-digit postal area
Response to statement "The personal vehicles I usually travel in are comfortable": 1 if Strongly Disagree, 0 otherwise
Response to statement "The personal vehicles I usually travel in are comfortable": 1 if Disagree, 0 otherwise
Response to statement "The personal vehicles I usually travel in are comfortable": 1 if Agree, 0 otherwise
Response to statement "The personal vehicles I usually travel in are comfortable": 1 if Strongly Agree, 0 otherwise
Response to statement "Getting there is half the fun": 1 if Strongly Disagree, 0 otherwise
Response to statement "Getting there is half the fun": 1 if Disagree, 0 otherwise
Response to statement "Getting there is half the fun": 1 if Agree, 0 otherwise
Response to statement "Getting there is half the fun": 1 if Strongly Agree, 0 otherwise
Response to statement "I like to live in a neighborhood where there's a lot going on": 1 if Strongly Disagree, 0 otherwise
Response to statement "I like to live in a neighborhood where there's a lot going on": 1 if Disagree, 0 otherwise
Response to statement "I like to live in a neighborhood where there's a lot going on": 1 if Agree, 0 otherwise
Response to statement "I like to live in a neighborhood where there's a lot going on": 1 if Strongly Agree, 0 otherwise
Response to statement "My commute trip is a useful transition between home and school": 1 if Strongly Disagree, 0 otherwise
Response to statement "My commute trip is a useful transition between home and school": 1 if Disagree, 0 otherwise
Response to statement "My commute trip is a useful transition between home and school": 1 if Agree, 0 otherwise
Response to statement "My commute trip is a useful transition between home and school": 1 if Strongly Agree, 0 otherwise
Response to statement "The buses I usually travel in are comfortable": 1 if Strongly Disagree, 0 otherwise
Response to statement "The buses I usually travel in are comfortable": 1 if Disagree, 0 otherwise
Response to statement "The buses I usually travel in are comfortable": 1 if Agree, 0 otherwise
Response to statement "The buses I usually travel in are comfortable": 1 if Strongly Agree, 0 otherwise
Response to statement "I like traveling alone": 1 if Strongly Disagree, 0 otherwise
Response to statement "I like traveling alone": 1 if Disagree, 0 otherwise
Response to statement "I like traveling alone": 1 if Agree, 0 otherwise
Response to statement "I like traveling alone": 1 if Strongly Agree, 0 otherwise
Response to statement "Shelters and other public transportation facilities that I commonly use are of good quality": 1 if Strongly Disagree, 0 otherwise
Response to statement "Shelters and other public transportation facilities that I commonly use are of good quality": 1 if Disagree, 0 otherwise
Response to statement "Shelters and other public transportation facilities that I commonly use are of good quality": 1 if Agree, 0 otherwise
Response to statement "Shelters and other public transportation facilities that I commonly use are of good quality": 1 if Strongly Agree, 0 otherwise
Response to statement "There is a sense of community in my neighborhood": 1 if Strongly Disagree, 0 otherwise
Response to statement "There is a sense of community in my neighborhood": 1 if Disagree, 0 otherwise
Response to statement "There is a sense of community in my neighborhood": 1 if Agree, 0 otherwise
Response to statement "There is a sense of community in my neighborhood": 1 if Agree, 0 otherwise
Response to statement "The personal vehicles I usually travel in are comfortable" as factor: SD-Strongly Disagree, D-Disagree, N-Neutral, A-Agree, SA-Strongly Agree
Response to statement "Getting there is half the fun" as factor: SD-Strongly Disagree, D-Disagree, N-Neutral, A-Agree, SA-Strongly Agree
Response to statement "I like to live in a neighborhood where there's a lot going on" as factor: SD-Strongly Disagree, D-Disagree, N-Neutral, A-Agree, SA-Strongly Agree
Response to statement "My commute trip is a useful transition between home and school" as factor: SD-Strongly Disagree, D-Disagree, N-Neutral, A-Agree, SA-Strongly Agree
Response to statement "The buses I usually travel in are comfortable" as factor: SD-Strongly Disagree, D-Disagree, N-Neutral, A-Agree, SA-Strongly Agree
Response to statement "I like traveling alone" as factor: SD-Strongly Disagree, D-Disagree, N-Neutral, A-Agree, SA-Strongly Agree
Response to statement "Shelters and other public transportation facilities that I commonly use are of good quality" as factor: SD-Strongly Disagree, D-Disagree, N-Neutral, A-Agree, SA-Strongly Agree
Response to statement "There is a sense of community in my neighborhood" as factor: SD-Strongly Disagree, D-Disagree, N-Neutral, A-Agree, SA-Strongly Agree1 if Strongly Disagree, 0 otherwise
Total number of available alternatives, e.g., if bus and walk = 2, if all four = 4
A factor with the alternatives in the choice set
An indicator variable for availability of the alternative
Travel time by alternative
Access time to transit in minutes (i.e., reaching a transit stop)
Waiting time transit (i.e., at a transit stop)
Number of transit transfers
Index for the table: includes chid (identifier for the choice) and alt (the alternative)
Whalen, K. E., P\'aez, A., & Carrasco, J. A. (2013). Mode choice of university students commuting to school and the role of active travel. Journal of Transport Geography, 31, 132-142. (https://doi.org/10.1016/j.jtrangeo.2013.06.008)
data(mc_commute_long) library(dfidx) print(mc_commute_long, n = 12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.