Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- creation_date: <% tp.file.creation_date() %>
- cssClasses: cards, cards-cols-3
- tags:
- ---
- ## <% tp.file.title %>
- %%Goals I want to achieve this Year%%
- <<[[<%tp.date.now("YYYY", "-1", tp.file.title, "YYYY") %>]] | [[<%tp.date.now("YYYY", "1", tp.file.title, "YYYY") %>]]>>
- ## Active Goals
- -
- ## Goals Completed
- -
- >[!Quote]+ Remember
- > ![[<%tp.date.now("YYYY", "-1", tp.file.title, "YYYY") %>#Where I see myself In one year]]
- ## Review
- ### Where AM I now
- ### Where I see myself In one year
- ### Places I Have Been
- ```dataview
- TABLE
- FROM "Journal"
- WHERE Location!=null
- WHERE file.day.year = number(this.file.name)
- Group By split(Location, ":")[0] AS Location
- ```
- ---
- ### Things I Consumed
- #### Books I Completed
- ```dataview
- TABLE completed_on AS "Completed On"
- FROM "References/Books"
- WHERE completed_on AND date(completed_on).year = number(this.file.name)
- SORT completed_on
- ```
- #### Movies I Watched
- ```dataview
- TABLE watched_on AS "Watched On"
- FROM "References/Movies And Series"
- WHERE contains(status, "3_Completed")
- WHERE contains(type, "movie")
- WHERE date(watched_on).year = number(this.file.name)
- SORT watched_on
- ```
- ---
- ### Statistics
- ```dataviewjs
- dv.span("#### Meditation🧘 Calendar")
- const calendarData = {
- year: <% tp.file.title %>,
- colors: {
- blue: ["#8cb9ff", "#69a3ff", "#428bff", "#1872ff", "#0058e2"],
- green: ["#c6e48b", "#7bc96f", "#49af5d", "#2e8840", "#196127"],
- red: ["#ff9e82", "#ff7b55", "#ff4d1a", "#e73400", "#bd2a00"],
- orange: ["#ffa244", "#fd7f00", "#dd6f00", "#bf6000", "#9b4e00"],
- pink: ["#ff96cb", "#ff70b8", "#ff3a9d", "#ee0077", "#c30062"],
- orangeToRed: ["#ffdf04", "#ffbe04", "#ff9a03", "#ff6d02", "#ff2c01"]
- },
- showCurrentDayBorder: true, // (optional) defaults to true
- entries: [], // (required) populated in the DataviewJS loop below
- }
- //DataviewJS loop
- for (let page of dv.pages('"Journal/Diary"').where(p => p.Meditation)) {
- //dv.span("<br>" + page.file.name) // uncomment for troubleshooting
- calendarData.entries.push({
- date: page.file.name,
- intensity: page.Meditation_Duration,
- color: "orange",
- content: await dv.span(`[](${page.file.name})`), //for hover preview
- })
- }
- renderHeatmapCalendar(this.container, calendarData)
- ```
- ```tracker
- searchType: dvField
- searchTarget: Meditation_Duration
- startDate: <% tp.file.title %>-01-01
- endDate: <% tp.file.title %>-12-31
- folder: Journal/Diary
- summary:
- template: "Number of Days I Meditated: {{numDaysHavingData()}} days\nLongest Streak: {{maxStreak()}} days\nTotal Hours Meditated: {{sum()/60}} hrs\nAverage Meditation Time: {{average()}} mins"
- ```
- ```dataviewjs
- dv.span("#### Reading📚 Calendar")
- const calendarData = {
- year: <% tp.file.title %>,
- colors: {
- blue: ["#8cb9ff", "#69a3ff", "#428bff", "#1872ff", "#0058e2"],
- green: ["#c6e48b", "#7bc96f", "#49af5d", "#2e8840", "#196127"],
- red: ["#ff9e82", "#ff7b55", "#ff4d1a", "#e73400", "#bd2a00"],
- orange: ["#ffa244", "#fd7f00", "#dd6f00", "#bf6000", "#9b4e00"],
- pink: ["#ff96cb", "#ff70b8", "#ff3a9d", "#ee0077", "#c30062"],
- orangeToRed: ["#ffdf04", "#ffbe04", "#ff9a03", "#ff6d02", "#ff2c01"]
- },
- showCurrentDayBorder: true,
- entries: [], // (required) populated in the DataviewJS loop below
- }
- //DataviewJS loop
- for (let page of dv.pages('"Journal/Diary"').where(p => p.Reading)) {
- //dv.span("<br>" + page.file.name) // uncomment for troubleshooting
- calendarData.entries.push({
- date: page.file.name,
- intensity: page.Reading_Duration,
- color: "red",
- content: await dv.span(`[](${page.file.name})`), //for hover preview
- })
- }
- renderHeatmapCalendar(this.container, calendarData)
- ```
- ```tracker
- searchType: dvField
- searchTarget: Reading_Duration
- startDate: <% tp.file.title %>-01-01
- endDate: <% tp.file.title %>-12-31
- folder: Journal/Diary
- summary:
- template: "Number of Days I Read: {{numDaysHavingData()}} days\nLongest Streak: {{maxStreak()}} days\nTotal Hrs Read: {{sum()/60}} hrs\nAverage Reading Time: {{average()}} mins"
- ```
- ```dataviewjs
- dv.span("#### Writing🖋 Calendar")
- const calendarData = {
- year: <% tp.file.title %>,
- colors: {
- blue: ["#8cb9ff", "#69a3ff", "#428bff", "#1872ff", "#0058e2"],
- green: ["#c6e48b", "#7bc96f", "#49af5d", "#2e8840", "#196127"],
- red: ["#ff9e82", "#ff7b55", "#ff4d1a", "#e73400", "#bd2a00"],
- orange: ["#ffa244", "#fd7f00", "#dd6f00", "#bf6000", "#9b4e00"],
- pink: ["#ff96cb", "#ff70b8", "#ff3a9d", "#ee0077", "#c30062"],
- orangeToRed: ["#ffdf04", "#ffbe04", "#ff9a03", "#ff6d02", "#ff2c01"]
- },
- showCurrentDayBorder: true, // (optional) defaults to true
- entries: [], // (required) populated in the DataviewJS loop below
- }
- //DataviewJS loop
- for (let page of dv.pages('"Journal/Diary"').where(p => p.Writing)) {
- //dv.span("<br>" + page.file.name) // uncomment for troubleshooting
- calendarData.entries.push({
- date: page.file.name,
- intensity: page.Writing_Duration,
- color: "green",
- content: await dv.span(`[](${page.file.name})`), //for hover preview
- })
- }
- renderHeatmapCalendar(this.container, calendarData)
- ```
- ```tracker
- searchType: dvField
- searchTarget: Writing_Duration
- startDate: <% tp.file.title %>-01-01
- endDate: <% tp.file.title %>-12-31
- folder: Journal/Diary
- summary:
- template: "Number of Days I Wrote: {{numDaysHavingData()}} days\nLongest Streak: {{maxStreak()}} days\nTotal Hrs Wrote: {{sum()/60}} hrs\nAverage Writing Time: {{average()}} mins"
- ```
- ```dataviewjs
- dv.span("#### Excercise🦾 Calendar")
- const calendarData = {
- year: <% tp.file.title %>,
- colors: {
- blue: ["#8cb9ff", "#69a3ff", "#428bff", "#1872ff", "#0058e2"],
- green: ["#c6e48b", "#7bc96f", "#49af5d", "#2e8840", "#196127"],
- red: ["#ff9e82", "#ff7b55", "#ff4d1a", "#e73400", "#bd2a00"],
- orange: ["#ffa244", "#fd7f00", "#dd6f00", "#bf6000", "#9b4e00"],
- pink: ["#ff96cb", "#ff70b8", "#ff3a9d", "#ee0077", "#c30062"],
- orangeToRed: ["#ffdf04", "#ffbe04", "#ff9a03", "#ff6d02", "#ff2c01"]
- },
- showCurrentDayBorder: true, // (optional) defaults to true
- entries: [], // (required) populated in the DataviewJS loop below
- }
- //DataviewJS loop
- for (let page of dv.pages('"Journal/Diary"').where(p => p.Exercise)) {
- //dv.span("<br>" + page.file.name) // uncomment for troubleshooting
- calendarData.entries.push({
- date: page.file.name,
- intensity: page.Exercise_Duration,
- color: "blue",
- content: await dv.span(`[](${page.file.name})`), //for hover preview
- })
- }
- renderHeatmapCalendar(this.container, calendarData)
- ```
- ```tracker
- searchType: dvField
- searchTarget: Exercise_Duration
- startDate: <% tp.file.title %>-01-01
- endDate: <% tp.file.title %>-12-31
- folder: Journal/Diary
- summary:
- template: "Number of Days I Excercised: {{numDaysHavingData()}} days\nLongest Streak: {{maxStreak()}} days\nTotal Hrs Excercised: {{sum()/60}} hrs\nAverage Excercising Time: {{average()}} mins"
- ```
- ### Spends
- ```dataview
- TABLE sum(rows.L.Cost) AS "Sum(₹)"
- FROM "Journal/Diary"
- FLATTEN file.lists as L
- Where L.Item!=null
- WHERE file.day.year = number(this.file.name)
- Group by L.Category As Category
- ```
- ```dataview
- TABLE WITHOUT ID " Total Sum: " + sum(rows.L.Cost) As Sum
- FROM "Journal/Diary"
- FLATTEN file.lists as L
- Where L.Item!=null
- WHERE file.day.year = number(this.file.name)
- Group By number(this.file.name) AS "Total Sum(₹)"
- ```
- ### Months
- #### [[<%tp.date.now("YYYY-MM", "PM", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "PM", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P1M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P1M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P2M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P2M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P3M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P3M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P4M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P4M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P5M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P5M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P6M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P6M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P7M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P7M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P8M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P8M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P9M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P9M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P10M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P10M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- #### [[<%tp.date.now("YYYY-MM", "P11M", tp.file.title, "YYYY") %>]]: `= [[<%tp.date.now("YYYY-MM", "P11M", tp.file.title, "YYYY") %>]].Monthly_Highlight`
- ### My Trips
- ```dataview
- TABLE WITHOUT ID
- ("") as Poster, file.link As Trip
- FROM "Journal/Event And Trips"
- WHERE date(trip_date).year = number(this.file.name)
- SORT trip_date DESC
- ```
- ### My Wins
- ```dataview
- LIST "<small>**" + My_Win + "**</small>"
- FROM "Journal/Diary"
- WHERE win
- WHERE file.cday.year = number(this.file.name)
- ```
- ---
- ##
- > MOC::
- > Related::
- ```dataview
- TABLE WITHOUT ID file.link + "<br>" + "<small>*Modified: "+file.mtime+"*</small> | <small>Created: "+file.ctime+"</small>" AS "See Also"
- FROM !outgoing([[#this.file.name]]) AND [[#this.file.name]]
- SORT file.name
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement