Learn R Programming

rquery (version 1.3.8)

add_relop: Add a relop to the end of a relop_list.

Description

For how to use please see here https://github.com/WinVector/rquery/blob/master/extras/query_growth/query_growth.md.

Usage

add_relop(collector, ops)

Arguments

collector

a rquery::relop_list

ops

a rquery::relop

Value

a rquery::relop_table_source representing ops's future materialization.

See Also

make_relop_list, get_relop_list_stages, materialize_relop_list_stages

Examples

Run this code
# NOT RUN {
collector <- make_relop_list()
ops <- mk_td("d", c("x", "y")) %.>%
  extend(., z %:=% x + y) %.>%
  collector
get_relop_list_stages(collector)

# }

Run the code above in your browser using DataLab