NYC Open Data – NYPD Motor Vehicle Collisions
- Rows
- 1,449,007
- Columns
- 29
- Data range
- 00:00:00 to 23:59:00
NYC vehicle collision records with crash date/time, borough, latitude, longitude, injuries, fatalities, and contributing factors. Millions of rows from 2012–present for time-series geospatial analysis.
AI analysis
NYC Open Data – NYPD Motor Vehicle Collisions: Analytical Overview
1. Dataset Representation and Correlation Value
This dataset, sourced from the NYC Open Data portal at data.cityofnewyork.us, represents the NYPD's official record of motor vehicle collisions across New York City's five boroughs, spanning from 2012 to the present day. With 1,449,007 rows and 29 columns capturing crash datetime, precise geospatial coordinates, injury/fatality breakdowns by victim type (pedestrian, cyclist, motorist), contributing factors, and vehicle classifications, this is an exceptionally rich resource for urban safety research. Its combination of temporal granularity (time-of-day resolution down to the minute, with 1,440 distinct crash times and 3,515 distinct crash dates) and geospatial precision makes it particularly well-suited for time-series analysis, hotspot mapping, and multivariate correlation studies. The dataset's ongoing maintenance by a municipal government publisher suggests regular updates and institutional accountability, lending it strong credibility for longitudinal research.
2. Data Quality Observations
The dataset carries a meaningful but manageable quality burden. Total null cells across 29 columns reach approximately 12.6 million, averaging roughly 434,000 nulls per column — a figure inflated heavily by sparse multi-vehicle columns. The most egregious nulls belong to the vehicle cascade fields: VEHICLE TYPE CODE 5 (99.5% null, 1,442,214 rows), CONTRIBUTING FACTOR VEHICLE 5 (99.5% null, 1,441,907 rows), and VEHICLE TYPE CODE 4 (98.3% null, 1,424,936 rows). These are structurally expected — most collisions involve only one or two vehicles — but analysts should treat these columns as conditional rather than standard features, using them only when filtering for multi-vehicle pile-ups. More concerning are the BOROUGH and ZIP CODE columns, each missing approximately 498,000 records (~34%), which significantly limits borough-level aggregations unless geographic imputation from latitude/longitude is applied. The LATITUDE and LONGITUDE fields share 132,091 nulls (~9.1%), meaning roughly 1 in 11 collisions cannot be mapped directly, an important caveat for any geospatial analysis. Duplicate row counts are pending Phase D reprocessing and should be verified before any record-count-sensitive analysis is performed, particularly given the near-unique COLLISIONID distribution (1,449,006 distinct values against 1,449,007 rows, with 1 null, strongly suggesting at most a single duplicate).
3. Key Column Distributions and Anomalies
The geospatial columns warrant immediate scrutiny. LATITUDE has a minimum of 0 and a mean of 40.587 against a median of 40.720, with a severe negative skew of −17.1 and 4,878 flagged outliers — the zero-value entries represent geocoding failures rather than real coordinates and should be nullified before mapping. LONGITUDE is similarly compromised, with a minimum of −201.36 (impossible for NYC, which sits near −74°) and a positive skew of 13.5 with 36,435 outliers; these corrupt values are roughly 7.5× more numerous than latitude outliers and represent a more serious data cleaning challenge. After filtering, the valid coordinate range (Q1/Q3: 40.667–40.772 lat, −73.972 to −73.865 lon) correctly captures the NYC metro area. On the injury side, NUMBER OF PERSONS INJURED has a mean of 0.340 and median of 0, with a skew of 3.89 and 27,754 outliers, confirming that the distribution is zero-inflated with a long right tail — most collisions produce no injuries, but a meaningful minority involve multiple casualties. NUMBER OF PERSONS KILLED is even more extreme at a skew of 33.4 (mean: 0.0016, max: 8), reflecting the rarity but real occurrence of fatal multi-fatality events. The CONTRIBUTING FACTOR VEHICLE 1 field has only 5,756 nulls (~0.4%), making it the most complete categorical descriptor and a strong candidate for factor analysis.
4. Recommended Join Key Columns
For cross-dataset correlation, CRASH DATE (0 nulls, 3,515 distinct dates) and CRASH TIME (0 nulls, 1,440 distinct times — flagged as the join key) form the strongest temporal join backbone, enabling merging with weather, traffic volume, or event data at daily or sub-daily resolution. ZIP CODE and BOROUGH are the natural administrative geography join keys, though their ~34% null rate requires imputation or a spatial join fallback using LATITUDE/LONGITUDE (after outlier removal) against a borough/neighborhood boundary shapefile. COLLISIONID serves as a reliable primary key for row-level linking to any supplementary NYPD or DOT datasets that share this identifier. For spatial joins specifically, the cleaned LATITUDE/LONGITUDE pair or the derived LOCATION field (also 132,091 nulls, consistent with coordinate nulls) should be used with a geospatial index to join against census tract, community district, or street-segment datasets.
5. Recommended Paired Datasets for Correlation Discovery
Several external datasets would unlock high-value correlations with this collision data. NOAA Local Climatological Data (LCD) for NYC — joinable on CRASH DATE and hour — would allow testing whether precipitation, temperature, visibility, or snow accumulation correlate with injury severity or crash frequency, a well-hypothesized but data-rich question here. NYC DOT Traffic Volume Counts, joinable on street name and date, would enable collision-rate normalization (crashes per vehicle-mile traveled) rather than raw counts, removing the confound that busier streets simply see more absolute crashes. NYC 311 Service Requests (street condition complaints, pothole reports) joined on ZIP CODE and date could surface infrastructure-collision linkages. U.S. Census Bureau ACS demographic and income data at the ZIP code or census tract level would support environmental justice analysis — testing whether lower-income or minority-majority neighborhoods see disproportionate pedestrian fatality rates. Finally, NYC Special Events permits or MTA subway ridership data could reveal whether large events or transit disruptions displace traffic and elevate collision risk in specific corridors, a particularly actionable insight for city planners.
Columns
- CRASH DATE (date)
- CRASH TIME (date)
- BOROUGH (string)
- ZIP CODE (integer)
- LATITUDE (decimal)
- LONGITUDE (decimal)
- LOCATION (string)
- ON STREET NAME (string)
- CROSS STREET NAME (string)
- OFF STREET NAME (string)
- NUMBER OF PERSONS INJURED (integer)
- NUMBER OF PERSONS KILLED (integer)
- NUMBER OF PEDESTRIANS INJURED (integer)
- NUMBER OF PEDESTRIANS KILLED (integer)
- NUMBER OF CYCLIST INJURED (integer)
- NUMBER OF CYCLIST KILLED (integer)
- NUMBER OF MOTORIST INJURED (integer)
- NUMBER OF MOTORIST KILLED (integer)
- CONTRIBUTING FACTOR VEHICLE 1 (string)
- CONTRIBUTING FACTOR VEHICLE 2 (string)
- CONTRIBUTING FACTOR VEHICLE 3 (string)
- CONTRIBUTING FACTOR VEHICLE 4 (string)
- CONTRIBUTING FACTOR VEHICLE 5 (string)
- COLLISION_ID (integer)
- VEHICLE TYPE CODE 1 (string)
- VEHICLE TYPE CODE 2 (string)
- VEHICLE TYPE CODE 3 (string)
- VEHICLE TYPE CODE 4 (string)
- VEHICLE TYPE CODE 5 (string)