Code Monkey home page Code Monkey logo

olist_full_sql's Introduction

Olist Database Analysis

entity_olist

About

Olist is Brazil's largest department store connecting small businesses from all over Brazil. The data includes 100K orders from the period between Oct-2016 to Oct-2018. The database includes information about orders associated with customers sellers their payment methods products and locations.

In this project, first we construct database from scratch then we perform an in-depth analysis of customer sellers and their orders and gain some critical insights about the orders volume, delivery time, valuable customer markets, important sellers by revenue, etc using PostgreSQL

We perform analysis on four major categories of data provided by Olist

Analysis Markdown Notebook
Frequency of Orders md notebook
Customers md notebook
Sellers md notebook
Products md notebook
Miscelleaneous md notebook

How to use the database

  1. Install postgreSQL and pgAdmin4
  2. Clone the repo
  3. Download csvs from [here](curl https://wagon-public-datasets.s3.amazonaws.com/olist/olist.zip) and unzip them inside olist_data/
  4. open pdAdmin4 go to Server > LOCAL, Right click and CREATE and enter the database name olist
  5. Go to olist database again right click and open Query tools
  6. Click the folder icon go to the downloaded folder and open create_table.sql , select the entire file and execute it, this will make all required tables
  7. Again go to the folder and open import_data.sql , replace all path with your downloaded path inside your computer
  8. Select all code and execute it, this will import all data
  9. Plug and play with the queries or do your own analysis

How to create analyses

You can get some inspiration by looking at Frequency_analysis_of_orders.ipynb to begin with!

olist_full_sql's People

Contributors

nabeel-io avatar brunolajoie avatar

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.