# Ghana Import Trade Analysis(2021-2025)
### Partner Concentration, Regional Shifts & Trend Insights - SQL + Tableau
---
## π Project Overview
This project analyzes Ghana's import trade with the rest of the world between 2021 and 2025, using UN Comtrade partner-reported ("mirror") trade data. It was built end-to-end β from raw CSV cleanup through SQL Server analysis to an interactive Tableau dashboard β to answer a real business/policy question:
> **How has Ghana's import profile shifted over 5 years, which trading partners matter most, and where does that concentration create risk?**
Every step is documented below and in `(
github.com)`, including the mistakes and fixes along the way β the goal is a project that's fully reproducible and honest about its process, not just a polished end result.
---
## π§° Tools Used
| Tool | Purpose |
|---|---|
|Microsoft Excel|Data cleaning|
| Microsoft SQL Server / SSMS | Data cleaning, consolidation, analytical queries (T-SQL) |
| Tableau (Public) | Interactive dashboard and visualization layer |
| UN Comtrade | Source data (public trade statistics) |
---
## ποΈ Repository Structure
```
ghana-trade-analysis/
βββ README.md
βββ docs/
β βββ steps_log.md <- full chronological log, including issues & fixes
β βββ report.docx <- written findings report
βββ sql/
β βββ 01_import_verification.sql
β βββ 02_consolidation.sql
β βββ 03_region_lookup_build.sql
β βββ 04_analysis_top_partners.sql
β βββ 05_analysis_yoy_growth.sql
β βββ 06_analysis_concentration.sql
β βββ 07_analysis_regional_rollup.sql
β βββ 08_analysis_rank_shifts.sql
β βββ 09_analysis_data_quality.sql
βββ exports/
β βββ yearly_totals.csv
β βββ top15_concentration.csv
β βββ regional_rollup.csv
β βββ rank_shifts.csv
βββ dashboard/
βββ ghana_trade_dashboard.twbx <- Tableau Public workbook
```
---
## π Data Source
Five annual extracts from **UN Comtr β¦