<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/when-are-citi-bikes-faster-than-taxis-in-new-york-city/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://toddwschneider.com/posts/taxi-vs-citi-bike-nyc/"> Category: R | Todd W. Schneider</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Every day in New York City, millions of commuters take part in a giant race to determine transportation supremacy. Cars, bikes, subways, buses, ferries, and more all compete against one another, but we never get much explicit feedback as to who “wins.” I’ve previously written about NYC’s public <a rel="nofollow" href="http://toddwschneider.com/posts/analyzing-1-1-billion-nyc-taxi-and-uber-trips-with-a-vengeance/" target="_blank">taxi data</a> and <a rel="nofollow" href="http://toddwschneider.com/posts/a-tale-of-twenty-two-million-citi-bikes-analyzing-the-nyc-bike-share-system/" target="_blank">Citi Bike share data</a>, and it occurred to me that these datasets can help identify who’s fastest, at least between cars and bikes. In fact, I’ve built an interactive guide that shows when a Citi Bike is faster than a taxi, depending on the route and the time of day.</p>
<p>The <a rel="nofollow" href="http://toddwschneider.com/posts/taxi-vs-citi-bike-nyc/#data-and-methodology" data-notab="true" target="_blank">methodology</a> and findings will be explained more below, and all code used in this post is available open-source <a rel="nofollow" href="https://github.com/toddwschneider/nyc-taxi-data/tree/master/citibike_comparison" target="_blank">on GitHub</a>.</p>
<h2>Interactive guide to when taxis are faster or slower than Citi Bikes</h2>
<p>Pick a starting neighborhood and a time. The map shows whether you’d expect get to each neighborhood faster with a taxi (yellow) or a Citi Bike (dark blue).</p>