Skip to content

Scripts for transforming Apple health data to tabular format.

License

Notifications You must be signed in to change notification settings

paasim/ahd-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert Apple health data to tabular format

Contains functionality for converting parts of the activity summary and the workout data to a csv using Haskell and a bash script that exports the heart rate data.

Requirements

Haskell (tested on stack LTS 11.3).

Usage

The scripts assume that the files named export.xml and export_cda.xml (as they should be when unzipped from the export file).

    # activity summaries
   ./app.hs export.xml act > act.csv

   # workout stats
   ./app.hs export.xml wrk > wrk.csv

   # heart rate
   ./hr.sh export_cda.xml > hr.txt

About

Scripts for transforming Apple health data to tabular format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published