Coder Social home page Coder Social logo

ismailmo1 / mfp-wrapped Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.39 MB

Data app to provide analytics for myfitnesspal users: a calorie counter and food journal

Home Page: https://wrapped.ismailmo.com

Python 11.31% Jupyter Notebook 88.47% Dockerfile 0.22%
myfitnesspal dataanalytics dashboard pandas streamlit

mfp-wrapped's Introduction

Ismail's LinkedIN

myfitnesspal WRAPPED

cards Visit the live website here and try it out for yourself!

Inspired by spotify's wrapped marketing campaign I wanted to create something similar to analyse my eating habits. Many people use myfitnesspal: a food diary app to track their meals and food intake - usually to help them achieve some fitness goal, however myfitnesspal's free tier provides limited capabilities to analyse this data in any meaningful way.

How it works

  1. Make your myfitnesspal diary public so the app can access your food diary.

  2. Enter your username and the date range in the sidebar and click 'Get Data'

enter details

  1. Wait while your diary data is gathered and analysed

diary scraping

Analysis and Plots

You can view how many days you logged food and your totals

total intake

Play around with the interactive treemap plot to discover which foods make up your calorie intake for each macronutrient i.e. what food is your largest source of carbohydrates, fats and protein?

screen-capture.mp4

Analyse adherence by viewing how well you have been sticking to your goal intake - you can measure by calories or grams for each macronutrient

adherence measure

View your favourite food items by which food items you logged most often in your diary.

most common foods

mfp-wrapped's People

Contributors

ismailmo1 avatar

Stargazers

 avatar

Watchers

 avatar

mfp-wrapped's Issues

speed up diary scraping

Look into async python to send requests to myfitnesspal concurrently using aiohttp so we can scrape diaries quickly

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.