September 18, 2025
Data Science for Transport Planning
2-day course
18-19 September 2025
The following will help:
To check you have the necessary software installed, try running the following code.
You should be able to generate the map on the next slide.
Source: GitHub
Imagine a workflow that enabled:
“Research is considered to be reproducible when the exact results can be reproduced if given access to the original data, software, or code.” Source: displayr.com
Open access to the publications
Open access to data
Open access to the code
Fully reproducible
Project deployed in web app
See paper website: https://nptscot.github.io/networkmerge/ Source: github.com/nptscot
Source: Félix, Moura, and Lovelace (2025). Also see PCT paper and follow-ons, e.g. Lovelace et al. (2024)
Source: “Dependency” by Randall Munroe: xkcd.com/2347/
Tip
Press Ctrl+Tab to switch from IDE to browser with course content and other things for an efficient workflow
Source: Geocomputation with R (Lovelace, Nowosad, and Münchow 2025)
Option 1: Create an empty folder on your computer (beginner level)
mkdir dstp-rl
, but replace ‘rl’ with your initials)Option 2: Create a new repository on GitHub (more advanced, recommended)
gh
command line tool (more advanced, recommended)The following creates a fresh GitHub repo with GitHub CLI (recommended)
Note: you need to have installed the GitHub CLI and authenticated it with your GitHub account.
Option 1 (RStudio): Open the folder you created in RStudio using the New Project graphical interface menu
Option 2 (RStudio - recommended): Open the folder you created in RStudio using the rstudioapi
package, e.g. with the following command in R Console:
Option 3: (VS Code): Open the folder you created in VS Code using the File > Open Folder menu
Option 4 (VS Code - recommended):
See practical at tdscience.github.io/dstp/s1
Any questions before the lunch break?
Put your hands up, ask another participant, or use the github.com/tdscience/dstp/discussions
See you back here at 13:30
OD data is implicitly geographic (Lovelace, Félix, and Carlino 2022)
See Yang’s slides in link at tdscience.github.io/dstp/s2
Work through the exercises in the Session 2 workbook
Any questions before the break (15:00-15:15)?
15:00-15:15 Break and refreshments