🧶 Tags:: #🌱 Resources:: Vicky Zhao Links:: ==2022-11-01 - 14:59==
Dataview code for you to copy/paste!!#
- To use dataview, type the following in any note:
dataview - TASKS
- a) Get all tasks in your vault:
dataview Task*make sure you have a space after the word task! - b) Get all tasks from notes with a specific hashtag
dataview Task from [#TAG](https://www.youtube.com/hashtag/tag) - c) Get all tasks from notes from a specific folder
dataview Task from "FOLDER"*make sure you use double quotes around the folder name!
- a) Get all tasks in your vault:
- LISTS
- a) Get a list of all notes with a specific hashtag
dataview List from [#TAG](https://www.youtube.com/hashtag/tag) - b) Use and / or to further filter the list:
dataview List from [#TAG1](https://www.youtube.com/hashtag/tag1) and [#TAG2](https://www.youtube.com/hashtag/tag2)dataview List from [#TAG1](https://www.youtube.com/hashtag/tag1) or [#TAG2](https://www.youtube.com/hashtag/tag2) - c) Use “FOLDER” to get a list from a specific folder (Use “FOLDER/SUBFOLDER” if you want to get more specific)
dataview List from "FOLDER"dataview List from "FOLDER/SUBFOLDER" - d) Use where contains to get notes that have a specific word/phrase in its title
dataview List where contains(file.name, "TEXT YOU ARE LOOKING FOR")
- a) Get a list of all notes with a specific hashtag
- TABLES
- a) Get a table with headers
dataview Table column1, column2 - b) Rename the column with AS
dataview Table column1 as NEWNAME1, column2 as NEWNAME2
- a) Get a table with headers

