Skip to content

Data science challenge for internship at Looqbox company. Approved by them.

Notifications You must be signed in to change notification settings

lucasestevesr/data-changelle-Looqbox

Repository files navigation

Looqbox Data Challenge

Looqbox

Accessing the database

You will need to access our MySQL database for this challenge. The database credentials will be sent to you by e-mail.

Challenge

Tables descriptions

  • DATA_PRODUCT: PRODUCT INFO
COLUMN NAME COLUMN DESCRIPTION
PRODUCT_COD PRODUCT CODE
PRODUCT_NAME PRODUCT FULL NAME
PRODUCT_VAL PRODUCT SALES VALUE
DEP_NAME NAME OF THE DEPARTMENT RESPONSIBLE FOR THE PRODUCT
DEP_COD CODE OF THE DEPARTMENT RESPONSIBLE FOR THE PRODUCT
SECTION_NAME NAME OF THE SECTION WHERE THE PRODUCT IS
SECTION_COD CODE OF THE SECTION WHERE THE PRODUCT IS
  • DATA_PRODUCT_SALES: PRODUCT SALES
COLUMN NAME COLUMN DESCRIPTION
STORE_CODE STORE CODE
PRODUCT_CODE PRODUCT CODE
DATE SALES DATE
SALES_VALUE SALES VALUES
SALES_QTY SALES QUANTITY
  • DATA_STORE_CAD: STORE INFO
COLUMN NAME COLUMN DESCRIPTION
STORE_CODE STORE CODE
STORE_NAME STORE NAME
START_DATE SHOP OPENING DATE
END_DATA SHOP CLOSING DATE
BUSINESS_NAME NAMES OF BUSINESS AREA RESPONSIBLE FOR THE SHOP
BUSINESS_CODE CODE OF BUSINESS AREA RESPONSIBLE FOR THE SHOP
  • DATA_STORE_SALES: SALES PER STORE
COLUMN NAME COLUMN DESCRIPTION
STORE_CODE STORE CODE
DATE COMMERCIAL DATE
SALES_VALUE TOTAL VALUE OF SALES IN THAT DATE
SALES_QTY TOTAL QUANTITY OF SALES IN THAT DATE

SQL test

After accessing our database, create queries using the schema looqbox_challenge to answer the following questions:

  1. How many products does the company have?
  2. What are the 10 most expensive products in the company?
  3. What sections do the 'BEBIDAS' and 'PADARIA' departments have?
  4. Which store sold the most products in one day? Which day?
  5. Bonus!! What was the total sale of products (in $) of each business area in the first quarter of 2019?

Building your own visualization

  1. Create at least one chart using the table IMDB_movies. The code must be in R or Python, and you are free to use any libraries, data in the table and graphic format.

Stack

  • MySQL database
  • R/Python

Submitting

  • Send an e-mail to the person that you are in contact within Looqbox!
  • Your answer must have the queries and the visualization (you can use notebooks or regular code)

Bonus points!

  • Question 5 is a bonus question!
  • Explain why you chose the visualization you are submitting.

Useful links

data-changelle-Looqbox

About

Data science challenge for internship at Looqbox company. Approved by them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published