HealthStats

Description


HealthStats provides in depth look at all the data from the health data you collect with your iPhone or Apple Watch.

It will let you analyse steps, heart rate, weight over time or on a specific days. It will also allow you to review and analyse recorded workouts.

The app is for data geeks that want full access and views on the numbers and statistics.

This app is now open source on GitHub as part of the ConnectStats project, feel free to review the code, give feedback or contribute.

Features

  • Calendar View of your days and workouts
  • Compare your month to month distance in cumulative plots
  • Monthly/Weekly summary statistics of your days and workouts
  • Monthly/Weekly historical report and graphs of your recorded data
  • Scatter plots and trend for both historical or workout data
  • Best Rolling Plots, histograms for workouts
  • Support multiple source, for example data collected by your phone or your watch
  • Calculated laps for your workouts: find your fastest kilometer, or split time, etc
  • Display time in zone for heart rate or pace in your work outs
  • Slice your statistics by workout types: running, biking, etc

Quick Guide

  • When you first start the program, you will need to authorize the app to access your health data and choose the source for your data
  • Data will be refreshed as you pull down the activity list on the first tab or overtime you start the app
  • The Day Detail tab provide a view on a given day or work out
  • The stats tab provide historical report and graphs, tap on the different buttons on the navigation bar or on graph and numbers in the tables to explore further analysis
  • The calendar view provide summary views on the month, explore it by tapping the different configuration buttons

Notes

  • All the data is analysed locally on your phone, no data will be sent anywhere.

Recent Posts

Important release to correct data import problems

A new version 4.4 is now available.

This fixes the issue around missing data on import, as well as incorrect units for some fields like min or max elevation.

Bad Release Problem Solved!

As a bonus, I added support for Garmin Device Power while running, as least for the devices for which users sent me sample fit files.

Missing Data

Because of my own silly bug, ConnectStats was not trying hard enough to look for all activities on the initial download, and was stopping too early, resulting in missing older activities. This is now fixed in 4.4. But it’s hard for the app to know if it missed old activities or not. So if you think you are in that situation, the best is to force the app to reload all activities, by going to “settings”, selecting “profile” and “Force Reload Old Activities” as below. This will start a download that will try to reload everything, it will also help fix data previously imported with incorrect units.

 

Incorrect Units

Even though I have build a lot of tests over time, it is always difficult to make sure when a new API changes that the app is behaving properly. This is due to the fact that the API is undocumented and that I have limited scope for testing of new features, given that I do it on my own. I basically only test on my activities and the activities people have sent me over time in the past. Though we should not complain about the lack of documentation given as mentioned in the past, this API is not intended for external use, but just for garmin own website… So I am just grateful Garmin lets ConnectStats continue to use it, even if we just have to reverse engineer everything.

To illustrate the issue and give people a feel for the reason behind some of the bugs, the bad units were due to inconsistencies in the scale of the number depending on which data you were receiving: summary or detail for an activity.

In the summary the elapsed duration data comes as milliseconds:

While in the detail file it comes as seconds…Beside the elapsedDuration, maxElevation and minElevation everything else is consistent… Go figure… These are hard to anticipate and catch when you test on your own, so I want to thank all the users who have the patience to report details about such bugs and also the patience to wait for me to push fixes.

 

  1. Missing activities bug 2 Replies
  2. Power Hiking with @strydrunning now in @ConnectStats Leave a reply
  3. What the Alternative API mean for ConnectStats 5 Replies
  4. Activities not updating, how to fix… 6 Replies
  5. Similar Summary Stats, Different effort… 2 Replies
  6. ConnectStats now supports #RunningWithPower for @Strydrunning! 11 Replies
  7. Another turning point for ConnectStats? 22 Replies
  8. ConnectStats is now open source 1 Reply
  9. Garmin API Change: Good News Bad News 5 Replies