get_rename_call: Returns 'dplyr' rename call

get_rename_callR Documentation

Returns dplyr rename call

Description

Rename is used only if there are duplicated columns.

Usage

get_rename_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)
)

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

optional (integer) 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.

Value

(call) dplyr rename call.


teal.transform documentation built on May 29, 2024, 5:06 a.m.