nyc_taxi_trips — New York City taxi and ride-hailing trips (2011-2025)
- Description
Daily flows of the trips of taxis and for-hire vehicles (ride-hailing services such as Uber and Lyft, car services, limousines) in New York City, between the 263 taxi zones of the city, from the trip records published by the NYC Taxi and Limousine Commission (TLC). The records are collected from the taximeters and the dispatching companies under the rules of the TLC, and contain the pickup and drop-off times and zones of each trip, and, depending on the service, the distance, fare and number of passengers. There is one network per service and calendar year:
yellow_<year>(2011 to 2025): yellow taxis ("medallion" cabs), which pick up passengers hailing them on the street anywhere in the city.green_<year>(2014 to 2025): green taxis ("boro" cabs), which can pick up hailing passengers only outside central Manhattan and the airports.fhv_<year>(2015 to 2025): for-hire vehicles dispatched by bases (car services, black cars, limousines; before February 2019 these include the trips of the ride-hailing companies, which were then separated into the next category). The zones of many of these trips are not known (see below), and their drop-off times are missing in some years.fhvhv_<year>(February 2019 to 2025): high-volume for-hire services, i.e. the ride-hailing companies with more than 10,000 trips per day (Uber, Lyft, Via and Juno).
Nodes are the taxi zones (all 265 zones of the TLC in every network, including the two pseudo-zones for unknown locations and for locations outside the city), and a directed edge from zone $i$ to zone $j$ aggregates the trips picked up in $i$ and dropped off in $j$ on the same day (the day of the pickup, in local time), so that two zones are connected by one edge per day with such trips (a multigraph), with the number of trips and their totals of distance, duration, passengers and fares; in
fhvhv_<year>, the trips of each company are aggregated separately. Individual trips (hundreds of millions per year) are not kept. Trips with a pickup time outside the year of the network (data errors, or trips of the last day of the previous year) are left out. Trips whose pickup or drop-off zone is missing in the data (null, or 0 in part of the data, and -1 in a fewfhvtrips of December 2017; a large fraction of thefhvtrips, whose drop-off zones are not recorded before 2017) are assigned to the zone of unknown locations (264), as the TLC does in the other records; otherwise the records are taken as they are, including obviously erroneous values (e.g. negative durations or fares). The yellow taxi records of 2009 and 2010, which give the pickup and drop-off coordinates instead of the zones, are not included; neither are the payment types, rate codes, tolls, surcharges and taxes, the vendors and dispatching bases, and the request flags of the trips. The zones are polygons (neighborhoods, airports, parks), so that the networks are not spatial in the sense of nearly planar networks: they are dense networks of flows. The TLC corrects its records retroactively, so the data are those of the time of download.The networks have the following properties:
- (Node)
location_id: the number of the taxi zone (from 1 to 265; 264 is unknown, 265 outside New York City). - (Node)
zone: the name of the zone (e.g.JFK Airport,Upper East Side North). - (Node)
borough: the borough of the zone (Manhattan,Brooklyn,Queens,Bronx,Staten Island,EWRfor Newark Airport). - (Node)
service_zone: the service zone (Yellow Zonefor central Manhattan,Boro Zoneelsewhere,Airports,EWR). - (Edge)
time: the day of the pickups, as the Unix time of its beginning (midnight in New York). - (Edge)
trips: the number of trips. - (Edge)
duration: the total duration of the trips (from pickup to drop-off) with a recorded drop-off time, in seconds (-1 if none of the trips has one, as in thefhvrecords of 2015 and 2016). - (Edge)
distance(notfhv): the total distance of the trips, in miles. - (Edge)
passengers(yellowandgreenonly): the total number of passengers, as entered by the drivers (missing counts are taken as zero). - (Edge)
fare(notfhv): the total of the fares (forfhvhv, the base passenger fares), in US dollars, before tolls, surcharges, taxes and tips. - (Edge)
tips(notfhv): the total of the tips, in US dollars (foryellowandgreen, only tips paid by credit card are recorded). - (Edge)
total_amount(yellowandgreenonly): the total amount charged to the passengers, in US dollars. - (Edge)
company(fhvhvonly): the ride-hailing company of the trips (Uber,Lyft,ViaorJuno).
- Tags
- Transportation Travel Multigraph Weighted Timestamps Temporal Metadata
- Added
- 2026-10-27
- Citation
-
- NYC Taxi and Limousine Commission, "TLC Trip Record Data." (2011-2025) www.nyc.gov
- Upstream URL OK
-
https://www.nyc.gov/site/tlc/about/tlc-trip-record-data.page
https://d37ci6vzurychx.cloudfront.net/trip-data/ - Upstream license
- NYC Open Data Terms of Use, https://www.nyc.gov/home/terms-of-use.page
- Networks
-
Tip: click on a column header to sort the list, or hover over it for a description.
Column legend
- $\left<k\right>$
- Mean degree
- $\sigma_k$
- Standard deviation of the degrees
- $\lambda_h$
- Largest eigenvalue of the Hashimoto (non-backtracking) matrix
- $\tau$
- Random walk mixing time
- $r$
- Degree assortativity
- $c$
- Global clustering coefficient
- $\oslash$
- (Pseudo-) diameter
- $S$
- Relative size of the largest component
- NPs
- Node properties
- EPs
- Edge properties
Name Nodes Edges $\left<k\right>$ $\sigma_k$ $\lambda_h$ $\tau$ $r$ $c$ $\oslash$ $S$ Kind Mode NPs EPs gt GraphML GML csv yellow_ 2011 265 4,591,684 17327.11 32852.56 212.90 0.91 -0.18 0.97 2 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 59.1 MiB 99.9 MiB 95.3 MiB 84.8 MiB yellow_ 2012 265 4,633,766 17485.91 33528.26 211.37 0.92 -0.21 0.97 2 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 59.3 MiB 100.4 MiB 95.9 MiB 85.1 MiB yellow_ 2013 265 4,535,425 17114.81 33485.36 208.82 0.81 -0.25 0.97 2 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 56.1 MiB 94.5 MiB 90.1 MiB 81.3 MiB yellow_ 2014 265 4,575,906 17267.57 33242.15 210.86 0.85 -0.23 0.97 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 56.8 MiB 95.6 MiB 91.2 MiB 82.2 MiB yellow_ 2015 265 4,334,961 16358.34 31919.05 208.65 0.90 -0.22 0.97 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 54.6 MiB 93.2 MiB 88.6 MiB 80.0 MiB yellow_ 2016 265 4,144,538 15639.77 31090.03 207.06 0.94 -0.22 0.97 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 52.6 MiB 89.0 MiB 84.6 MiB 76.4 MiB yellow_ 2017 265 3,787,708 14293.24 29552.63 203.56 0.92 -0.21 0.97 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 48.4 MiB 81.2 MiB 77.1 MiB 69.6 MiB yellow_ 2018 265 3,841,676 14496.89 28910.00 218.77 1.37 -0.16 0.98 2 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 48.1 MiB 81.2 MiB 77.0 MiB 69.3 MiB yellow_ 2019 265 3,838,687 14485.61 28049.64 226.49 0.90 -0.12 0.98 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 47.3 MiB 80.0 MiB 75.8 MiB 67.9 MiB yellow_ 2020 265 2,411,843 9101.29 19089.58 219.88 1.04 0.02 0.98 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 27.3 MiB 47.0 MiB 44.4 MiB 38.9 MiB yellow_ 2021 265 2,815,461 10624.38 22981.97 221.27 1.02 -0.06 0.98 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 33.4 MiB 57.4 MiB 54.3 MiB 48.0 MiB yellow_ 2022 265 2,669,484 10073.52 23997.34 208.16 0.98 -0.18 0.97 2 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 33.6 MiB 57.6 MiB 54.7 MiB 48.5 MiB yellow_ 2023 265 2,546,660 9610.04 22840.40 211.40 1.06 -0.13 0.97 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 32.8 MiB 56.2 MiB 53.5 MiB 47.3 MiB yellow_ 2024 265 2,927,379 11046.71 23367.61 223.52 1.19 -0.02 0.98 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 37.0 MiB 63.3 MiB 60.2 MiB 53.3 MiB yellow_ 2025 265 4,350,292 16416.20 27048.80 233.93 1.21 0.07 0.99 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 51.6 MiB 90.5 MiB 85.6 MiB 75.5 MiB green_ 2014 265 2,367,350 8933.40 16274.57 199.83 3.44 -0.16 0.95 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 23.2 MiB 42.2 MiB 39.8 MiB 35.3 MiB green_ 2015 265 2,510,217 9472.52 16855.19 200.69 3.37 -0.15 0.94 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 26.2 MiB 47.4 MiB 44.5 MiB 39.6 MiB green_ 2016 265 2,236,070 8438.00 15625.43 195.97 3.37 -0.16 0.94 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 23.4 MiB 42.2 MiB 39.6 MiB 35.2 MiB green_ 2017 265 1,815,711 6851.74 13124.97 185.29 3.91 -0.16 0.93 3 0.98 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 18.6 MiB 33.6 MiB 31.5 MiB 27.9 MiB green_ 2018 265 2,004,241 7563.17 12690.35 210.71 2.79 -0.14 0.95 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 19.4 MiB 35.5 MiB 33.2 MiB 29.4 MiB green_ 2019 265 1,800,904 6795.86 11203.10 218.32 2.55 -0.12 0.97 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 17.5 MiB 31.3 MiB 29.2 MiB 25.6 MiB green_ 2020 265 753,463 2843.26 5462.57 199.02 2.75 -0.05 0.95 3 0.98 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 7.0 MiB 12.6 MiB 11.8 MiB 10.1 MiB green_ 2021 265 627,507 2367.95 4800.19 196.32 2.91 -0.05 0.94 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 5.6 MiB 10.2 MiB 9.4 MiB 8.1 MiB green_ 2022 265 358,403 1352.46 3886.01 139.81 3.76 -0.10 0.86 4 0.98 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 3.7 MiB 6.5 MiB 6.1 MiB 5.2 MiB green_ 2023 265 308,110 1162.68 3529.38 132.03 3.98 -0.13 0.84 4 0.98 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 3.3 MiB 5.7 MiB 5.4 MiB 4.7 MiB green_ 2024 265 252,637 953.35 3070.68 124.80 4.32 -0.13 0.86 3 0.98 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 2.7 MiB 4.7 MiB 4.4 MiB 3.8 MiB green_ 2025 265 242,099 913.58 2877.92 134.28 3.67 -0.11 0.85 3 0.98 Directed Unipartite location_id zone borough service_zone time trips duration distance passengers fare tips total_amount 2.5 MiB 4.4 MiB 4.2 MiB 3.6 MiB fhv_ 2015 265 93,015 351.00 5704.21 1.00 0.03 -0.99 0.00 2 0.99 Directed Unipartite location_id zone borough service_zone time trips duration 130 KiB 535 KiB 512 KiB 433 KiB fhv_ 2016 265 95,134 359.00 5828.01 5.17 0.29 -0.99 0.00 2 0.99 Directed Unipartite location_id zone borough service_zone time trips duration 142 KiB 548 KiB 536 KiB 466 KiB fhv_ 2017 265 6,594,570 24885.17 22050.39 252.71 1.36 0.01 0.99 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration 19.7 MiB 46.5 MiB 41.6 MiB 40.4 MiB fhv_ 2018 265 12,634,749 47678.30 39075.20 256.72 1.22 0.01 0.99 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration 37.6 MiB 89.4 MiB 80.2 MiB 78.0 MiB fhv_ 2019 265 2,647,332 9989.93 11452.67 243.77 1.95 -0.00 0.98 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration 8.1 MiB 17.9 MiB 16.4 MiB 15.4 MiB fhv_ 2020 265 1,485,170 5604.42 9228.18 218.83 3.74 -0.10 0.94 2 0.99 Directed Unipartite location_id zone borough service_zone time trips duration 4.3 MiB 9.5 MiB 8.9 MiB 8.1 MiB fhv_ 2021 265 1,457,570 5500.26 9107.73 215.37 4.58 -0.09 0.93 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration 4.3 MiB 9.4 MiB 8.8 MiB 8.1 MiB fhv_ 2022 265 2,158,513 8145.33 11223.40 225.55 3.18 -0.07 0.96 2 0.99 Directed Unipartite location_id zone borough service_zone time trips duration 6.2 MiB 13.4 MiB 12.6 MiB 11.9 MiB fhv_ 2023 265 2,039,378 7695.77 11327.70 225.66 3.82 -0.05 0.96 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration 5.9 MiB 12.8 MiB 12.0 MiB 11.3 MiB fhv_ 2024 265 2,028,822 7655.93 10383.01 227.93 3.44 -0.07 0.96 2 0.99 Directed Unipartite location_id zone borough service_zone time trips duration 5.9 MiB 12.8 MiB 11.9 MiB 11.3 MiB fhv_ 2025 265 2,666,199 10061.13 12694.72 232.51 3.78 -0.05 0.98 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration 7.8 MiB 16.5 MiB 15.4 MiB 14.8 MiB fhvhv_ 2019 265 22,277,496 84066.02 92632.49 255.33 1.61 0.14 0.99 2 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance fare tips company 203.1 MiB 378.5 MiB 354.2 MiB 307.3 MiB fhvhv_ 2020 265 18,415,279 69491.62 71783.37 254.03 1.81 0.12 0.99 3 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance fare tips company 164.9 MiB 308.8 MiB 287.9 MiB 250.7 MiB fhvhv_ 2021 265 20,106,694 75874.32 73219.65 255.44 1.51 0.08 0.99 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance fare tips company 186.4 MiB 346.5 MiB 323.5 MiB 282.8 MiB fhvhv_ 2022 265 20,143,871 76014.61 70424.65 255.81 1.44 0.05 0.99 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance fare tips company 192.1 MiB 356.4 MiB 333.4 MiB 291.5 MiB fhvhv_ 2023 265 20,649,054 77920.96 70987.04 255.81 1.41 0.05 0.99 2 0.99 Directed Unipartite location_id zone borough service_zone time trips duration distance fare tips company 198.8 MiB 367.6 MiB 344.3 MiB 301.1 MiB fhvhv_ 2024 265 20,725,857 78210.78 70755.24 255.81 1.40 0.05 0.99 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance fare tips company 200.3 MiB 370.0 MiB 346.5 MiB 303.4 MiB fhvhv_ 2025 265 20,841,222 78646.12 70719.23 256.85 1.40 0.05 0.99 3 1.00 Directed Unipartite location_id zone borough service_zone time trips duration distance fare tips company 202.1 MiB 373.3 MiB 349.5 MiB 306.0 MiB - Ridiculograms*
-
yellow_2011 yellow_2012 yellow_2013 yellow_2014 yellow_2015 yellow_2016 yellow_2017 yellow_2018 yellow_2019 yellow_2020 yellow_2021 yellow_2022 yellow_2023 yellow_2024 yellow_2025 green_2014 green_2015 green_2016 green_2017 green_2018 green_2019 green_2020 green_2021 green_2022 green_2023 green_2024 green_2025 fhv_2015 fhv_2016 fhv_2019 fhv_2020 fhv_2021 fhv_2022 fhv_2023 fhv_2024 fhv_2025