Skip to content

Commit

Permalink
Add example output image
Browse files Browse the repository at this point in the history
  • Loading branch information
jameno committed Oct 5, 2019
1 parent 370b055 commit 589569e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,37 @@ If you get a _**ModuleNotFoundError: No module named 'pandas'**_ error, install

Go to your health home screen and click on the profile icon

<img style="float: left;" src="health_home.PNG" width=300>
<img style="float: left;" src="health_home.jpg" width=300>

On the next page, click the "Export Health Data" button

<img style="float: left;" src="export_data_button.jpg" width = 300 >

Your data will be prepared, and then you can transfer the export.zip file to your machine.



### 3. Unzip the file, which should contain:

* apple_health_export
* export.xml

* export_cda.xml



### 4. Place the **apple_health_xml_convert.py** into the folder alongside the files and run the script

### 4. Place the **apple_health_xml_convert.py** into the folder alongside the files
`python apple_health_xml_convert.py`

### 5. Run the script with `python apple_health_xml_convert.py`



The export will be written with the format:

* **apple_health_export_YYYY-MM-DD.csv**



In Excel, the output should look something like this:

<img style="float: left;" src="example_output.jpg">
Binary file added example_output.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 589569e

Please sign in to comment.