Title: | A Companion Package for the Book "Discrete Choice Analysis with 'R'" |
---|---|
Description: | Templates and data files to support "Discrete Choice Analysis with R", Páez, A. and Boisjoly, G. (2023) <doi:10.1007/978-3-031-20719-8>. |
Authors: | Antonio Paez [aut, cre] , Genevieve Boisjoly [aut] |
Maintainer: | Antonio Paez <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.1 |
Built: | 2024-10-17 03:13:45 UTC |
Source: | https://github.com/paezha/discrtr |
Template for creating a computational notebook for use with Discrete Choice Analysis with R
discrtr_template()
discrtr_template()
An R Markdown file
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 to respond to a series of attitudinal statements. The data set contains relevant attributes about the respondents. The format of the table is wide, with each row representing an individual respondent. These variables were augmented with information from the 2011 Census of Canada and land use information from local sources.
data(mc_attitudes)
data(mc_attitudes)
A data frame with 1230 rows and 39 variables:
Unique identifier for respondents
Mode of transportation chosen: Car, HSR (local transit), Walk
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
Indicator variable for holding a driver license: 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
Visa status of student: Domestic
Living arrangements DURING THE SCHOOL YEAR are: 1:Living with my family or relatives/By myself off-campus/Shared off-campus accommodations
Level of studies: Undergraduate Year I (UG I)/Undergraduate Year II (UG I)/Undergraduate Year III (UG III)/Undergraduate Year IV (UG IV)/Undergraduate Year V (UG V)/Masters/PhD/Other (Diploma or Certificate)
Response to statement "I like to live in a neighborhood where there's a lot going on": Five point likert scale from Strongly Disagree to Strongly Agree, including a neutral point
Response to statement "There is a sense of community in my neighborhood": Five point likert scale from Strongly Disagree to Strongly Agree, including a neutral point
Response to statement "I know my neighbors well": Five point likert scale from Strongly Disagree to Strongly Agree, including a neutral point
Response to statement "I feel safe and secure when walking in my neighborhood": Five point likert scale from Strongly Disagree to Strongly Agree, including a neutral point
Response to statement "Having shops and services within walking distance of my home is important to me": Five point likert scale from Strongly Disagree to Strongly Agree, including a neutral point
Response to statement "I like traveling alone": Five point likert scale from Strongly Disagree to Strongly Agree, including a neutral point
Unique ID of Dissemination Area of the Census
Proportion of families that are couples with children out of all families in Dissemination Area
Proportion of families that are single parent (woman) with children out of all families in Dissemination Area
Proportion of families that are single parent (man) with children out of all families in Dissemination Area
Average number of children at home per census family in Dissemination Area
Proportion of non-Canadian residents to total population in Dissemination Area
Median family income in Dissemination Area in $10,000
Mean family income in Dissemination Area in $10,000
Unemployment rate in Dissemination Area
Proportion of residents that moved to Dissemination Area in the year previous to the census
Proportion of residents that moved to Dissemination Area in the 5 years previous to the census
Proportion of residents in Dissemination Area that used public transportation to commute to work
Proportion of residents in Dissemination Area that walked to work
Proportion of residents in Dissemination Area that cycled to work
Area of Dissemination Area in square kilometers
Entropy-based land use mix index in Dissemination Area: lower values mean more homogenous land uses, higher values greater mix of uses
Sidewalk density in Dissemination Area in km/sq.km
Street density in Dissemination Area in km/sq.km
Intersection density in Dissemination Area in 1/sq.km
Ratio of building footprint to parcel area in Dissemination Area: a measure of density of development
Employment density in Dissemination Area in jobs/sq.km
Population density in Dissemination Area in people/sq.km
P\'aez, A. (2013). Mapping travelers’ attitudes: does space matter?. Journal of Transport Geography, 26, 117-125. (https://doi.org/10.1016/j.jtrangeo.2012.09.002)
data(mc_attitudes) summary(mc_attitudes$Community)
data(mc_attitudes) summary(mc_attitudes$Community)
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)
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)
data(mc_commute_long) library(dfidx) print(mc_commute_long, n = 12)
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 wide, with each individual decision maker in a row.
data(mc_commute_wide)
data(mc_commute_wide)
A data frame with 1375 rows and 74 variables:
Unique identifier for respondents
Mode of transportation chosen: Cycle, Walk, HSR (local transit), Car
An indicator variable for availability of cycling: Yes/No
An indicator variable for availability of walking: Yes/No
An indicator variable for availability of buses: Yes/No
An indicator variable for availability of car: Yes/No
Travel time by bicycle to campus in minutes
Travel time by walking to campus in minutes
Travel time by bus to campus in minutes
Travel time by car to campus in minutes
Access time to mode in minutes (i.e., reaching a transit stop)
Access time to mode in minutes (i.e., reaching a transit stop)
Access time to mode in minutes (i.e., reaching a transit stop)
Access time to mode in minutes (i.e., reaching a transit stop)
Waiting time (i.e., at a transit stop)
Waiting time (i.e., at a transit stop)
Waiting time (i.e., at a transit stop)
Waiting time (i.e., at a transit stop)
Number of transfers when travelling by transit
Number of transfers when travelling by transit
Number of transfers when travelling by transit
Number of transfers when travelling by transit
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 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
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_wide) summary(mc_commute_wide$choice)
data(mc_commute_wide) summary(mc_commute_wide$choice)
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)
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"))
library(readr) mc_commute <- read_csv(system.file("extdata", "mc_commute.csv", package = "discrtr"))
A dataset containing information about students, staff, and faculty 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 data set also contains relevant attributes about the respondents. The format of the table is wide, with each row representing an individual respondent. These variables were augmented with information from the 2011 Census of Canada and land use information from local sources.
data(mc_modality)
data(mc_modality)
A data frame with 4,146 rows and 37 variables:
Unique identifier for respondents
Mode of transportation chosen: Active Travel (Cycle/Walk), HSR (local transit), Car, GO (regional transit)
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
Indicator variable for having individual access to a private car (i.e., car shared with other household members): Yes/No
Indicator variable for owning a bicycle: Yes/No
Woman/Man
Age in years
Indicator variable for status at McMaster: Staff or Faculty/Student
Indicator variable for being primary care giver for any minors in the household: Yes/No
Indicator variable for number of available modes: One Mode/Two Modes/Three Modes/Four Modes
Response to statement "Traveling is boring" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "The buses I usually travel in are comfortable" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "To improve the environment, I am willing to pay a little more to use a hybrid, electric or other clean fuel vehicle" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "I limit my auto travel to help improve congestion and the environment" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "I use my commute time productively" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "I feel safe and secure to cycle around town" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "Having shops and services within walking distance of my home is important to me" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "Usually, I'd rather have someone else do the driving" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "Getting stuck in traffic doesn't bother me too much" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "My commute trip is a useful transition between home and school" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "I like traveling alone" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "Traveling is generally tiring for me" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Response to statement "Traveling is generally tiring for me" as factor: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree
Proportion of inmigrants to total population in Dissemination Area
Proportion of non-Canadian residents to total population in Dissemination Area
Proportion of residents in Dissemination Area who are in the labor force
Unemployment rate in Dissemination Area
Proportion of families headed by a married couple to total population in Dissemination Area
Mean age of residents in Dissemination Area in years
Mean number of children per family in Dissemination Area
Median family income in Dissemination Area in $10,000
Transit access index – combination of capacity, frequency, and coverage of service (Wiley et al., 2011)
Entropy-based land use mix index in Dissemination Area: lower values mean more homogenous land uses, higher values greater mix of uses
Network distance from place of residence to McMaster University in km
Population density in Dissemination Area in people/sq.km
Ratio of building footprint to parcel area in Dissemination Area: a measure of density of development
Lavery, T., P\'aez, A., & Kanaroglou, P.S. (2013). Driving out of choices: An investigation of transport modality in a university sample. Transportation Research Part A: Policy and Practice, 57:37-46 (https://doi.org/10.1016/j.tra.2013.09.010)
data(mc_modality) summary(mc_modality)
data(mc_modality) summary(mc_modality)
Classification of regions by type: urban, suburban, and rural. This is based on the rural boundaries of the city, and the planning regions.
data(urban_types)
data(urban_types)
An object of class sf
(inherits from tbl_df
, tbl
, data.frame
) with 3 rows and 2 columns.
#' @format A simple features data frame with 2 rows and 2 variables:
Classification of the region: "Urban", "Suburban", "Rural"
Geometry of polygons