Stages can be narrowed to what is actually used. For how to use please see here https://github.com/WinVector/rquery/blob/master/extras/query_growth/query_growth.md.

get_relop_list_stages(collector, ..., narrow = TRUE)

Arguments

collector

a rquery::relop_list

...

force later arguments to bind by name

narrow

logical, if TRUE add select_columns() to narrow stages.

Value

a list of rquery::relops

See also

Examples

collector <- make_relop_list() ops <- mk_td("d", c("x", "y")) %.>% extend(., z %:=% x + y) %.>% collector get_relop_list_stages(collector)
#> [[1]] #> [1] "mk_td(\"d\", c( \"x\", \"y\")) %.>% extend(., z %:=% x + y)" #>