GithubHelp home page GithubHelp logo

northwindetl's Introduction

NorthwindETL

Introduction: The purpose of this project is to optimize the operations of an e-commerce team by transforming raw data into a more organized and efficient format, and then presenting the findings to the management team. The pipeline follows a bronze-silver-gold architecture and uses Databricks for data processing. The final output of the pipeline is a set of tables and visualizations that provide valuable insights into the e-commerce operations of Northwind Traders.

Project Architecture

Data Source

The pipeline utilizes the Northwind sample database provided by Microsoft, which represents a fictional company called Northwind Traders.

Pipeline Stages

Bronze Stage

In this stage, raw data is ingested from AWS RDS using Airbyte and subsequently processed in Databricks. As the data is in JSON format, it must be parsed before being transformed into a structured format and stored in Delta tables. The following tables are selected for further processing:

customers orders orders_details

Silver Stage

During the silver stage, the data from the bronze tables is cleaned, transformed, and prepared for dimensional modeling. Data quality checks are performed using the Great Expectations library, which helps ensure the accuracy and consistency of the data.

Gold Stage

In the gold stage, advanced data processing and aggregation are performed to generate insights and facilitate reporting. The results can be visualized in dashboards, enabling management teams to make data-driven decisions.

Dimensional Model:

Screenshot 2023-04-04 at 7 06 19 AM

Data Quality and Validation

Data quality testing is performed using the Great Expectations library, which helps maintain the integrity of the data throughout the pipeline. Expectations are defined for each DataFrame, and the data is validated against these expectations to ensure its quality.

Databricks Workflow:

Screenshot 2023-04-03 at 11 13 37 PM

Final Dashboard

The final dashboard has the following visualizations:

  • Total Revenue by Month (line chart)
  • Top 10 Customers by Revenue (bar chart)
  • AVG Shipping cost by Shipping Company (3 line chart)
  • AVG Shipping cost by Country (map)

Screenshot 2023-04-03 at 11 07 38 PM

northwindetl's People

Contributors

ericbjames avatar quarky123 avatar ericbradleyj avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

eliekawerk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.