count.data_request()
and atlas_counts()
support server-side grouping of
data. Grouping can be used to return record counts grouped by multiple, valid
fields (found by search_all(fields)
).
Usage
galah_group_by(...)
# S3 method for data_request
group_by(.data, ...)
Value
If any arguments are provided, returns a data.frame
with
columns name
and type
, as per select.data_request()
.
Examples
if (FALSE) {
galah_call() |>
galah_group_by(basisOfRecord) |>
atlas_counts()
}