$= dv.paragraph(dv.pages('').filter(p => p.file.path.includes('Calendar/Houses')).where(p => p.type == "House" && p.Date-Moved-In >= moment(tp.file.title, 'YYYY-MM-DD') && p.Date-Moved-In <= moment(tp.file.title, 'YYYY-MM-DD').file.link))
Dataview (for inline JS query ‘dv.paragraph(dv.pages(’‘).filter(p => p.file.path.includes(‘Calendar/Houses’)).where(p => p.type == “House” && p.Date-Moved-In >= moment(tp.file.title, ‘YYYY-MM-DD’) && p.Date-Moved-In <= moment(tp.file.title, ‘YYYY-MM-DD’).file.link))’): ReferenceError: Moved is not defined
I would would like to add a data point to my journal of where I lived at the time of writing the journal post. So I created a folder
Calendar/Houses to put notes for each house and school year.
While in a journal post titled
YYYY-MM-DD I would like to search for notes in
Calendar/Houses where the title of the journal post is between the date I moved into a house and the date I moved out.
--- Type: House City: Canal Date-Moved-In: 2007-08-01 Date-Moved-Out: 2007-11-22 Age-Moved-In: 16 Age-Moved-Out: 16 ---
I would like it if the query output a link to this house not so that the top of my journal would look like this while reading.
Music:: Mood:: Tags:: #📓/Journal Age:: 16 House:: [[Canal Winchester]] School-Year:: [[10th Grade]]