galah_group_by: Specify fields to group when downloading record counts
Description
atlas_counts supports server-side grouping of data. Grouping can be
used to return record counts grouped by multiple, valid fields (found by
search_all(fields). Use galah_group_by when using the
group_by argument of atlas_counts to return record counts summed
by one or more valid fields.
Usage
galah_group_by(..., expand = TRUE)
Value
If any arguments are provided, returns a data.frame with
columns name and type, as per galah_select(); if no arguments
are provided, returns NULL.
Arguments
...
zero or more individual column names to include
expand
logical: When passed to group_by argument of
atlas_counts, should factor levels be expanded? Defaults to TRUE.
See Also
galah_select(), galah_filter() and
galah_geolocate() for related methods.