Bicing_on_Barcelona

Visualizing Barcelona’s Public Bikes Usage

Created in 2014 by Nikolay Nenov from Datalect – Original Post
http://www.nikefreerunshoesplus.com nike free 5.0 reviews
Did you know that Spain has the greatest number of bicycle sharing systems in the world? Having a high demand for these makes a lot a sense – the mild winter leaves one no bad-weather-excuses for not biking; and in the summer the bicycle is the most pleasant transport method for going to the beach. But if you have ever tried to go to the beach on the bici (that’s how the public bikes are called in Barcelona) on a lovely Sunday morning, you’ve probably stumbled on your closest station being empty. So you walk under the scorching Spanish sun to the next station, and quite possibly – to the one after that, until you can find a bicycle. Once you finally arrive to the beach, all the stations are now full, and there’s a line of people waiting to return their bicing.

Each time this happened to me, it got me thinking that there should be a way to forecast the demand in order to improve the supply. Fortunately, the guys at CityBikes have provided an API with the momentary availability of bikes. So, I scraped a several days worth of data, averaged the bikes per station and produced the following image.
http://www.airmaxfreedom.com nike air max
bici

The white dots are the stations that are on average (almost) full and the reds are (again almost) always empty.
Great, but this doesn’t help at all with the forecast, because even though the station which is closest to my apartment is in yellow (meaning that on average there are bikes), it is always empty in the morning and always full at night. The obvious solution would be to average the bikes on each station by time of the day and then create an animation with that. And I did. Here’s the result, conclusions and R source code to generate it.http://www.nikefreerunshoesplus.com nike free shoes




Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>