Skip to content

πŸ“‘ This repository serves as a business case study for a prominent retail supermarket, leveraging SQL to analyze and derive valuable insights, aiding in strategic decision-making for the retail giant.

Notifications You must be signed in to change notification settings

KasiMuthuveerappan/TARGET-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ TARGET - Retail_Analysis πŸ›’

R


πŸ“‘This Repo serves as a Business case study. Providing Solution , Insights and Recommendation for the growth in their Revenue through sql queries.

πŸ”ŽThis SQL solutions done in Google BigQuery

πŸ”—If you have any questions, reach out to me on LinkedIn.

πŸš€ Welcome to the Target Data Analysis project! πŸŽ‰

As a data scientist at Target, you've been given the exciting opportunity to analyze 100k orders from 2016 to 2018 made at Target in Brazil. πŸŒŽπŸ‡§πŸ‡·

πŸ“š The dataset is available in 8 csv files:

  1. customers.csv πŸ§‘β€πŸ€β€πŸ§‘
  2. geolocation.csv πŸ—ΊοΈ
  3. order_items.csv πŸ›οΈ
  4. payments.csv πŸ’³
  5. reviews.csv πŸ“
  6. orders.csv πŸ“¦
  7. products.csv πŸ“
  8. sellers.csv πŸ‘©β€πŸ’Ό

πŸ” So, what does 'good' look like? We'll import the dataset and perform exploratory analysis steps to check the structure, characteristics, data types, and time period for which the data is given. We'll also look at the cities and states of customers who ordered during the given period. πŸ•΅οΈβ€β™€οΈ

πŸ” In-depth Exploration:

  1. Is there a growing trend on e-commerce in Brazil? πŸ“ˆ How can we describe the complete scenario? πŸ€” Can we see some seasonality with peaks at specific months? β„οΈβ˜€οΈ
  2. What time do Brazilian customers tend to buy? πŸ•’ Do they prefer to shop at dawn, morning, afternoon, or night? πŸŒ…πŸŒ‡πŸŒ„πŸŒƒ
  3. Evolution of E-commerce orders in the Brazil region:
    • Get month on month orders by states πŸ“Š
    • Distribution of customers across the states in Brazil πŸ—ΊοΈπŸ‘₯
  4. Impact on Economy: Analyze the money movement by e-commerce by looking at order prices, freight and others.
    • Get % increase in cost of orders from 2017 to 2018 (include months between Jan to Aug only) - You can use β€œpayment_value” column in payments table πŸ’°
    • Mean & Sum of price and freight value by customer state πŸ’΅πŸš›
  5. Analysis on sales, freight and delivery time πŸ“ŠπŸšš
    • Calculate days between purchasing, delivering and estimated delivery πŸ“…
    • Find time_to_delivery & diff_estimated_delivery ⏳
    • Group data by state, take mean of freight_value, time_to_delivery, diff_estimated_delivery πŸ“Š
    • Sort the data to get the following:
      • Top 5 states with highest/lowest average freight value - sort in desc/asc limit 5 πŸ“‰πŸ“ˆ
      • Top 5 states with highest/lowest average time to delivery πŸš›β°
      • Top 5 states where delivery is really fast/ not so fast compared to estimated date 🚚⚑
  6. Payment type analysis: πŸ’³
    • Month over Month count of orders for different payment types πŸ“Š
    • Count of orders based on the no. of payment installments πŸ”’

Image

Support

Give a ⭐️ if you like this project!

About

πŸ“‘ This repository serves as a business case study for a prominent retail supermarket, leveraging SQL to analyze and derive valuable insights, aiding in strategic decision-making for the retail giant.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published