You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the filter-data module the filters are independent in the tidyverse pipes and so works like a AND stream of filters (as far as i undestand).
I also look into the create-col module and find awesome the extract_calls function and kept thinking of something like that for the filters.
So, after some time i asked GPT for ideias and it suggested me to use the all.names function for a parsed expression. In this way the user could insert a 'free text input' and the validation could be made in the server with a allowed functions list (like in create-cols module).
Of course that parsing the 'free text input' could lead to dangerous situations, but i think that validating the functions in the server could solve the issue.
I dont know if i'm missing something from the all.names function, but reading the help file it seems to me that could be a reasonable choice...
Personnaly i would love if the user could insert a more complex and real life filters...
First of all congrats on the great work. I'm building my own Shiny package for data analysis and i use many of your packages.
About datamods, even that i'm not using it directly it is a great source of inspiration and learning.
Now, one thing that keep killing me is the possibility for the user to insert a free and complex filter. Something like:
In the filter-data module the filters are independent in the tidyverse pipes and so works like a AND stream of filters (as far as i undestand).
I also look into the create-col module and find awesome the extract_calls function and kept thinking of something like that for the filters.
So, after some time i asked GPT for ideias and it suggested me to use the all.names function for a parsed expression. In this way the user could insert a 'free text input' and the validation could be made in the server with a allowed functions list (like in create-cols module).
Of course that parsing the 'free text input' could lead to dangerous situations, but i think that validating the functions in the server could solve the issue.
I dont know if i'm missing something from the all.names function, but reading the help file it seems to me that could be a reasonable choice...
Personnaly i would love if the user could insert a more complex and real life filters...
A simple example:
The text was updated successfully, but these errors were encountered: