Skip to content

Integrate another Shiny app via iframe #155

Closed Answered by dominikendemann
dominikendemann asked this question in Q&A
Discussion options

You must be logged in to vote

Hi John,
thank you very much!
I embedded the data table and the PDFs (iframe) using quarto tabs in surveydown. That works great.

The table is a reactable and I had no problems embedding it.
That's how I did it:
survey.qmd

::: {.panel-tabset}
### PDF1
<iframe align="mid" src= "www/KRM.pdf"width="100%" height="500"></iframe>

### Table
```{r}
reactableOutput("tabelle")
:::

app.R

library(reactable)
server <- function(input, output, session) {

sd_skip_if()
  sd_show_if()
  sd_server(
    db = db,
    required_questions = c("agree") 
    )
daten1 <- read.table(text = daten_text, sep = ";", header = TRUE, quote = "")
  
  output$tabelle <- renderReactable({
    
    reactable(
      daten1,
…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dominikendemann
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jhelvy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants