Closed mikies21 closed 3 years ago
Hello,
Try without parenthesis when passing reactive function to module, e.g. :
callModule(
module = filterDF,
id = "filtering",
data_table = filedata,
data_name = reactive(input$datafile)
)
Victor
Thank you very much! that work, i though i tried that before but aparently I havent! onle last question: if i want to filter only from the first 5 to 10 cols. how would I go about it? I have extracted the column names in the items() variable, I have tried this
callModule(
module = filterDF,
id = "filtering",
data_table = filedata,
data_name = reactive(input$datafile)
data_vars = items
)
but it is still not working? any advice? thank you very much
items
must be a reactive
function returning variable names for which create filters.
For information, I moved this module in package {datamods} (https://dreamrs.github.io/datamods/reference/filter-data.html), the one in {esquisse} will be deprecated in next version.
Hi, I have an issues, I would like to use only the filter module in my shiny app. I have a fileInput and as soon as I add it it crashes giving me this error:
Warning in
<reactive>
(...) : restarting interrupted promise evaluation Warning: Error in data_table: could not find function "data_table"I work with semi-large datasets. ~300 cols/variables and ~100 rows/samples -input the file use inputfile and read.csv -usually only the first 5 to 10 cols are my metadata, so i make sure they are factors -filter my dataframe on those 5 to 10 cols (this is where esquires is needed and is not working)
heres is my code: