Scripts to extract records from an Apple Health data export, converting them to CSV format and providing daily stats.
- From the Apple "Health" app, click your profile in the upper right corner
- Select
Export All Health Data
>Export
, and wait for the export to complete - Extract the export files, and save the
export.xml
file. This contains all workouts, step counts, and other health data
- Install dependencies:
pip3 install -r requirements.txt
- Place health data
export.xml
file into thedata/
directory in this project - Run the script(s):
python3 workouts.py python3 stepcounts.py
- Resulting CSVs and charts will be placed in the
out/
directory.