A script to grab Divvy station data at a regular interval and save it to a CSV.
Ian has been running this script since Divvy started. You can download the historical station data recorded by this script here:
All of the CSV files have the same set of columns (in this order):
Column | Description |
---|---|
timestamp | The timestamp for when this data point was published. The format yyyy-mm-dd hh:mm:ss . |
station_id | The integer Divvy station ID. |
bikes_available | The number of bikes available at this station at the published time. |
docks_available | The number of empty docks available at this station at the published time. |
total_docks | The total number of docks at this station at the published time. |
status | The status for the station. The various statuses aren't documented. |
These are gzipped CSV files that contains all datapoints from all stations for the given time period.
- All of 2013 (157MB)
- All of 2014 (512MB)
- January 2015 (45MB)
- February 2015 (42MB)
- March 2015 (49MB)
- April 2015 (52MB)
- May 2015 (69MB)
- June 2015 (111MB)
- July 2015 (123MB)
- August 2015 (108MB)
- September 2015 (121MB)
Stations have names, locations, and sizes. If any of those change, the script writes a line to the station metadata file. This file has the following columns:
Column | Description |
---|---|
timestamp | The timestamp for when this data point was published. The format yyyy-mm-dd hh:mm:ss . |
station_id | The integer Divvy station ID. |
total_docks | The total number of docks at this station at the published time. |
status | The status for the station. The various statuses aren't documented. |
latitude | The latitude for the station as reported by Divvy. |
longitude | The longitude for the station as reported by Divvy. |
station_name | The name of the station as reported by Divvy. |
You can download all available information about stations in one CSV file: