Read XLSX file from url for R shiny app

I prepare R shiny dashboard. I want to read xlsx file from below link. How can i do that? It has to work after deployment.

I don't know how to read an excel file from an url, but since it is only one sheet, saving it as csv might be the easiest solution.

For instance:


url <- ""
hfi <- read.csv(url)

ui <- fluidPage(
  h2("Read CSV from url"),

server <- function(input, output){
  output$csv <- renderDataTable({

shinyApp(ui = ui, server = server)

If it does have to be en excel file, maybe this topic on stackoverflow can be of use:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.