using kaggle data to predict south Africa road traffic accident severity
# prediction-of-road-traffic-accident-severity
# South Africa Road Accidents Dataset
This repository contains the South Africa Road Accidents dataset from Kaggle, along with scripts, analysis, and documentation. It is intended for use in data exploration, visualization, and modeling of road traffic safety.
you can download dataset from :
kaggle.com
---
## Table of Contents
- Dataset Description
- Data Fields / Schema
- Usage / Examples
- Prerequisites
- How to Set Up / Run
---
## Dataset Description
- **Name**: South Africa Road Accidents Dataset
- **Source**: Kaggle — “Car Accidents - South Africa Road Accidents Dataset” by user Velile. :contentReference[oaicite:0]{index=0}
- **Time span**: Data is from the year 2017. :contentReference[oaicite:1]{index=1}
- **Format**: Excel file (`South Africa Road Accidents Dataset - 2017.xlsx`) ~ ~44 KB. :contentReference[oaicite:2]{index=2}
- **Purpose**: Records of road accidents in South Africa, useful for analyses such as accident frequency, severity, time-of-day effects, spatial distribution, correlation with environmental or road conditions, etc.
---
## Data Fields / Schema
Below are typical columns you may find in the dataset. (Please verify with the actual file since exact names / data cleaning may change.)
| Column | Description |
|---|---|
| Accident_ID | Unique identifier for the accident record |
| Date | Date on which the accident occurred |
| Time | Time of the accident |
| Location / Province / City | Spatial information — province or locality where it happened |
| Road_Type or Road_Condition | Type of road, surface condition, etc. |
| Weather | Weather conditions at time of accident |
| Vehicle_Type | The kind of vehicle(s) involved |
| Severity | Severity or type of injuries / fatalities |
| Number_of_Casualties | Number of people injured or killed |
| Other contributing factors | Eg. visibility, driver error, etc. |
---
## Usage / Examples …