1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
[[!sidebar content=""]]
[[!meta title="Health data journaling and visualization with Org Mode and gnuplot"]]
[[!meta copyright="Copyright © 2022 David O'Toole"]]
[[!inline pages="internal(2022/info/health-nav)" raw="yes"]]
<!-- Initially generated with emacsconf-generate-talk-page and then left alone for manual editing -->
<!-- You can manually edit this file to update the abstract, add links, etc. --->
# Health data journaling and visualization with Org Mode and gnuplot
David O'Toole (he/him, <https://emacs.ch/@dto>)
[[!inline pages="internal(2022/info/health-before)" raw="yes"]]
**Note: The correct name of gnuplot is gnuplot, not GNUplot. It is not GNU software, nor is it licensed under a GNU license. [Details](http://gnuplot.info/faq/index.html#x1-70001.2)**
"GNU Emacs with Org Mode and gnuplot offer a complete Free Software
solution for tracking health information based on a daily data
journal. With Org capture templates and data tables, you can easily
enter facts for each day such as hours of sleep, minutes of exercise,
doses of medication, weight, or even add freeform notes. Through the
use of subjective numeric scores you can track symptoms like stress,
anxiety, or pain. Org Mode's gnuplot support enables you to visualize
the data in order to spot correlations and evaluate trends. The use of
detailed record-keeping and graphing can help you communicate with
health care providers."
A reusable org template will be provided at:
<https://gitlab.com/dto/health-template>
# Discussion
## Notes
- I agree that just tracking is a great thing. I heard of some people starting to lose weight, just because they started recording it daily.
- just Thank you very much
## Questions and answers
- Q: do you use this just for yourself? Or do you use this to
discuss/show with doctors/health professionals?
- A:
- Q:How do you input the health data? semi automated with org mode
capture templets?, copy paste, Automated with a smart watch and
ifttt or tasker in an org mode document to automatily add stuff like
sleeping data? and which parts are and are not automated, semi
automated or manual.
- A:All manually
- Q:How do you track the various health statistics that you are
gathering?
- A:Mannully for example for sleeping I look at the clock before
and after I go to sleep.
- Q: It\'s possible to download data from the apple watch\'s health
app. Is it easy enough to incorporate those .csv files into your
implementation of Gnuplot?
- A:You can import csv to org. Just copy paste the csv data to
org, highlight it and press C-c \| (the function is
org-table-create-or-convert-from-region)
- Q: Regarding the medication tracking you only have option to record
missed or not. If one needs to take multiple medication throughout
the day, how would you propose to track that? Within gnuplot or
separate?
- A:
- Q:How\'s the workflow when working on the gnuplot code -- can you
e.g. C-c C-c and the svg output on the right is updated
automatically?
- A:Use auto-revert-tail-mode in the buffer that displays the svg,
then it will update automatically
- Q: How much time does it take to process the amount of data that you
add inside GNU Emacs?
- A: some seconds (no issues to manage that inside the editor)
- Q: will indent-guide behave well with yaml files for helm?
- A:
- Q: Have you noticed your behaviour changing as a result of tracking
your data?
- A: Yes, definitively and in a good way
- Q: did you not have exercise data for the final period of bad sleep,
or was it the case that you did not exercise? This question tells me
that you want to symbolically represent missing data differently
from \"0\". And, if the answer is \"no exercise\", then it is
possible that this is a factor in your lack of sleep, it\'s not
necessarily the withdrawal from nicotine. As always, use caution
when drawing up causal links from correlation. Recommended in this
context - \"The book of why\", by Judea Pearl.
- A:
[[!inline pages="internal(2022/info/health-after)" raw="yes"]]
[[!inline pages="internal(2022/info/health-nav)" raw="yes"]]
[[!taglink CategoryOrgMode]]
|