Hands-on Tutorials

Using Python and Unfolded to visualize RTD’s real-time bus data feeds

  • Schedule data, including the full schedule and route configuration
  • Real-time data for RTD bus services, including information about arrival/departure predictions and vehicles locations as GTFS real-time feeds
Final Visualization using Unfolded (Image by Abdullah Kurkcu)

An Empirical Analysis of Snowfall Events on Macroscopic Traffic Variables

Photo by Brett Sayles from Pexels
  • ATR Traffic…

NYC taxi data visualization

Source: https://eng.uber.com/h3/

  • Node.js
  • webpack
  • Mapbox Access Key
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm install --save deck.gl luma.gl

# Read the input into a dataframe df <- read.csv("../Data/pings.csv", head=TRUE, skip=1) # Check the class of the RecordedAtTime column class(df$RecordedAtTime)## [1] "factor"# convert the class of the RecordedAtTime column 
df$RecordedAtTime <- as.POSIXlt(df$RecordedAtTime)
# Extract hour from the column head(df$RecordedAtTime$hour)## [1] 7 8 7 8…

sudo nano /etc/machine-info
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install sqlite3
sudo apt-get install python-pcapy
sudo apt-get install libssl-dev # you have to install this
sudo apt-get install sqlite3 build-essential libssl-dev libnl-3-dev libnl-genl-3-dev install python-pcapy PyOBEX PyBluez python-bluetooth ethtool
wget http://download.aircrack-ng.org/aircrack-ng-1.2-rc4.tar.gz
tar -zxvf aircrack-ng-1.2-rc4.tar.gz
cd aircrack-ng-1.2-rc4
sudo make install
sudo airmon-ng start wlan0
sudo raspi-config
sudo apt-get install iw
fix the date
sudo dpkg-reconfigure tzdata
sudo crontab -e@reboot sh /home/pi/wifi/launcher.sh >/home/pi/wifi/logs/cronlog 2>&1Dropbox Uploader
git clone https://github.com/andreafabrizi/Dropbox-Uploader.git
cd Dropbox-Uploader
Send Bluetooth Message sudo apt-get install python-setuptools python-dev build-essential
sudo pip install PyOBEX

Abdullah Kurkcu

Lead Traffic Modeler @Ulteig

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store