Git Product home page Git Product logo

mcdonalds_icecream_machine_analysis's Introduction

McDonalds_IceCream_Machine_Analysis

Summary

Analyze data when McDonald's ice cream machines are broken to determine how much revenue they lose.
Analysis is very inaccurate due to wild guesses on a lot of factors and variables. Even hourly distribution of customers, no necessary 4-hour maintenance period, all-day restaurant schedule, ice cream selling all-day - those are assumed.

How to improve:

  • Use Apache Airflow for constructing pipelines for ETL
  • Use a specialized data warehouse to store and query data more efficiently (Ex: BigQuery or Redshift)

How to run:

To analyze

python analyze.py --start_date=2022-09-22 --end_date=2022-09-23

--start_date - to specify analysis starting date
--end_date - to specify analysis ending date
python analyze.py -h for more help

To scrape data

python scrape.py

Project structure

├─── data # Data folder
│    ├─── final # contains data warehouse csv
│    └─── processed # folder with processed hourly data (after transform)
├─── analyze.py # Perform analysis
├─── scrape.py # ETL data from website
├─── constants.py # Declare constants (contains explanation of variables)
├─── .gitignore
├─── README.md
└─── requirements.txt

mcdonalds_icecream_machine_analysis's People

Contributors

nochnoyritzar avatar

Watchers

 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.