Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

ericoc/indegophp.ericoc.com

Repository files navigation

indego.ericoc.com

About

Since I previously made an Indego PHP library for Philadelphias bike share, I decided to use the library to generate pretty current and historical graphs of bicycle availability at https://indego.ericoc.com/

I was inspired by the awesome graphs showing the availability of bikes at each station during commuting times on Randal Olsons blog here!

Background

I have been running this script as a cron job on my personal server. It has been collecting data from the Philly Indego Bike Share API and storing that data to a local MySQL database for just over a year. I can tell you how many bikes and empty docks were at each bike-share station in Philadelphia (at the 10 minute intervals, anyways) since November of last year (2015). As of November 2016, I have recorded about 4.5 million rows totaling ~180MB and I will soon hit 50,000 records for each bike-share station!

With the data that I have recorded from the Indego API, I use Highcharts to generate historical graphs of each station. I even got to write this blog post (for the Highcharts blog)!

More Information