Analysis on Road accidents in Kenya from 2012 - 2023
# π¦ Road Accidents in Kenya (2012β2023) Analysis
This repository contains my end-to-end data analysis project exploring road crash data in Kenya (2012β2023).
### π Project Overview
The goal was to uncover insights into **when, where, and how** road accidents occur, and provide data-driven recommendations for road safety interventions.
**Tools Used:** Excel, R (tidyverse, lubridate, tmaptools), Tableau.
**Key Learnings from the Data Analysis Course:**
- Cleaning and transforming messy datasets using R.
- Extracting insights from temporal and spatial accident data.
- Storytelling with data using Tableau dashboards.
### π Assumptions
- The dataset does capture all the 47 counties in Kenya, just the counties that have major road networks
- Reverse geocoding introduced minor location inaccuracies due to API limits.
- Crash involvement by vehicle type is based on text-flag indicators (e.g., βcontains_motorcycle_wordsβ).
### π Outputs
- R Markdown report with the full analysis pipeline: π View Analysis Process
- Tableau Story dashboard (interactive): π View Tableau Story
### π Files
- `final_roadaccidents.csv` β Clean dataset.
- `analysis_report.Rmd` β Full R Markdown report.
- `final_roadaccidents.csv` β Dataset exported for Tableau.
### Official Certificate
π Certificate of Completion
π Credly Link