galah_group_by {galah} | R Documentation |
Specify fields to group when downloading record counts
Description
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 class 'data_request'
group_by(.data, ...)
Arguments
... |
zero or more individual column names to include |
.data |
An object of class |
Value
If any arguments are provided, returns a data.frame
with
columns name
and type
, as per select.data_request()
.
Examples
## Not run:
galah_call() |>
galah_group_by(basisOfRecord) |>
atlas_counts()
## End(Not run)
[Package galah version 2.0.2 Index]