Program to process CSV of Apple Health Data and import the records into InfluxDB suitable for creating personal dashboards.
app.js
: Main program
- InfluxDB installed and accessible
- CSV files generated by https://github.com/freddiefujiwara/ahcd
- Node modules
minimist
: For parsing command line optionsdebug
: For logging@fast-csv/parse
: For CSV parsinginflux
: Interface with the InfluxDB
- Install InfluxDB (localhost works fine): https://www.influxdata.com/products/influxdb-overview/
-
git clone https://github.com/balain/healthDataGrapher npm install
- Run
node app.js
To turn on debug output, set the DEBUG
environment variable, like so:
set DEBUG=*
- 0.0.1
- Work in progress
Distributed under the MIT license. See LICENSE
for more information.