dirty_cat.datasets.fetch_road_safety

dirty_cat.datasets.fetch_road_safety(load_dataframe=True)[source]

Fetches the road safety dataset (classification), available at https://openml.org/d/42803

Description of the dataset: > Data reported to the police about the circumstances of personal injury road accidents in Great Britain from 1979, and the maker and model information of vehicles involved in the respective accident. This version includes data up to 2015.

Returns:

  • DatasetAll – If load_dataframe=True

  • DatasetInfoOnly – If load_dataframe=False