Skip to content
Proyek

dain55788/ELT-Data-Pipeline

Lihat di GitHub

Tentang

ELT Data Pipeline implementation in Data Warehousing environment

Data dan analisis

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

ELT-Data-Pipeline πŸš€

ELT Data Pipeline Project implementation in Data Warehousing environment using DBT, Airflow, PostgreSQL and more!! ⚑


πŸ“• What is covered in this project?

  • Data Orchestration: Apache Airflow
  • Data Processing: Apache Spark
  • On-Premise Data Lake: MinIO (Object Storage), Hive Metastore (Metadata Layer)
  • Query Engine: Trino, DBeaver
  • Data Warehousing: PostgreSQL
  • Data Governance and Data Quality (Staging Area): Great Expectations
  • Data Transformaton and Data Modeling (Star Schema): DBT (Data Build Tool) 🌟
  • Data Visualization: PowerBI πŸ“Š
  • ELT Data Processing Terminology Implemention

β›… API Data Source

In this project, we will take a look at OpenAQ API, read the document here: https://openaq.org/. Specifically, we will explore the location measurement of air quality of different locations/ countries in the world. Take a look on how to create your API Key: https://docs.openaq.org/using-the-api/quick-start

πŸ› οΈ System Architecture

SystemArchitecture

πŸ“ Repository Structure

ELT-Data-Pipeline/
β”œβ”€β”€ .env                      /* Environment variables */
β”œβ”€β”€ .git/
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .idea/
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ LICENSE
β”œβ”€β”€ Note.txt
β”œβ”€β”€ README.md
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ airflow/                  /* Airflow configuration and DAGs */
β”‚   β”œβ”€β”€ README.md
β”‚   β”œβ”€β”€ dags/
β”‚   β”‚   β”œβ”€β”€ __pycache__/
β”‚   β”‚   β”œβ”€β”€ .gitkeep
β”‚   β”‚   β”œβ”€β”€ airquality_pipeline_dag.py
β”‚   β”‚   β”œβ”€β”€ data_migration_dag.py
β”‚   β”‚   └── utils/
β”‚   β”‚       β”œβ”€β”€ __pycache__/
β”‚   β”‚       β”œβ”€β”€ airquality_collector.py
β”‚   β”‚       └── migrate_data.py
β”‚   β”œβ”€β”€ logs/
β”‚   └── plugins/
β”œβ”€β”€ airflow-docker-compose.yaml
β”œβ”€β”€ data/                     /* Sample or test data */
β”‚   β”œβ”€β”€ location_air_quality.json
β”‚   └── sensor_air_quality.json
β”œβ”€β”€ data_validation/          /* Data quality check with Great Expectations */
β”‚   β”œβ”€β”€ .gitkeep
β”‚   β”œβ”€β”€ README.md
β”‚   β”œβ”€β”€ gx/
β”‚   β”‚   β”œβ”€β”€ .gitignore
β”‚   β”‚   β”œβ”€β”€ checkpoints/
β”‚   β”‚   β”œβ”€β”€ expectations/
β”‚   β”‚   β”œβ”€β”€ great_expectations.yml
β”‚   β”‚   β”œβ”€β”€ plugins/
β”‚   β”‚   β”œβ”€β”€ uncommitted/
β”‚   β”‚   └── validation_definitions/
β”‚   └── openaq_data_quality.ipynb
β”œβ”€β”€ dbt_openaq/               /* dbt project for transformations and modeling */
β”‚   β”œβ”€β”€ .gitignore
β”‚   β”œβ”€β”€ .user.yml
β”‚   β”œβ”€β”€ README.md
β”‚   β”œβ”€β”€ analyses/
β”‚   β”œβ”€β”€ dbt_packages/
β”‚   β”œβ”€β”€ dbt_project.yml
β”‚   β”œβ”€β”€ logs/
β”‚   β”œβ”€β”€ macros/
β”‚   β”œβ”€β”€ models/
β”‚   β”‚   └── production/
β”‚   β”‚       β”œβ”€β”€ dim_date.sql
β”‚   β”‚       β”œβ”€β”€ dim_instrument.sql
β”‚   β”‚       β”œβ”€β”€ dim_location.sql
β”‚   β”‚       β”œβ”€β”€ dim_owner.sql
β”‚   β”‚       β”œβ”€β”€ dim_parameter.sql
β”‚   β”‚       β”œβ”€β”€ dim_provider.sql
β”‚   β”‚       β”œβ”€β”€ dim_sensor.sql
β”‚   β”‚       β”œβ”€β”€ dim_time.sql
β”‚   β”‚       β”œβ”€β”€ fact_air_quality_measurement.sql
β”‚   β”‚       └── schema.yml
β”‚   β”œβ”€β”€ package-lock.yml
β”‚   β”œβ”€β”€ packages.yml
β”‚   β”œβ”€β”€ profiles.yml
β”‚   β”œβ”€β”€ seeds/
β”‚   β”œβ”€β”€ snapshots/
β”‚   β”œβ”€β”€ target/
β”‚   └── tests/
β”œβ”€β”€ docker-compose.yaml
β”œβ”€β”€ images/
β”œβ”€β”€ requirements.txt          /* Python dependencies */
β”œβ”€β”€ scripts/                  /* Utility scripts */
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ __pycache__/
β”‚   β”œβ”€β”€ create_schema.py
β”‚   β”œβ”€β”€ create_table.py
β”‚   └── postgresql_client.py
β”œβ”€β”€ storage-docker-compose.yaml  /* Data lake components (Trino, MinIO, Hive) */
β”œβ”€β”€ trino-minio/              /* Trino and MinIO configuration */
β”‚   β”œβ”€β”€ conf/
β”‚   β”‚   └── metastore-site.xml
β”‚   └── etc/
β”‚       β”œβ”€β”€ catalog/
β”‚       β”‚   └── minio.properties
β”‚       β”œβ”€β”€ config.properties
β”‚       β”œβ”€β”€ jvm.config
β”‚       β”œβ”€β”€ log.properties
β”‚       └── node.properties
└── venv/

βš™ Workflow Diagram

WorkflowDiagram

πŸ”₯ NOTE

The Project is still in progress, so stay tuned!! πŸ™ŒπŸ»

Jelajahi proyek terkait

Memuat…