Dataview Plugin

An Obsidian Plugin that allows for a "query" to be run on my notes. Part of my Smart Note Taking system to create Smart & Automatic Folders (inboxing & indexing).

On my 🏡 Digital Garden Home ✅ 🌀🌐, I include a dataview table with a Digital Garden Update History Code Block that shows the 10 most recent notes I've updated.

In Sources - Books & Articles, I include a table for books (non-fiction & fiction) and articles to keep a booklist, or library, of the resources I've added to my digital garden.

In each of my main topic pages, I include a table showing the notes related to that topic. Here's an example from Mind & Well-Being:

A list of all Mind & Well-Being notes sorted by recently modified.

A main component of this topic is Mindfulness.

File Updated Growth Level
Mind & Well-Being 6:53 PM - October 10, 2024
10 - Automating Self-Regulation 5:42 PM - September 26, 2024
4 - Beginning With Breath 5:42 PM - September 26, 2024
5 - Intuitively Onwards, Inwards, and Upwards 5:42 PM - September 26, 2024
Mindfulness 11:36 AM - September 23, 2024

Once the Dataview plugin has been installed in the Community Plugins, you can activate it by typing three ticks (the ~ key) and then adding Syntax.

Here's the code for the above, you just need to add the three ticks and remove the space from # and mind/well-being:

dataview
TABLE
Updated,
growth-level AS "Growth Level"
FROM # mind/well-being
SORT file.mtime DESC

And a screenshot so you can see the symbol to control it.
Screenshot 2024-10-02 at 9.01.39 PM.png

The Syntax I use regularly are:

  1. FROM
  2. WHERE
  3. LIMIT
  4. more to be added...

There's a community builder that might help out here too:
https://s-blu.github.io/basic-dataview-query-builder/

Or, as an alternative, you can always ask ChatGPT or NotebookLM. I often use AI to get the syntax for dataview and then tweak it as needed.

Personally, I've found that NotebookLM does a better job than ChatGPT because I was able to include the Dataview instruction manual as a source in the notebook, which gave much more sophisticated and streamlined answers.