Closed daxkellie closed 2 years ago
Rather than using aselect_fields
function, the solution we came to was to have a galah_group_by
function which mirrors how one would use dplyr::group_by() %>% summarise(sum(.))
. Syntax changes made according to #101
The change to
ala_counts(group_by = )
to allow multiplegroup_by
arguments may now makeselect_groups()
andselect_columns()
duplicate functions. In addition, there is now some inconsistency in how galah differentiatesgroups
,columns
andfields
.An option that improves consistency is to create a
select_fields()
function. This function will accept and filter byfields
arguments (consistent withsearch_fields()
andfind_field_values()
)/cc @mjwestgate