Summary
Implement reframe.tbl_lazy_json. Like summarise() but allows results of arbitrary length per group (no one-row-per-group restriction).
Requirements
- Reuse the grouping machinery.
- Generalise the
summarise.js handler so a group can emit multiple rows (aggregation may produce a vector).
- Support the
.by argument (see the .by tracking work).
Acceptance criteria
Part of the jsplyr 0.2.0 release. See spec.md.
Summary
Implement
reframe.tbl_lazy_json. Likesummarise()but allows results of arbitrary length per group (no one-row-per-group restriction).Requirements
summarise.jshandler so a group can emit multiple rows (aggregation may produce a vector)..byargument (see the.bytracking work).Acceptance criteria
reframe.tbl_lazy_jsonexported and re-exported fromdplyrin NAMESPACE.summarise.jsgeneralised without breakingsummarise().devtools::document()regenerated.Part of the jsplyr 0.2.0 release. See
spec.md.