Learn R Programming

teal.transform (version 0.6.0)

get_dplyr_call: Parses filter, select, rename and reshape call

Description

Parses filter, select, rename and reshape call

Usage

get_dplyr_call(
  selector_list,
  idx = 1L,
  join_keys = teal.data::join_keys(),
  dplyr_call_data = get_dplyr_call_data(selector_list, join_keys = join_keys),
  datasets = NULL
)

Value

(call) filter, select, rename and reshape call.

Arguments

selector_list

(reactive) output from data_extract_multiple_srv() or a reactive named list of outputs from data_extract_srv(). When using a reactive named list, the names must be identical to the shiny ids of the respective data_extract_ui().

idx

(integer) optional, current selector index in all selectors list.

join_keys

(join_keys) nested list of keys used for joining.

dplyr_call_data

(list) simplified selectors with aggregated set of filters, selections, reshapes etc. All necessary data for merging.

data

(NULL or named list) of datasets.