A comprehensive economic analysis of Oman using World Bank data, with comparisons to other GCC countries. This project demonstrates Python data analysis skills with real-world economic data.
This project analyzes Oman's economic performance across multiple dimensions:
- GDP and economic growth trends
- Trade and export patterns
- Employment and labor market
- Inflation and price stability
- Regional comparison with GCC countries
Understanding Oman's economic position is crucial for:
- Business investment decisions
- Policy analysis
- Regional economic planning
- Career opportunities in data analytics
oman-economic-analysis/
├── README.md
├── requirements.txt
├── LICENSE
├── data/
│ ├── raw/ # Downloaded World Bank data
│ └── processed/ # Cleaned and transformed data
├── notebooks/
│ ├── 01_data_collection.ipynb # Data fetching from World Bank API
│ ├── 02_gdp_analysis.ipynb # GDP and growth analysis
│ ├── 03_trade_analysis.ipynb # Trade and exports
│ └── 04_gcc_comparison.ipynb # Regional comparison
├── src/
│ ├── __init__.py
│ ├── data_collector.py # World Bank API wrapper
│ ├── data_processor.py # Data cleaning utilities
│ └── visualizations.py # Chart generation
├── outputs/
│ └── charts/ # Generated visualizations
└── reports/
└── key_findings.md # Analysis summary
git clone https://github.com/yourusername/oman-economic-analysis.git
cd oman-economic-analysispip install -r requirements.txt# Start with data collection
jupyter notebook notebooks/01_data_collection.ipynbOr run the data collector directly:
python -m src.data_collector| Metric | Value | GCC Rank |
|---|---|---|
| GDP | ~$85B | 6th |
| GDP per Capita | ~$19,000 | 4th-5th |
| GDP Growth (avg) | 3-4% | Variable |
| Oil Dependency | 25-40% of GDP | Moderate |
-
Oil Dependency: Oman's economy remains significantly tied to oil prices, though diversification efforts are ongoing through Vision 2040.
-
GCC Position: While Oman has the smallest economy in the GCC, it maintains competitive GDP per capita above Bahrain.
-
Growth Volatility: GDP growth shows strong correlation with global oil prices, with notable contractions in 2015-2016 and 2020.
-
Diversification Progress: Non-oil sectors including tourism, logistics, and manufacturing are growing.
This project uses the World Bank Open Data API, which provides free access to:
- GDP and growth indicators
- Trade statistics
- Employment data
- Inflation metrics
- Population statistics
API Documentation: https://datahelpdesk.worldbank.org/knowledgebase/articles/889392
| Country | Code | Region |
|---|---|---|
| Oman | OMN | GCC |
| Saudi Arabia | SAU | GCC |
| United Arab Emirates | ARE | GCC |
| Qatar | QAT | GCC |
| Kuwait | KWT | GCC |
| Bahrain | BHR | GCC |
The analysis covers 20+ World Bank indicators:
NY.GDP.MKTP.CD- GDP (current US$)NY.GDP.MKTP.KD.ZG- GDP growth (annual %)NY.GDP.PCAP.CD- GDP per capita
NE.EXP.GNFS.ZS- Exports (% of GDP)NE.IMP.GNFS.ZS- Imports (% of GDP)BN.CAB.XOKA.CD- Current account balance
SL.UEM.TOTL.ZS- Unemployment rateSL.TLF.TOTL.IN- Labor force
FP.CPI.TOTL.ZG- Inflation rateNY.GDP.PETR.RT.ZS- Oil rents (% of GDP)
The project generates various charts including:
- GDP trend analysis
- GCC comparison bar charts
- Trade balance over time
- Oil dependency trends
- Inflation heatmaps
- Python 3.10+
- pandas - Data manipulation
- numpy - Numerical operations
- matplotlib - Static visualizations
- seaborn - Statistical plots
- requests - API calls
- jupyter - Interactive notebooks
from src.data_collector import OmanDataCollector
collector = OmanDataCollector()
df = collector.fetch_oman_data(start_year=2000, end_year=2023)
print(df.head())from src.visualizations import EconomicVisualizer
viz = EconomicVisualizer()
viz.plot_time_series(gdp_data, title='Oman GDP Trend', ylabel='Billion USD')from src.data_processor import DataProcessor
processor = DataProcessor()
df = processor.load_data('gcc_economic_data.csv')
latest = processor.get_latest_values(df, 'OMN')- Add interactive Plotly dashboards
- Include more GCC-specific data sources
- Add forecasting models
- Create Streamlit web app
- Add sector-specific analysis (tourism, logistics)
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
Created as part of a Data Analytics portfolio project focused on GCC economic analysis.
- World Bank for providing open access to economic data
- Oman Vision 2040 documentation for strategic context
- GCC statistical agencies for regional data
Star this repository if you find it useful for understanding GCC economics!