This repo contains some example scripts that use Apple Health data to produce visualizations and reports.
Use the
apple-health-exporter
script to produce a dump of Apple Health data in this directory named
data.feather
. All scripts rely on the data being present in this directory
under this exact name.
To run the Shiny apps included here, import the shiny
library.
library(shiny)
runApp("plotHeartRate.R")
-
plotHeartRate.R
: Creates an interactive time series plot of heart rate data. Adapted from Jeff Johnston's excellent walkthrough.