Handles the dataset-conversion download for all supported output formats:
.rds, .xlsx, .csv, .json, and SAS transport .xpt.
Arguments
- id
Character string. The Shiny module namespace identifier.
- loaded_data
A
shiny::reactiveVal()containing the currentdata.frame.- selected_dataset
A
shiny::reactiveVal()with the file path of the active dataset.
Value
A named list with three elements:
output_formatA
shiny::reactive()returning the selected output format string.csv_delimA
shiny::reactive()returning the CSV delimiter character.json_prettyA
shiny::reactive()returningTRUEto pretty-print JSON output.