Un año en la vida de una estación de Bicing

Disponibilidad de bicicletas en Torrent de les Flors (plaça Rovira i Trias) para el año 2012-3.

Motivos:

En teoría esta tabla (rollover filas para número/hora) se actualizará cada 6 minutos con nuevos datos de Citybik.es durante poco más de un año. Sería sencillo poner todas las estaciones y unos gráficos bonitos, pero hoy quedan asuntos importantes de pizza y pelota para resolver.

Update

Google Spreadsheets + Zend broke down after only a few thousand iterations, so I restarted using a text file, which for the period of a year with a 6-minute sampling frequency gave a mean availability of 3.46 bikes and a 34.36% probability of finding no bikes at all.

Similar posts

Back soon


Comments

  1. You don’t mention that if there is one bike left it is usually broken. If you actually go and check I think you’ll find that global availability of at least one functional bike is probably less than 50%.

  2. @ANun: You also can’t take out bikes between 2 and 5, so the relatively high availability then skews the real overall picture.

  3. Haha, that didn’t take very long – the write script using Zend runs out of memory at 3668 rows or around 200kB spreadsheet size

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 30720 bytes) in /home/oreneta/ZendGdata/library/Zend/Validate/Hostname/Com.php on line 96

  4. Ha ha, the bastards changed the station ID from 221 to 227. It’ll show up when I do some proper diachronic charting, meanwhile 227 is now the number followed.

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