JoannaDrx / CoffeeTracker

Analysing my co-workers' coffee consumption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoffeeTracker

Analysing my co-workers' coffee consumption!

Context

As part of the day-long Second Genome 2018 Hackathon, this project was developped to track coffee consumption in the SG office.

Usefulness

Absolutely none.

Architecture

The goal was to design a system to visualize Second Genome’s coffee consumption in real time.

architecture

  • The SG coffee machine offers two choices of coffee beans: BlueBottle or Stumptown brand
  • Coffee drinkers vote by pressing one of two programmable AWS IoT "dash" buttons.
  • A button press triggers the Coffee Tracker Lambda which collects the votes and sends them for storage in a dynamoDB table
  • A second lambda, the Coffee Calculator Lambda is listening to the dynamo table stream and aggregates new votes to the dataset and plots them
  • The plots are then sent to S3 where a static HTML page is generated and served as a webpage.
  • Display the results on office screens!

Note: this project was never fully completed, hence the missing link between Coffee Calc Lambda and the R script to generate these plots trendseekers_plots.R

About

Analysing my co-workers' coffee consumption


Languages

Language:Python 72.7%Language:R 27.3%