Replies: 1 comment 4 replies
-
Would a mechanism for registering custom functions via dataviewjs be sufficient? They would be usable in both dataviewjs and dataview. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I really love dataview! I'd love it even more if I could use functions of my own to augment the dataviewjs queries.
The key here is that my_function is used repeatedly over several dataview codeblocks, so I don't want to recreate that function every time I use dataviewjs. Another variant of the idea is something like this:
Here, complex_grouping_of_pages is an extensive set of code to do some data science magic on the pages to group them. I definitely don't want to include all that code into dataviewjs blocks.
Would it be possible to add this? Is there an appetite for it?
Beta Was this translation helpful? Give feedback.
All reactions