Export module

Export module server

exportUI(id, availableTypes = c("csv", "txt", "xls", "png", "pdf",
  "tiff", "grd", "rds"))

export(input, output, session, data, filename = "download")

Arguments

id

An id string that corresponds with the id used to call the module's UI function.

availableTypes

list of types that user can select from and export to

input

shiny server input object

output

shiny server output object

session

shiny server session object

data

data to be downloaded

filename

name of the downloaded file