capital bikeshare rides

The DC Metro is horribly unreliable and traffic on the roads can be infuriatingly slow. So I bike.

I use Capital Bikeshare to get around DC and on their website I can access the data from every ride I’ve taken. I pulled the XML data on the latitude and longitude for each of the 352 bike stations and using R I matched those locations with data from my rides. Then I separated my weekday and weekend rides and mapped them onto a street map of DC. The result isn’t that pretty but it’s my first attempt at using XML data.


My weekday rides are mostly to the same place – work – and therefore the distance is clustered around 1.3 miles, whereas on the weekends I venture out a bit farther and take more short trips.

Leave a Reply

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