Replies: 2 comments 1 reply
-
Ok, I found one solution:
However I have two follow-up questions here:
Many thanks in advance! |
Beta Was this translation helpful? Give feedback.
1 reply
-
You could also use OJS to display inputs and a filtered table 😊 The example in the Quarto docs uses inputs to filter a plot, but you could just as easily use an [Observable Inputs Table][(https://observablehq.com/framework/lib/inputs) as the plot that receives the filtered data. That page has an example of this with a sport dropdown. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am trying to create an interactive dashboard with quarto version 1.5.56, using python. I am using shiny to get inputs from the user that allow to filter the data, but I have problems integrating that with a table visual. Any help would be appreciated!
Here are the first few rows of my data (it is public):
I want to have one tab where the data is displayed as a table, and I also want to pre-filter it depending on the selections made by the user. I have tested displaying the full table with itables and it works. But I am not able to figure out how to integrate this with the interactivity functionality. When I run
quarto preview <>.qmd
I can see in the outputs this message, which I believe points to the problem:WARNING (/Applications/quarto/share/filters/main.lua:9383) Unable to parse table from raw html block: skipping.
But I really can't find an example on how to correctly implement it. Below is the relevant part from my qmd file. The problematic function is
def table_ui():
where besides@render.plot
I also tried@render.data_frame
with no success:Beta Was this translation helpful? Give feedback.
All reactions