Skip to content

Where should Hubway build their next station? This repository will contain a web app that will assist Hubway in answering this question.

Notifications You must be signed in to change notification settings

sbussmann/insight-bikeshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grow Hubway: identifying the best locations for new Hubway stations

Motivation

Hubway is Boston's bike-sharing system. It started operations in July 2011 and the number of people taking rides every day has been growing year over year since its inception. Now is an excellent time for Hubway to think carefully about growing their system of bike stations. The purpose of this software is to provide a quantitative prediction of the best locations in the greater Boston area for new Hubway stations.

Overview of workflow

views.py: top-level routine that runs in the background on the AWS EC2 instance. Generates web pages and their content dynamically using Flask. Calls gridpredict to do most of the heavy lifting.

gridpredict.py: takes an input location from views.py and runs several subroutines that:

  1. obtain the predicted rides per day at that location;
  2. obtain the rank of the proposed location compared to existing stations;
  3. redraw the map of predicted rides per day in a subgrid centered on the new location and serve the resulting image to Flask for display in the output web page;
  4. store the results in a database.

About

Where should Hubway build their next station? This repository will contain a web app that will assist Hubway in answering this question.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages