Skip to contents

Group JSON data by one or more columns.

Usage

# S3 method for class 'tbl_lazy_json'
group_by(.data, ...)

Arguments

.data

A tbl_lazy_json object.

...

Columns to group by. Accepts bare column names as well as the tidyselect helpers c(...), all_of()/any_of(), and across(), which are resolved to plain column names on the R side.

Value

A tbl_lazy_json object carrying the grouping as browser-side state. The grouping is consumed by group-aware verbs such as summarise(), count(), and the slice() family when the pipeline is evaluated.