-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(feature request) #31
Comments
The use of |
woah that was quick, let me give this a try! |
just gave IDEAFilter a quick test and it doesnt work with a lazy loaded table from dbplyr.. how I tested:
then I replaced starwars2 by starwars2_sql in two places in the example app:
Trying the app with these changes returns the error "Error in rep: argument 'times' incorrect", which is the first error I would get in shinyDataFilter before implementing my changes in my pull request above. |
hello!
I was wondering if it would be possible to modify this script to accomodate filtering tables in databases that we lazy load using {dbplyr}?
I have just spend a couple days trying to decipher the code in
shinyDataFilter
. I made some progress (mostly involving replacing nrows() with tally() and , but I dont think it is possible in its current form:My understanding is that vector_module_return()$mask() returns a vector of TRUE/FALSE to tell us which row numbers to keep. Thing is, SQL doesnt have a concept of row number as order of rows is always random.
I was hoping to replace the line
out_data <- subset(data(), vector_module_return()$mask())
inshiny_data_filter_item
with some code that would apply the code invector_module_return()$code()
directly to data(), but I'm out of my skill level.The text was updated successfully, but these errors were encountered: