LIVE CITIBIKE DATA
After finding out that Citibike has an API that publishes live data of the availability of bikes at every station, I wanted to use that to show the flow of people in Manhattan throughout the day. I started out by filtering out any station that is not located in Manhattan and then ordering the stations from South to North.
Note that the Node server running the live site might not return anything if your corporate firewall is set to block non-standard ports. Try the Guest network!
WORKING WITH LIVE DATA
Version one was built to grab a snapshot of the Citibike API when the page loaded. While that showed the current state of the stations, it did not tell any story over time and didn't showcase any clear patterns. I attended the Visualized Conference in NYC and after seeing the team from Google responsible for developing The Arms Trade Globe and The Digital Attack Map speak about using live data, I was inspired to take this project further.
TRENDS OVER TIME WITH MONGODB
I learned Node.js and MongoDB and started scraping the Citibike API instead of calling it directly. This allowed me to save the data, check for changes, and serve new information to the front end. This enabled me to look at station history over time and have a real-time updating tool. The next step will be to animate the progress over time, creating a time-lapse of every station, similar to my NJ PATH Project.