Logo Lanfrica

ayoub-anhal/Analyse-Marche-VE-Maroc

Domaine:

environment and energy

Type de record:

software
Créateur:
ayo
Hôte:
A data pipeline and dashboard project for analyzing the electric vehicle (EV) market in Morocco using Airflow, Snowflake, Flask, and Docker. # 🚗⚡ Electric Vehicle Market Analysis in Morocco ## 📊 Project Overview A modern and automated platform for analyzing the electric vehicle market in Morocco, combining robust data infrastructure with an interactive dashboard. This solution enables tracking EV market evolution, identifying trends, and making strategic decisions based on up-to-date data. ## 🌟 Key Features - **Automated Collection**: Aggregation of data from multiple sources in a standardized format - **Orchestrated ETL**: Scalable data pipeline managed by Airflow in a containerized environment - **Optimized Cloud Storage**: Utilizing Snowflake for superior performance and availability - **Interactive Visualization**: Intuitive web dashboard presenting key insights on the market ## 🏗️ Technical Architecture ### 1. Data Collection and Ingestion ``` Data Sources (CSV/XLSX) → Airflow DAGs → Snowflake Data Warehouse ``` ### 2. Processing and Analysis ``` Snowflake → SQL Transformations → Analytical Models ``` ### 3. Visualization and Presentation ``` Snowflake → Flask API → HTML/CSS/JS Frontend → User Dashboard ``` ## 🚀 Installation and Deployment ### Prerequisites - Docker and Docker Compose - Snowflake Account (or access to an instance) - Python 3.8+ ### Quick Setup 1. **Clone the repository** ```bash git clone github.com cd morocco-ev-analysis ``` 2. **Environment setup** ```bash cp .env.example .env # Edit environment variables in .env ``` 3. **Start services** ```bash docker-compose up -d ``` 4. **Access interfaces** - Airflow UI: `localhost` - EV Dashboard: `localhost` ## 💻 Usage ### Electric Vehicle Dashboard The web dashboard offers several analytical views: - **Market Overview**: Sales trends and registrations - **Model Analysis**: Comparison of vehicles available in Morocco - **Charging Infrastructure**: Mapping of charging stations - **Future Projections**: Estimates based on historical data ### Airfl …