Git Product home page Git Product logo

apple-watch-data-exploration's Introduction

Apple Watch Data Exploration (WIP)

I got an Apple Watch last year (as a birthday gift to myself). As a data enthusiastic, I am always eager to learn more about myself with data. Now I have the chance. I exported the data from my Apple Watch, which generated a 250MB XML file, and decided to play with it a little bit.

About The Dataset

The 'export.xml' file unzipped from the Apple Watch export has two parts:

  1. Records Data
    This includes all your health records (all the 'HKQuantityTypeIdentifier' objects) like energy burned, heart rate, stand time, body mass, etcs. -- basically those you will see in your 'Health' APP.
  2. Workout Data This includes all the workout records (all the 'HKWorkoutActivityType' objects from the 'Activity' APP, like the type, duration, distance, and energy burned.
  3. Daily Summary Data
    This includes a daily stats summary from the 'Activity' App, basically your move/exercise/stand hour target vs. actual.

Of course the dataset will not be posted in this repo due to data privacy, but you can always find a snapshot in the code :)

Notebooks (WIP)

  1. Apple Watch Export Data Extraction
    This notebook is on how to extract the data from the exported XML file and convert to pandas dataframes and csv files.
  2. Heart Rate Data EDA
    This notebook focus on understanding, analyzing, and visualizing the heart rate data extrated. It looked at the relationship and difference among heart rate, resting heart rate, and walking heart rate records, and explored the pattern of the heart rates during weekdays/weekends and on different hours of a day.
  3. Energy Data EDA
    This notebook focus on understanding, analyzing, and visualizing the energy burned data extrated. It tried to understand the granularity of each record, looked at the difference beetween Basal Energy Burned and Active Energy Burned, explored their trend over time, and pattern on different time of day and on different weekdays.

Open Questions

Below is a list of questions I am interested to look at:

  1. What is my typical heart rate looks like, how it is distributed, and how it differs while resting / walking / workout?
  2. How is my energy burned elevating (my daily move target has increased multiple times since I've been doing routine workout now)? Relationship between heart rate and energy burned?
  3. How different my life pattern is during weekday vs. weekends from the perspective of these health metrics?
  4. How is my workout records trending? Given the same workout form every day (well, Ring Fit Adventure on Switch for me in the past three months), am I playing longer? Am I getting used to it looking at the hear rate and energy burned during the workout?

apple-watch-data-exploration's People

Contributors

yudong-94 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.