Learn R Programming

teal.transform (version 0.6.0)

get_reshape_call: Returns dplyr reshape call

Description

Returns dplyr reshape call

Usage

get_reshape_call(
  selector_list = list(),
  idx = 1L,
  join_keys = teal.data::join_keys(),
  dplyr_call_data = get_dplyr_call_data(selector_list, join_keys = join_keys)
)

Value

List of multiple dplyr calls that reshape data.

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.