mc_commute.csv | R Documentation |
A delimited text file 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 comma separated text file :
Unique identifier for respondents
numeric variable indicating modes of transportation: (1) Cycle, (2) Walk, (3) HSR (local transit), (4) Car
Indicator variable for availability of cycling: (1) Yes, (0) No
Indicator variable for availability of walking: (1) Yes, (0) No
Indicator variable for availability of HSR: (1) Yes, (0) No
Indicator variable for availability of car: (1) Yes, (0) No
Travel time by cycling in minutes (when mode not available coded as 100000)
Travel time by walking in minutes (when mode not available coded as 100000)
Access time to HSR in minutes
Waiting time when travelling by HSR in minutes
Number of transit transfers
Travel time by car in minutes (when mode not available coded as 100000)
Indicator variable for holding a university parking permit: (1) Yes, (0) No
Indicator variable for having individual access to a private car (i.e., car not shared with other household members): (1) Yes, (0) No
Indicator variable for owning a bicycle: (1) Yes, (0) No
Indicator variable for gender: (1) Woman, (0) Man
Age in years
Indicator variable for living in solo accommodations: (1) Yes, (0) No
Indicator variable for a student living in a rental property with other students, i.e., shared accommodations: (1) Yes, (0) No
Indicator variable for living in family home: (1) Yes, (0) No
Indicator variable for presence of dependent minors in household: (1) Yes, (0) No
Indicator variable for being the primary caregiver of dependent minors in household: (1) Yes, (0) No, (100000) No dependent minors in household
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
Unique ID of the dissemination area of place of residence according to the 2006 census of Canada
Median household income of the dissemination area of place of residence according to the 2006 census of Canada
Dwelling density in the dissemination area of the place of residence in $1/km^2$
Entropy of the land use mix
Street density in the dissemination area of the place of residence in $km/km^2$
Intersection density in the dissemination area of the place of residence in $1/km^2$
Ratio of surface of plots to built area
Sidewalk density in the dissemination area of the place of residence in $km/km^2$
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
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)
library(readr) mc_commute <- read_csv(system.file("extdata", "mc_commute.csv", package = "discrtr"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.