Skip to contents

Handles data display, filtering, variable inspection, and download for the Data Viewer tab.

Usage

data_viewer_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:

filtered_data

A shiny::reactiveVal() with the current filtered data.frame.

filter_expr

A shiny::reactive() returning the raw filter expression string.

selected_vars

A shiny::reactive() returning the selected variable names.

See also