Skip to content

Efficient database schema design and query analysis for chicago bus stop and routing data

Notifications You must be signed in to change notification settings

harrydurbin/chicago-bus-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database schema optimization

Created an efficient database schema to store raw bus data into postgres/postgis to allow efficient queries. The new database uses foreign key indexes to improve performance and eliminates repeating groups to make it easier to investigate data with SQL queries. Bus stops were compared with passing routes to find routes with the most stops and stops with the most passing routes. Each route was analyzed to find which route had the highest amount of cumulative boardings, alightings, and stops, which may make it an ideal candidate to provide an express bus on the same route. Interactive Maps indicating the busiest bus stops and longest bus routes were created.
Links:


Figure 1: Database schema design


Figure 2: Screenshot of Busiest Bus Stops Map (number of routes associated with each stop)



About

Efficient database schema design and query analysis for chicago bus stop and routing data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published