I have a lot of daily notes, and I use the Tracker plug-in to give me monthly views on sleep quality, my mood for the day, and a few other metrics/habits. For #sleep, I use values 1 to 5 to describe how well I slept the night before, like this:
#sleep:3
(No spaces.)
I also use a tag to describe any dreams I can remember. The #dream tag doesn’t have a value, but a daily note will either have that tag or not. If it has the tag, there’s also a description of the dream(s) in the same block of text.
Is it possible in Dataview (or anything else?) to query notes that have the #dream tag and group them by the value next to the #sleep tag, so I can see possible interactions between sleep quality and the kinds of dreams I have?
I started looking at Dataview but saw that there’s metadata to add, etc. Since I have a lot of notes, I don’t want to go back and do that. But maybe my scenario is simple enough that I don’t need to?
(I also have a #mood tag with a value to describe my mood for the day. I’d like to work that in as well, but the mood value is actually on the note for the day before, so I need to figure out how to bring it forward or reference it as something like #yesterdaymood: in today’s daily note. Maybe I can’t avoid doing that manually on all of my archived notes, but I’d love ideas on how to automate that through the daily note template moving forward.)