7.9 Groupby

Do a group by and perform multiple summarizations

The above code can be re-written using the pipe, %>%

Otherwise you will have to create a temp variable, or write a nested expression