Nest expressions as a functional chain

nest_expr(
  ...,
  .start = TRUE,
  .end = .start,
  .parse = getOption("table.express.parse", FALSE)
)

Arguments

...

Expressions that will be part of the functional chain.

.start

Whether to add a start_expr() call at the beginning of the chain.

.end

Whether to add an end_expr() call at the end of the chain.

.parse

Logical. Whether to apply rlang::parse_expr() to obtain the expressions.

Details

All expressions in ... are "collapsed" with %>%, passing the ExprBuilder's captured data.table as the initial parameter. Names are silently dropped.

The chain is evaluated eagerly and saved in the ExprBuilder instance to be used during final expression evaluation.

To see more examples, check the vignette, or the table.express-package entry.