Skip to contents

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, ...)

Arguments

...

zero or more individual column names to include

.data

An object of class data_request

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()
}