this post was submitted on 14 Aug 2023
35 points (100.0% liked)
Migraine
233 readers
4 users here now
Community for support, conversation, and healing among migraine sufferers.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's a really nice overview. What are you using?
I admire your perseverance. My tracking has been rather inconsistent the last couple of months as I've been either in too much pain to track or had so few and light headaches I didn't think it was necessary. Though consistent tracking seems to be the only way to identify triggers. It's nice you have an idea of yours by now. Good luck working on/with them and all the best to you!
It's a bit hacked together.
I found a Google charts API to draw the calendar using html and JavaScript (I mostly copied the script).
I've been writing the data in a Google doc in CSV format and copy/pasting to a CSV file. (Google sheets would have been better, and can export directly to CSV).
Rather than learn how to load the data from a file, I decided to make a regex script in a bash script to convert the CSV data to JavaScript and insert it directly into the html file. I'm now confident that this was the hard way.
Once the html file is updated, I take a screenshot of the calendar. I didn't like the default legend in the top right, so I used paint to make it easier to understand.
Finally I copied the file to my phone and used Google photos to saturate the colours.
I'm fairly confident that there is an easier way.