Hi guys!
I'm trying to read a file from Excel and show it in Shiny App.
UI CODE
fileInput(inputId = "Planilha",placeholder = "Selecione a planilha", buttonLabel = "Upar", label = "Ou selecione a planilha do Ys", multiple = FALSE, accept = ".xlsx")
tableOutput("planilhaYs")
SERVER CODE
output$planilhaYs <- renderDataTable({
input$Planilha
df<-read_excel(input$Planilha$datapath, sheet = 1)
return(df)
}
)
Extension: .xlsx
But, no data appears.