Skip to content
TAXI NYC ’19, home

Optional

AI settings

Everything on this site works without AI. To try “Ask the data”, paste your own API key. Your browser sends it straight to the provider you pick. It is never sent to this site's server, never logged, and calls are billed to your account.

Provider
AI provider

Default. Cheapest and fastest; $1 / $5 per million input / output tokens.

No key saved for this provider. Create one at platform.claude.com. A key with a low spending limit is a good idea.

Residual plausibility checks

Implausible records the 2021 rules let through, counted on the final analysis dataset by vendor (reported, not removed).

dq_residual_checks, page 1 of 1
keyTEXTlabelTEXTconditionTEXTreasonTEXTrowsINTEGERshareREALvendor1_rowsINTEGERvendor2_rowsINTEGERvendor1_tripsINTEGERvendor2_tripsINTEGER
speed_over_60mphAverage speed above 60 mphtrip_distance / (travel_time / 60.0) > 60New York City's top speed limit is 50 mph; an average above 60 over a whole trip points to a distance or clock error.334740.0004468509244363662452689482606864248842247
under_one_minuteShorter than one minutetravel_time < 1Rides under a minute are usually cancelled at the kerb or a meter started by mistake.1919920.00256293848014539541951377972606864248842247
tiny_distance_long_timeUnder 0.1 mile but over 30 minutestrip_distance < 0.1 AND travel_time > 30A meter that recorded time but almost no distance: a stuck odometer or a waiting fare.4750.00000634086721357692104752606864248842247
over_50_milesLonger than 50 milestrip_distance > 50Possible for out-of-town fares, but rare enough to check.1840.0000024562517206276915471372606864248842247
total_excludes_congestionTotal leaves out the congestion surchargecongestion_surcharge > 0 AND abs(total_amount - (fare_amount + extra + mta_tax + tip_amount + tolls_amount + improvement_surcharge)) <= 0.01The total equals every other charge but not the $2.50 congestion surcharge recorded on the same row. A vendor reporting convention rather than a pricing error, but any analysis of total fares by vendor would be off by $2.50.233976530.312339812173367762339764762606864248842247
total_other_mismatchTotal differs from the sum of its parts (other)abs(total_amount - (fare_amount + extra + mta_tax + tip_amount + tolls_amount + improvement_surcharge + congestion_surcharge)) > 0.01 AND NOT (congestion_surcharge > 0 AND abs(total_amount - (fare_amount + extra + mta_tax + tip_amount + tolls_amount + improvement_surcharge)) <= 0.01)The total should equal fare + extra + MTA tax + tip + tolls + improvement + congestion surcharges.1644430.002195181530952062301644432606864248842247
jfk_flat_fare_not_52Rate code 2 (JFK) fare not $52RatecodeID = 2 AND fare_amount <> 52The Manhattan-JFK flat fare was $52 throughout 2019.3520.000004698916335113844453072606864248842247
high_fare_per_mileStandard rate above $25 per mile (1 mile or more)RatecodeID = 1 AND trip_distance >= 1 AND fare_amount / trip_distance > 25At $2.50 a mile plus waiting time, a standard-rate fare far above $25 a mile is unlikely.4770.0000063675656018446131862912606864248842247