PHP CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
backend
js
.gitignore
README.md
apple-touch-icon-precomposed.png
apple-touch-icon.png
chart.php
favicon.ico
indapi.php
indego.css
index.php
vml-radial-gradient.png

README.md

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