This project aims to analyze road accident data to identify patterns and trends that can be used to improve road safety and reduce the number of casualties. The project uses a variety of data analysis techniques, including descriptive statistics, and data visualization.
Road Accident Data: The primary dataset used for this analysis is the “Road Accident.csv” file, containing detailed information about the company employee.
The data includes information on the following variables:
Once the data was collected, it was necessary to clean and prepare it for analysis. This involved removing any duplicate or incomplete records, and converting the data into a format that could be easily analyzed using statistical software.
Once the data was prepared, a variety of data analysis techniques were used to identify patterns and trends. This included:
EDA involved exploring the sales data to answer key questions, such as:
Include some interesting code/features worked with:
Total Accident
Accident Count = COUNTROWS(Road_Accident_Data)
Total Accident with police
Accidents with Police = COUNTROWS(FILTER(Road_Accident_Data,Road_Accident_Data[Police_Force] <> BLANK()))
Average Casualties
Average Casualties = AVERAGE(Road_Accident_Data[Number_of_Casualties])
Average Vehicles
Average Vehicles = AVERAGE(Road_Accident_Data[Number_of_Vehicles])
Percentage Accident with police
Percentage Accidents with Police = DIVIDE([Accidents with Police], [Accident Count])
Total Accident
select count(Accident_Date) as total_accident
from Road_Accident_Data
Total accident by day of week
select day_of_week, count(Accident_Date) as total_accident
from Road_Accident_Data
group by Day_of_Week
order by total_accident desc
Day of week with highest accident
select top 1 day_of_week
from Road_Accident_Data
group by Day_of_Week
order by count(Accident_Date) desc
Total accident by accident severity
select Accident_Severity, count(Accident_Date) as total_accident
from Road_Accident_Data
group by Accident_Severity
order by total_accident desc
Top 5 vehicle type involved in Accident
select top 5 Vehicle_Type, count(Accident_Date) as total_accident
from Road_Accident_Data
group by Vehicle_Type
order by total_accident desc
The analysis of the road accident data revealed a number of key findings, including:
Based on the findings of the data analysis, a number of recommendations were made for improving road safety, including:
https://github.com/Ferdin-dev/Road_Accident_Report/assets/55439765/02464856-12ac-49e4-b791-c9649c456be0