Logo Lanfrica

YounesBoubbou/Morocco-Tourism-Forecasting

Domain:

socioeconomic
Creator:
You
Host:
An end-to-end time series analysis and forecasting pipeline for Morocco's tourism industry, featuring real-time data collection, advanced modeling, and interactive visualizations. # πŸ‡²πŸ‡¦ Morocco Tourism Forecasting An end-to-end time series analysis and forecasting pipeline for Morocco's tourism industry, featuring real-time data collection, advanced modeling, and interactive visualizations. ## πŸ“Š Project Overview This project analyzes 26 years of Morocco tourism data (1995-2020) to identify patterns, seasonal trends, and forecast future arrivals using multiple time series models. The pipeline demonstrates real-world data science applications including API integration, database management, statistical modeling, and interactive visualization. ### Key Findings - **Average Growth**: 3.8% yearly tourism growth - **Peak Season**: April (887K average arrivals) - **Seasonality**: 2x difference between peak and low seasons - **COVID Impact**: -78.1% drop in 2020 (captured in real data) ## πŸš€ Features - **Automated Data Collection**: Fetches real tourism data from World Bank API - **Time Series Analysis**: Seasonal decomposition, trend analysis, and pattern recognition - **Multiple Forecasting Models**: ARIMA and Exponential Smoothing with performance comparison - **Interactive Visualizations**: Plotly-powered dashboards with drill-down capabilities - **Database Integration**: SQLite storage for efficient data management - **Comprehensive Reporting**: Automated summary generation with key insights ## πŸ› οΈ Technology Stack - **Data Processing**: pandas, numpy - **Forecasting**: statsmodels, scikit-learn - **Visualization**: plotly, matplotlib, seaborn - **Database**: SQLite - **API Integration**: requests (World Bank API) ## πŸ“ Project Structure ``` morocco-tourism-forecasting/ β”œβ”€β”€ data/ β”‚ └── tourism.db # SQLite database β”œβ”€β”€ scripts/ β”‚ β”œβ”€β”€ tourism_forecaster.py # Main analysis engine β”‚ β”œβ”€β”€ tourism_visualizer.py # Visualization module β”‚ └── project_runner.py # One-click executor β”œβ”€β”€ visualizations/ β”‚ β”œβ”€β”€ tourism_timeseries.html # Interactive time series β”‚ β”œβ”€β”€ tourism_seasonal.html # Seasonal analysis β”‚ └── tour …

Licenses