write_delim_server: Server function for delimted-file writer.

Description Usage Arguments Value See Also Examples

Description

Used to define the server within the write_delim shiny module.

Usage

1
2
write_delim_server(input, output, session, data, filename = "data.csv",
  delim = ",", status_alert = TRUE)

Arguments

input

standard shiny input

output

standard shiny output

session

standard shiny session

data

data.frame

delim

character, possibly reactive, delimiter mark to use as a default

status_alert

logical, possibly reactive, indicates if to change alert-class of status output

Value

a shiny::reactive containing a tbl_df of the parsed text

See Also

Other write_delim module functions: write_delim_ui_input, write_delim_ui_output

Examples

1
2
3
4
5
6
7
8
9
shinyServer(function(input, output, session) {

  rct_data <- callModule(
    module = read_delim_server,
    id = "foo"
  )

  observe(print(rct_data()))
})

ijlyttle/shinypod documentation built on May 18, 2019, 3:41 a.m.