Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ArrowInvalid
Message:      Failed to parse string: '     ' as a scalar of type double
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 623, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2246, in cast_table_to_schema
                  arrays = [
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2247, in <listcomp>
                  cast_array_to_feature(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1796, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1796, in <listcomp>
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2103, in cast_array_to_feature
                  return array_cast(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1798, in wrapper
                  return func(array, *args, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1950, in array_cast
                  return array.cast(pa_type)
                File "pyarrow/array.pxi", line 996, in pyarrow.lib.Array.cast
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/compute.py", line 404, in cast
                  return call_function("cast", [arr], options, memory_pool)
                File "pyarrow/_compute.pyx", line 590, in pyarrow._compute.call_function
                File "pyarrow/_compute.pyx", line 385, in pyarrow._compute.Function.call
                File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Failed to parse string: '     ' as a scalar of type double
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1438, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1050, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1898, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

CRASH DATE
string
CRASH TIME
string
BOROUGH
string
ZIP CODE
float64
LATITUDE
float64
LONGITUDE
float64
LOCATION
string
ON STREET NAME
string
CROSS STREET NAME
string
OFF STREET NAME
null
NUMBER OF PERSONS INJURED
int64
NUMBER OF PERSONS KILLED
int64
NUMBER OF PEDESTRIANS INJURED
int64
NUMBER OF PEDESTRIANS KILLED
int64
NUMBER OF CYCLIST INJURED
int64
NUMBER OF CYCLIST KILLED
int64
NUMBER OF MOTORIST INJURED
int64
NUMBER OF MOTORIST KILLED
int64
CONTRIBUTING FACTOR VEHICLE 1
string
CONTRIBUTING FACTOR VEHICLE 2
string
CONTRIBUTING FACTOR VEHICLE 3
string
CONTRIBUTING FACTOR VEHICLE 4
null
CONTRIBUTING FACTOR VEHICLE 5
null
COLLISION_ID
int64
VEHICLE TYPE CODE 1
string
VEHICLE TYPE CODE 2
string
VEHICLE TYPE CODE 3
string
VEHICLE TYPE CODE 4
null
VEHICLE TYPE CODE 5
null
09/11/2021
2:39
null
null
null
null
null
WHITESTONE EXPRESSWAY
20 AVENUE
null
2
0
0
0
0
0
2
0
Aggressive Driving/Road Rage
Unspecified
null
null
null
4,455,765
Sedan
Sedan
null
null
null
03/26/2022
11:45
null
null
null
null
null
QUEENSBORO BRIDGE UPPER
null
null
1
0
0
0
0
0
1
0
Pavement Slippery
null
null
null
null
4,513,547
Sedan
null
null
null
null
11/01/2023
1:29
BROOKLYN
11,230
40.62179
-73.970024
(40.62179, -73.970024)
OCEAN PARKWAY
AVENUE K
null
1
0
0
0
0
0
1
0
Unspecified
Unspecified
Unspecified
null
null
4,675,373
Moped
Sedan
Sedan
null
null
06/29/2022
6:55
null
null
null
null
null
THROGS NECK BRIDGE
null
null
0
0
0
0
0
0
0
0
Following Too Closely
Unspecified
null
null
null
4,541,903
Sedan
Pick-up Truck
null
null
null
09/21/2022
13:21
null
null
null
null
null
BROOKLYN BRIDGE
null
null
0
0
0
0
0
0
0
0
Passing Too Closely
Unspecified
null
null
null
4,566,131
Station Wagon/Sport Utility Vehicle
null
null
null
null
04/26/2023
13:30
null
null
null
null
null
WEST 54 STREET
null
null
0
0
0
0
0
0
0
0
Unspecified
Unspecified
null
null
null
4,623,759
Sedan
Box Truck
null
null
null
11/01/2023
7:12
null
null
null
null
null
HUTCHINSON RIVER PARKWAY
null
null
0
0
0
0
0
0
0
0
Following Too Closely
Driver Inattention/Distraction
null
null
null
4,675,709
Sedan
Station Wagon/Sport Utility Vehicle
null
null
null
11/01/2023
8:01
null
null
null
null
null
WEST 35 STREET
HENRY HUDSON RIVER
null
0
0
0
0
0
0
0
0
Failure to Yield Right-of-Way
null
null
null
null
4,675,769
Sedan
null
null
null
null
04/26/2023
22:20
null
null
null
null
null
null
null
null
0
0
0
0
0
0
0
0
Unspecified
null
null
null
null
4,623,865
Sedan
Pick-up Truck
null
null
null
09/11/2021
9:35
BROOKLYN
11,208
40.667202
-73.8665
(40.667202, -73.8665)
null
null
null
0
0
0
0
0
0
0
0
Unspecified
null
null
null
null
4,456,314
Sedan
null
null
null
null
12/14/2021
8:13
BROOKLYN
11,233
40.683304
-73.917274
(40.683304, -73.917274)
SARATOGA AVENUE
DECATUR STREET
null
0
0
0
0
0
0
0
0
null
null
null
null
null
4,486,609
null
null
null
null
null
04/14/2021
12:47
null
null
null
null
null
MAJOR DEEGAN EXPRESSWAY RAMP
null
null
0
0
0
0
0
0
0
0
Unspecified
Unspecified
null
null
null
4,407,458
Dump
Sedan
null
null
null
12/14/2021
17:05
null
null
40.709183
-73.956825
(40.709183, -73.956825)
BROOKLYN QUEENS EXPRESSWAY
null
null
0
0
0
0
0
0
0
0
Passing Too Closely
Unspecified
null
null
null
4,486,555
Sedan
Tractor Truck Diesel
null
null
null
12/14/2021
8:17
BRONX
10,475
40.86816
-73.83148
(40.86816, -73.83148)
null
null
null
2
0
0
0
0
0
2
0
Unspecified
Unspecified
null
null
null
4,486,660
Sedan
Sedan
null
null
null
12/14/2021
21:10
BROOKLYN
11,207
40.67172
-73.8971
(40.67172, -73.8971)
null
null
null
0
0
0
0
0
0
0
0
Driver Inexperience
Unspecified
null
null
null
4,487,074
Sedan
null
null
null
null
12/14/2021
14:58
MANHATTAN
10,017
40.75144
-73.97397
(40.75144, -73.97397)
3 AVENUE
EAST 43 STREET
null
0
0
0
0
0
0
0
0
Passing Too Closely
Unspecified
null
null
null
4,486,519
Sedan
Station Wagon/Sport Utility Vehicle
null
null
null
12/13/2021
0:34
null
null
40.701275
-73.88887
(40.701275, -73.88887)
MYRTLE AVENUE
null
null
0
0
0
0
0
0
0
0
Passing or Lane Usage Improper
Unspecified
null
null
null
4,486,934
Station Wagon/Sport Utility Vehicle
null
null
null
null
12/14/2021
16:50
QUEENS
11,413
40.675884
-73.75577
(40.675884, -73.75577)
SPRINGFIELD BOULEVARD
EAST GATE PLAZA
null
0
0
0
0
0
0
0
0
Turning Improperly
Unspecified
null
null
null
4,487,127
Sedan
Station Wagon/Sport Utility Vehicle
null
null
null
12/14/2021
8:30
null
null
null
null
null
broadway
west 80 street -west 81 street
null
0
0
0
0
0
0
0
0
Unsafe Lane Changing
Unspecified
null
null
null
4,486,634
Station Wagon/Sport Utility Vehicle
Sedan
null
null
null
12/14/2021
0:59
null
null
40.59662
-74.00231
(40.59662, -74.00231)
BELT PARKWAY
null
null
0
0
0
0
0
0
0
0
Unsafe Speed
null
null
null
null
4,486,564
Sedan
null
null
null
null
12/14/2021
23:10
QUEENS
11,434
40.66684
-73.78941
(40.66684, -73.78941)
NORTH CONDUIT AVENUE
150 STREET
null
2
0
0
0
0
0
2
0
Reaction to Uninvolved Vehicle
Unspecified
null
null
null
4,486,635
Sedan
Sedan
null
null
null
12/14/2021
17:58
BROOKLYN
11,217
40.68158
-73.97463
(40.68158, -73.97463)
null
null
null
0
0
0
0
0
0
0
0
Passing Too Closely
Unspecified
null
null
null
4,486,604
Tanker
Station Wagon/Sport Utility Vehicle
null
null
null
12/14/2021
20:03
BROOKLYN
11,226
40.65068
-73.95881
(40.65068, -73.95881)
null
null
null
4
0
0
0
0
0
4
0
Steering Failure
null
null
null
null
4,486,991
Sedan
null
null
null
null
12/14/2021
1:28
null
null
null
null
null
MEEKER AVENUE
LORIMER STREET
null
3
0
0
0
0
0
3
0
Traffic Control Disregarded
Unspecified
null
null
null
4,486,284
Station Wagon/Sport Utility Vehicle
Station Wagon/Sport Utility Vehicle
null
null
null
12/11/2021
19:43
BRONX
10,463
40.87262
-73.904686
(40.87262, -73.904686)
WEST KINGSBRIDGE ROAD
HEATH AVENUE
null
1
0
0
0
0
0
1
0
Unspecified
Unspecified
null
null
null
4,487,040
Station Wagon/Sport Utility Vehicle
Sedan
null
null
null
12/14/2021
14:30
null
null
40.783268
-73.82485
(40.783268, -73.82485)
WHITESTONE EXPRESSWAY
null
null
0
0
0
0
0
0
0
0
Following Too Closely
Unspecified
Unspecified
null
null
4,486,537
Station Wagon/Sport Utility Vehicle
Sedan
Sedan
null
null
12/11/2021
4:45
MANHATTAN
10,001
40.748917
-73.993546
(40.748917, -73.993546)
null
null
null
0
0
0
0
0
0
0
0
Following Too Closely
Unspecified
null
null
null
4,486,905
Station Wagon/Sport Utility Vehicle
null
null
null
null
12/14/2021
5:46
null
null
40.744644
-73.77041
(40.744644, -73.77041)
LONG ISLAND EXPRESSWAY
null
null
1
0
0
0
0
0
1
0
Other Vehicular
Other Vehicular
null
null
null
4,487,122
Station Wagon/Sport Utility Vehicle
Station Wagon/Sport Utility Vehicle
null
null
null
12/13/2021
6:30
QUEENS
11,372
40.75373
-73.88505
(40.75373, -73.88505)
82 STREET
34 AVENUE
null
0
0
0
0
0
0
0
0
Unspecified
null
null
null
null
4,486,967
Sedan
null
null
null
null
12/14/2021
3:43
null
null
40.804375
-73.93742
(40.804375, -73.93742)
LEXINGTON AVENUE
null
null
1
0
1
0
0
0
0
0
Unspecified
null
null
null
null
4,486,304
Station Wagon/Sport Utility Vehicle
null
null
null
null
12/13/2021
17:40
STATEN ISLAND
10,301
40.63165
-74.08762
(40.63165, -74.08762)
VICTORY BOULEVARD
WOODSTOCK AVENUE
null
1
0
0
0
0
0
1
0
Unspecified
Unspecified
null
null
null
4,487,001
Sedan
Sedan
null
null
null
12/14/2021
17:31
BROOKLYN
11,230
40.623104
-73.95809
(40.623104, -73.95809)
EAST 18 STREET
AVENUE K
null
1
0
1
0
0
0
0
0
Unspecified
null
null
null
null
4,486,516
Sedan
null
null
null
null
12/14/2021
20:13
BROOKLYN
11,215
40.66576
-73.9845
(40.66576, -73.9845)
null
null
null
0
0
0
0
0
0
0
0
Passing Too Closely
Unspecified
null
null
null
4,486,605
Sedan
null
null
null
null
12/14/2021
12:54
BROOKLYN
11,217
40.687534
-73.9775
(40.687534, -73.9775)
FULTON STREET
SAINT FELIX STREET
null
1
0
0
0
1
0
0
0
Unspecified
Unspecified
null
null
null
4,487,052
Sedan
Bike
null
null
null
12/14/2021
17:15
BROOKLYN
11,211
40.710957
-73.951126
(40.710957, -73.951126)
GRAND STREET
UNION AVENUE
null
1
0
0
0
0
0
1
0
Passing or Lane Usage Improper
Unspecified
null
null
null
4,486,556
Bus
Station Wagon/Sport Utility Vehicle
null
null
null
12/14/2021
22:49
BRONX
10,455
40.81813
-73.910126
(40.81813, -73.910126)
null
null
null
0
0
0
0
0
0
0
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,486,875
Taxi
null
null
null
null
12/12/2021
9:00
QUEENS
11,385
40.70447
-73.90148
(40.70447, -73.90148)
null
null
null
0
0
0
0
0
0
0
0
Passing Too Closely
Unspecified
null
null
null
4,486,933
Station Wagon/Sport Utility Vehicle
null
null
null
null
12/14/2021
16:25
null
null
40.784615
-73.953964
(40.784615, -73.953964)
EAST 93 STREET
null
null
1
0
0
0
1
0
0
0
Driver Inattention/Distraction
Driver Inattention/Distraction
null
null
null
4,486,581
Van
Bike
null
null
null
11/02/2023
9:20
null
null
null
null
null
35 AVENUE
null
null
0
0
0
0
0
0
0
0
Accelerator Defective
null
null
null
null
4,675,877
Station Wagon/Sport Utility Vehicle
null
null
null
null
04/14/2021
14:30
null
null
null
null
null
EASTCHESTER ROAD
PELHAM PARKWAY NORTH
null
0
0
0
0
0
0
0
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,407,520
Bus
null
null
null
null
12/16/2021
6:59
null
null
null
null
null
KINGSLAND AVENUE
MEEKER AVENUE
null
1
0
1
0
0
0
0
0
Traffic Control Disregarded
null
null
null
null
4,486,960
null
null
null
null
null
04/27/2023
15:40
null
null
null
null
null
WILLIAMSBURG BRIDGE OUTER ROADWA
null
null
1
0
0
0
0
0
1
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,624,078
Sedan
Sedan
null
null
null
09/22/2022
16:16
QUEENS
11,418
40.698257
-73.82632
(40.698257, -73.82632)
123 STREET
89 AVENUE
null
1
0
0
0
0
0
0
0
Passing or Lane Usage Improper
Unspecified
null
null
null
4,566,408
Sedan
E-Scooter
null
null
null
01/12/2023
21:00
BROOKLYN
11,208
null
null
null
null
null
null
0
0
0
0
0
0
0
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,598,234
Station Wagon/Sport Utility Vehicle
null
null
null
null
06/29/2022
16:00
null
null
null
null
null
WILLIAMSBURG BRIDGE OUTER ROADWA
null
null
1
0
0
0
0
0
1
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,542,336
Motorscooter
Station Wagon/Sport Utility Vehicle
null
null
null
04/15/2021
16:15
null
null
null
null
null
HUTCHINSON RIVER PARKWAY
null
null
0
0
0
0
0
0
0
0
Pavement Slippery
null
null
null
null
4,407,665
Station Wagon/Sport Utility Vehicle
null
null
null
null
07/07/2021
11:42
null
null
null
null
null
THROGS NECK BRIDGE
null
null
1
0
0
0
0
0
1
0
Unsafe Lane Changing
Unspecified
null
null
null
4,456,591
Sedan
Sedan
null
null
null
04/27/2023
22:13
null
null
null
null
null
PELHAM PARKWAY SOUTH
WILLIAMSBRIDGE ROAD
null
0
0
0
0
0
0
0
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,624,101
Sedan
null
null
null
null
07/12/2022
17:50
BROOKLYN
11,225
40.663303
-73.96049
(40.663303, -73.96049)
null
null
null
0
0
0
0
0
0
0
0
Oversized Vehicle
Unspecified
null
null
null
4,545,699
Sedan
null
null
null
null
03/23/2022
10:00
null
null
null
null
null
null
null
null
0
0
0
0
0
0
0
0
Pedestrian/Bicyclist/Other Pedestrian Error/Confusion
null
null
null
null
4,512,922
Bike
null
null
null
null
07/09/2021
0:43
null
null
40.720535
-73.88885
(40.720535, -73.88885)
ELIOT AVENUE
null
null
0
1
0
1
0
0
0
0
Unspecified
null
null
null
null
4,456,659
Bus
null
null
null
null
04/24/2022
16:45
null
null
40.607685
-74.13892
(40.607685, -74.13892)
STATEN ISLAND EXPRESSWAY
null
null
1
0
0
0
0
0
1
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,521,660
Station Wagon/Sport Utility Vehicle
Station Wagon/Sport Utility Vehicle
null
null
null
04/24/2022
4:49
null
null
40.855972
-73.869896
(40.855972, -73.869896)
BOSTON ROAD
BRONX PARK EAST
null
0
0
0
0
0
0
0
0
Unspecified
Unspecified
null
null
null
4,521,759
Station Wagon/Sport Utility Vehicle
Sedan
null
null
null
04/22/2022
17:17
null
null
40.790276
-73.9396
(40.790276, -73.9396)
EAST 107 STREET
null
null
1
0
1
0
0
0
0
0
Traffic Control Disregarded
null
null
null
null
4,522,226
E-Bike
null
null
null
null
04/24/2022
1:30
BROOKLYN
11,220
40.642986
-74.01621
(40.642986, -74.01621)
null
null
null
0
0
0
0
0
0
0
0
Unspecified
null
null
null
null
4,522,015
Station Wagon/Sport Utility Vehicle
null
null
null
null
04/24/2022
6:00
QUEENS
11,411
0
0
(0.0, 0.0)
null
null
null
0
0
0
0
0
0
0
0
Unsafe Lane Changing
Unspecified
null
null
null
4,521,460
Sedan
Station Wagon/Sport Utility Vehicle
null
null
null
04/24/2022
21:40
BRONX
10,452
40.843906
-73.92413
(40.843906, -73.92413)
BOSCOBEL PLACE
UNIVERSITY AVENUE
null
0
0
0
0
0
0
0
0
Alcohol Involvement
Unspecified
null
null
null
4,522,156
Taxi
Station Wagon/Sport Utility Vehicle
null
null
null
04/24/2022
17:45
BRONX
10,466
40.89481
-73.86183
(40.89481, -73.86183)
BRONX RIVER PARKWAY
EAST 233 STREET
null
0
0
0
0
0
0
0
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,521,633
Sedan
null
null
null
null
04/15/2022
6:11
null
null
0
0
(0.0, 0.0)
EAST 162 STREET
null
null
1
0
0
0
0
0
0
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,522,124
Station Wagon/Sport Utility Vehicle
E-Scooter
null
null
null
04/24/2022
9:51
null
null
40.85169
-73.95238
(40.85169, -73.95238)
CROSS BRONX EXPY
null
null
0
0
0
0
0
0
0
0
Unspecified
Unspecified
null
null
null
4,521,937
Sedan
null
null
null
null
04/24/2022
0:00
BRONX
10,453
40.861862
-73.91275
(40.861862, -73.91275)
MAJOR DEEGAN EXPRESSWAY
WEST FORDHAM ROAD
null
0
0
0
0
0
0
0
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,521,801
Sedan
null
null
null
null
03/08/2022
20:00
BROOKLYN
11,207
40.666256
-73.900215
(40.666256, -73.900215)
null
null
null
0
0
0
0
0
0
0
0
Unspecified
Unspecified
null
null
null
4,522,285
Sedan
null
null
null
null
04/24/2022
15:35
MANHATTAN
10,019
40.767242
-73.986206
(40.767242, -73.986206)
WEST 56 STREET
9 AVENUE
null
1
0
0
0
1
0
0
0
View Obstructed/Limited
Unspecified
null
null
null
4,521,853
Station Wagon/Sport Utility Vehicle
Bike
null
null
null
04/22/2022
12:00
BROOKLYN
11,230
40.62417
-73.97048
(40.62417, -73.97048)
AVENUE J
OCEAN PARKWAY
null
1
0
0
0
0
0
1
0
Unspecified
Unspecified
null
null
null
4,522,228
Sedan
Pick-up Truck
null
null
null
04/24/2022
13:10
null
null
40.679955
-73.97491
(40.679955, -73.97491)
SAINT MARKS AVENUE
6 AVENUE
null
0
0
0
0
0
0
0
0
Turning Improperly
Unspecified
null
null
null
4,521,702
Station Wagon/Sport Utility Vehicle
null
null
null
null
04/24/2022
4:20
BROOKLYN
11,221
40.692356
-73.94282
(40.692356, -73.94282)
THROOP AVENUE
DE KALB AVENUE
null
1
0
0
0
0
0
1
0
Traffic Control Disregarded
Unspecified
null
null
null
4,522,167
Station Wagon/Sport Utility Vehicle
Station Wagon/Sport Utility Vehicle
null
null
null
04/20/2022
19:37
null
null
40.78291
-73.98578
(40.78291, -73.98578)
HENRY HUDSON PARKWAY
null
null
0
0
0
0
0
0
0
0
Driver Inexperience
Unspecified
null
null
null
4,522,196
Sedan
Station Wagon/Sport Utility Vehicle
null
null
null
04/24/2022
16:14
null
null
40.67308
-73.91124
(40.67308, -73.91124)
ROCKAWAY AVENUE
null
null
0
0
0
0
0
0
0
0
Unspecified
Unspecified
null
null
null
4,521,758
Sedan
Sedan
null
null
null
04/12/2022
19:56
BROOKLYN
11,203
40.65011
-73.930214
(40.65011, -73.930214)
UTICA AVENUE
SNYDER AVENUE
null
1
0
1
0
0
0
0
0
Failure to Yield Right-of-Way
null
null
null
null
4,522,136
Station Wagon/Sport Utility Vehicle
null
null
null
null
04/24/2022
0:30
null
null
40.638382
-74.03668
(40.638382, -74.03668)
BELT PARKWAY
null
null
1
0
0
0
0
0
1
0
Driver Inattention/Distraction
Unspecified
Unspecified
null
null
4,521,469
Sedan
Sedan
Station Wagon/Sport Utility Vehicle
null
null
04/24/2022
20:13
QUEENS
11,419
40.69261
-73.81143
(40.69261, -73.81143)
null
null
null
0
0
0
0
0
0
0
0
Aggressive Driving/Road Rage
null
null
null
null
4,521,859
Sedan
null
null
null
null
04/24/2022
15:21
QUEENS
11,101
40.745235
-73.937706
(40.745235, -73.937706)
THOMSON AVENUE
SKILLMAN AVENUE
null
1
0
0
0
0
0
1
0
Driver Inattention/Distraction
Driver Inattention/Distraction
null
null
null
4,521,590
Sedan
Sedan
null
null
null
04/24/2022
10:27
null
null
null
null
null
VANWYCK EXPRESSWAY
109 AVENUE
null
1
0
0
0
0
0
1
0
Traffic Control Disregarded
Traffic Control Disregarded
null
null
null
4,521,902
Sedan
Station Wagon/Sport Utility Vehicle
null
null
null
04/24/2022
21:00
QUEENS
11,106
40.758705
-73.93793
(40.758705, -73.93793)
21 STREET
37 AVENUE
null
1
0
0
0
0
0
1
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,521,684
Sedan
Sedan
null
null
null
04/24/2022
21:40
QUEENS
11,418
40.695156
-73.845406
(40.695156, -73.845406)
JAMAICA AVENUE
102 STREET
null
0
0
0
0
0
0
0
0
Reaction to Uninvolved Vehicle
Unspecified
null
null
null
4,521,858
Ambulance
Station Wagon/Sport Utility Vehicle
null
null
null
04/07/2022
14:14
MANHATTAN
10,017
40.748158
-73.97033
(40.748158, -73.97033)
1 AVENUE
EAST 41 STREET
null
0
0
0
0
0
0
0
0
Driver Inattention/Distraction
Passing or Lane Usage Improper
null
null
null
4,522,242
Sedan
Station Wagon/Sport Utility Vehicle
null
null
null
06/29/2021
17:35
null
null
40.609535
-73.75372
(40.609535, -73.75372)
BEACH CHANNEL DRIVE
null
null
0
0
0
0
0
0
0
0
Passing or Lane Usage Improper
Unspecified
null
null
null
4,456,672
Station Wagon/Sport Utility Vehicle
E-Bike
null
null
null
12/09/2021
20:20
BROOKLYN
11,223
40.59207
-73.96299
(40.59207, -73.96299)
EAST 7 STREET
CRAWFORD AVENUE
null
1
0
0
0
1
0
0
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,485,150
Bike
null
null
null
null
12/09/2021
14:50
null
null
40.850018
-73.9107
(40.850018, -73.9107)
WEST 177 STREET
null
null
0
0
0
0
0
0
0
0
Unspecified
Unspecified
null
null
null
4,485,116
Station Wagon/Sport Utility Vehicle
Sedan
null
null
null
12/09/2021
2:45
QUEENS
11,422
40.653023
-73.73895
(40.653023, -73.73895)
149 AVENUE
HUXLEY STREET
null
1
0
0
0
0
0
1
0
Alcohol Involvement
null
null
null
null
4,485,026
Sedan
null
null
null
null
12/06/2021
22:16
null
null
40.62573
-73.9564
(40.62573, -73.9564)
AVENUE J
null
null
0
0
0
0
0
0
0
0
Unsafe Speed
Unspecified
null
null
null
4,485,528
Sedan
null
null
null
null
12/04/2021
12:00
BROOKLYN
11,213
40.665375
-73.934235
(40.665375, -73.934235)
CROWN STREET
SCHENECTADY AVENUE
null
0
0
0
0
0
0
0
0
Driver Inattention/Distraction
Driver Inattention/Distraction
null
null
null
4,485,333
Sedan
Ambulance
null
null
null
12/08/2021
16:20
MANHATTAN
10,128
40.776237
-73.943825
(40.776237, -73.943825)
EAST END AVENUE
EAST 88 STREET
null
0
0
0
0
0
0
0
0
Failure to Yield Right-of-Way
Unspecified
null
null
null
4,485,234
Taxi
Station Wagon/Sport Utility Vehicle
null
null
null
12/09/2021
23:15
BROOKLYN
11,218
40.640835
-73.98967
(40.640835, -73.98967)
12 AVENUE
41 STREET
null
1
0
0
0
1
0
0
0
Driver Inattention/Distraction
Driver Inattention/Distraction
null
null
null
4,485,355
Sedan
Bike
null
null
null
12/01/2021
14:34
QUEENS
11,692
40.593636
-73.797264
(40.593636, -73.797264)
null
null
null
0
0
0
0
0
0
0
0
Unsafe Speed
Unspecified
null
null
null
4,485,581
Sedan
Pick-up Truck
null
null
null
12/10/2021
7:00
QUEENS
11,420
40.674263
-73.80453
(40.674263, -73.80453)
null
null
null
0
0
0
0
0
0
0
0
Passing or Lane Usage Improper
Unspecified
null
null
null
4,485,866
Sedan
null
null
null
null
12/07/2021
9:20
null
null
40.70476
-73.96491
(40.70476, -73.96491)
TAYLOR STREET
null
null
0
0
0
0
0
0
0
0
Steering Failure
null
null
null
null
4,485,192
Station Wagon/Sport Utility Vehicle
null
null
null
null
12/09/2021
8:00
null
null
40.569626
-74.190735
(40.569626, -74.190735)
WEST SHORE EXPRESSWAY
null
null
0
0
0
0
0
0
0
0
Following Too Closely
Unspecified
null
null
null
4,485,214
Sedan
Station Wagon/Sport Utility Vehicle
null
null
null
12/07/2021
17:08
BROOKLYN
11,205
40.698463
-73.960205
(40.698463, -73.960205)
FLUSHING AVENUE
KENT AVENUE
null
0
0
0
0
0
0
0
0
Following Too Closely
Unspecified
null
null
null
4,485,437
null
null
null
null
null
12/05/2021
8:20
BROOKLYN
11,212
40.658413
-73.9171
(40.658413, -73.9171)
null
null
null
0
0
0
0
0
0
0
0
Unspecified
null
null
null
null
4,485,408
Sedan
null
null
null
null
12/08/2021
19:30
MANHATTAN
10,022
40.76175
-73.96899
(40.76175, -73.96899)
null
null
null
1
0
0
0
1
0
0
0
Following Too Closely
Reaction to Uninvolved Vehicle
null
null
null
4,484,852
Station Wagon/Sport Utility Vehicle
Bike
null
null
null
12/08/2021
12:00
MANHATTAN
10,011
40.736614
-73.9951
(40.736614, -73.9951)
null
null
null
1
0
0
0
1
0
0
0
Passing or Lane Usage Improper
Unspecified
null
null
null
4,485,542
Box Truck
Bike
null
null
null
12/10/2021
8:06
null
null
null
null
null
FLATBUSH AVENUE
GRAND ARMY PLAZA
null
0
0
0
0
0
0
0
0
Unsafe Lane Changing
Unspecified
null
null
null
4,485,170
Garbage or Refuse
Sedan
null
null
null
12/08/2021
19:30
null
null
null
null
null
OCEAN PARKWAY
null
null
4
0
0
0
0
0
4
0
Unsafe Speed
Unspecified
null
null
null
4,485,523
Taxi
Station Wagon/Sport Utility Vehicle
null
null
null
12/08/2021
22:37
STATEN ISLAND
10,314
40.62121
-74.12385
(40.62121, -74.12385)
null
null
null
0
0
0
0
0
0
0
0
Pavement Slippery
null
null
null
null
4,484,906
Sedan
null
null
null
null
12/08/2021
17:56
null
null
40.873737
-73.90593
(40.873737, -73.90593)
MAJOR DEEGAN EXPRESSWAY
null
null
0
0
0
0
0
0
0
0
Unspecified
null
null
null
null
4,485,036
Sedan
null
null
null
null
12/07/2021
7:50
null
null
40.66718
-73.95076
(40.66718, -73.95076)
CARROLL STREET
null
null
0
0
0
0
0
0
0
0
Driver Inattention/Distraction
Unspecified
null
null
null
4,485,772
Sedan
Sedan
null
null
null
12/08/2021
0:44
QUEENS
11,101
40.754295
-73.93946
(40.754295, -73.93946)
23 STREET
40 AVENUE
null
0
0
0
0
0
0
0
0
View Obstructed/Limited
null
null
null
null
4,485,565
Sedan
null
null
null
null
12/08/2021
15:00
null
null
40.588116
-73.97261
(40.588116, -73.97261)
AVENUE Y
null
null
0
0
0
0
0
0
0
0
Passing Too Closely
null
null
null
null
4,484,836
Sedan
null
null
null
null
12/10/2021
11:00
BRONX
10,461
40.854935
-73.85822
(40.854935, -73.85822)
null
null
null
0
0
0
0
0
0
0
0
Oversized Vehicle
Unspecified
null
null
null
4,485,340
Station Wagon/Sport Utility Vehicle
Station Wagon/Sport Utility Vehicle
null
null
null
End of preview.

πŸš— NYC Vehicle Crashes Dataset

This dataset contains detailed records of vehicle collisions in New York City, made available for public use by the NYC Open Data initiative. The source CSV file is NYC_Vehicle_Collisions.csv, and this dataset is now accessible via the Hugging Face Datasets Hub.

πŸ“ Dataset Structure

Each row represents a reported vehicle crash incident and includes fields such as:

  • CRASH_DATE
  • CRASH_TIME
  • BOROUGH
  • ZIP CODE
  • LATITUDE
  • LONGITUDE
  • ON STREET NAME
  • CROSS STREET NAME
  • OFF STREET NAME
  • NUMBER OF PERSONS INJURED
  • NUMBER OF PERSONS KILLED
  • NUMBER OF PEDESTRIANS INJURED
  • NUMBER OF PEDESTRIANS KILLED
  • NUMBER OF CYCLIST INJURED
  • NUMBER OF CYCLIST KILLED
  • NUMBER OF MOTORIST INJURED
  • NUMBER OF MOTORIST KILLED
  • CONTRIBUTING FACTOR VEHICLE 1
  • CONTRIBUTING FACTOR VEHICLE 2
  • CONTRIBUTING FACTOR VEHICLE 3
  • CONTRIBUTING FACTOR VEHICLE 4
  • CONTRIBUTING FACTOR VEHICLE 5
  • COLLISION_ID
  • VEHICLE TYPE CODE 1
  • VEHICLE TYPE CODE 2
  • VEHICLE TYPE CODE 3
  • VEHICLE TYPE CODE 4
  • VEHICLE TYPE CODE 5

This dataset is intended for analysis, visualization, machine learning, or policy research related to road safety and traffic incidents.


πŸ“₯ Getting Started

Step 1: Install datasets library

If you haven’t already:

pip install datasets

Step 2: Load the Dataset from Hugging Face

Use the following Python code to load the dataset:

from datasets import load_dataset

dataset = load_dataset("langutang/nyc-vehicle-crashes")

# View first row
print(dataset['train'][0])

Replace "your-username" with your actual Hugging Face username or organization name if applicable.

Optional: Load Specific Splits (if defined)

If the dataset is split into train, test, or other subsets, you can access them like:

train_data = dataset['train']
test_data = dataset['test']

πŸ“Š Example Use Case

import pandas as pd

# Convert to pandas DataFrame
df = dataset['train'].to_pandas()

# Analyze crashes by borough
print(df['BOROUGH'].value_counts())

πŸ“Ž Citation & Source

Original data provided by: NYC Open Data – Motor Vehicle Collisions

If you use this dataset in your research or application, please cite the source and the Hugging Face repository.


🀝 Contributions

If you'd like to improve or extend this dataset (e.g., preprocessing, cleaning, or labeling), feel free to open a PR or discuss it in the Discussions tab.


πŸ“¬ Contact

Questions or suggestions? Reach out on Hugging Face or submit an issue in the repo.

Downloads last month
8