Open jamesmartherus opened 4 years ago
Thanks for raising this issue! get_totals() was one of the first functions we made and it wasn't designed from the ground up to work with tidyverse and piping. We've been considering making this change in the next release but it would require updating a lot of other bits of code on our end as well, so it's something we need to spec out properly.
Tidyverse functions generally take the data argument first, making it easier to use the
%>%
operator. For example:becomes:
Happy to submit a PR if you all are interested. This change could be relevant to other functions as well, I haven't checked.