Please see https://github.com/WinVector/rquery/blob/master/extras/Summary_Example.md for an example.
quantile_node(source, cols = NULL, ..., probs_name = "quantile_probability",
probs = seq(0, 1, 0.25),
tmp_name_source = wrapr::mk_tmp_name_source("qn"), temporary = TRUE)
source to select from (relop or data.frame).
character, compute quantiles for these columns (NULL indicates all columns).
force later arguments to be bound by name
character, column name to write probs in.
numeric quantiles to compute
wrapr::mk_tmp_name_source(), temporary name generator.
logical, if TRUE use temporary tables
table of quantiles
This is a non_sql_node, so forces the materialization of the calculation prior to it losing narrowing optimizations.