Giter Site home page Giter Site logo

margotmarchais / samsung_health_revamp Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 2.0 4.59 MB

Python project. I imported and analyzed 6 years of my Samsung Health pedometer data combined with my Google Maps History Location to get a full comprehensive view of my workout activities (running, hiking, swimming, dancing) and identify the places where I was hiking the most.

Home Page: https://margot-marchais-maurice.webflow.io/work/samsung-health-google-maps

Jupyter Notebook 100.00%
calories health pedometer samsung-health steps-counter data-analysis jupyter-notebook python google-maps json

samsung_health_revamp's Introduction

Samsung Health analysis enriched with geographical information

Data cleaning and analysis project written in Python (Jupyter notebook, Markdown format)

Executive Summary: My goal for this project was to combine both my Samung Health and Google Maps History Location data to:

  • Get a full perspective on my workout activities in the past 6 years (running, hiking, swimming and dancing)
  • Link geographical data to my workouts. The aim was to identify the places where I did long hikes for instance.

Content of the repository: Because importing and cleaning the data was quite tedious for both data sources, the code has been decomposed into 3 different Jupyter Notebooks.

  • Part1 : Samsung Health focus (walking and running). Actions: I imported, cleaned, analyzed and visualized 6 years of pedometer data from my Samsung Health app (source: 1 csv file)
  • Part2 : Google Maps focus (dancing and swimming workouts). Actions: I imported, cleaned, enriched and analyzed 6 years of my Google Maps History Location data (source: dozens of JSON files).
  • Part3: Combination of the data sources into a single database. Actions: I merged data from both Samsung Health and Google Maps History Location into a single database. The output was used for creating a comprehensive Tableau dashboard about my physical activity.

Final output:

  • The results of the 3 Jupyter notebooks were used for building an interactive Tableau dashboard that provides a comprehensive view of my workout activity over time
  • A non-technical case study is also available on my blog to provide further explanations about the why of the project and my methodology

Technical learnings: I made this project to improve my Python coding skills as well as my ability to manipulate deep-nested JSON files. The data were very interesting to analyze because: they were not well documented and contained lots of duplicates (Samsung Health), and quite complex to manipulate (Google Maps Location History data).

Preview of the Tableau dashboard using both Samsung Health and Google Maps data: 2022-12-08_19h45_18

samsung_health_revamp's People

Contributors

margotmarchais avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  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.