Skip to contents

Handles the dataset-conversion download for all supported output formats: .rds, .xlsx, .csv, .json, and SAS transport .xpt.

Usage

converter_server(id, loaded_data, selected_dataset)

Arguments

id

Character string. The Shiny module namespace identifier.

loaded_data

A shiny::reactiveVal() containing the current data.frame.

selected_dataset

A shiny::reactiveVal() with the file path of the active dataset.

Value

A named list with three elements:

output_format

A shiny::reactive() returning the selected output format string.

csv_delim

A shiny::reactive() returning the CSV delimiter character.

json_pretty

A shiny::reactive() returning TRUE to pretty-print JSON output.

See also