This project provides a dashboard for visualization health and workout data from Apple Watch. The tool allow to load and analyze data from multiple users at the same time. It was created to enable faster analysis of longitudinal data from Apple Watch without the need for programming skills.
Export "Health data" from Apple watch:
- Go to Heath app
- Press user icon
- Scroll down to the bottom of Health profile and press on "Export All Health data"
- Press on "Export" to confirm that you want export data
- Choose the method how you want save or share data
- Docker-CE >= 20.10.2
- docker-compose >= 1.27.0
1.Open Terminal (in Windows: Command window(cmd))
2.Go to AppleDashboard directory
3.Build the images and run the containers:
$ docker-compose up -d
Test it out at http://localhost:600. No mounted folders. To apply changes, the image must be re-built.
Data import information
Setup Development ## detailed documentation
Not recommended for pure deployment.
- Python >= 3.7
- pipenv >= 19.2.3
- Docker-CE >= 20.10.2
- docker-compose >= 1.27.0
- Linux/MacOS
1.Open Terminal
2.Go to AppleDashboard directory
3.Run commands:
pipenv install
installs the latest dependenciespipenv shell
enters the virtual environmentdocker-compose up
necessary for creating container for PostgreSQL database./scripts/start.sh
Test it out at http://localhost:8050. The "web" folder is mounted into the container and your code changes apply automatically.
- To add new data, add the
export.xml
files andelectrocardiogram
directories downloaded from iPhone to the.import
folder.
In case of load data from more than one device, each export.xml
file and electrocardiogram
directory should be
numbered at the end, example:
export1.xml
,export2.xml
,export3.xml
etc.eclectrocardiogram1
,electrocardiogram2
,electrocardiogram3
etc.
To work the files should have the same format as the current example files that are already in the dataset_examples
directory.
The examples files look like the files downloaded from Apple Watch without any modifications.