library(shiny)
shinyUI(fluidPage(
fluidRow(column(
width = 6,
offset = 3,
textInput('pesquisa', 'Termo de pesquisa')
)),
fluidRow(column(
width = 6,
offset = 3,
submitButton('Pesquisar')
)),
fluidRow(column(
width = 6,
offset = 3,
textOutput('resultado_txt')
)),
fluidRow(column(
width = 6,
offset = 3,
tableOutput('resultado')
))
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.