get_pipe_source_name: get_pipe_source_name (non-exported)

Description Usage Arguments References Examples

View source: R/get_pipe_source_name.R

Description

Get the name from the object at the front of a pipe.

Usage

1

Arguments

data;

data.frame-like object

References

Stackoverflow

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
my_dt <- data.table(letters=letters[1:5])
fun <- function(data) {
  # browser()
  get_orig_name()
  # data
}


my_dt %>% get_pipe_source_name()
my_dt %>% fun()

# Not Exported

decisionpatterns/stitch documentation built on Sept. 9, 2020, 12:43 a.m.