microsoft / datamations

https://microsoft.github.io/datamations/
Other
67 stars 14 forks source link

Group by two variables consistently when using group_by #24

Closed sharlagelfand closed 3 years ago

sharlagelfand commented 3 years ago

Right now e.g. group_by(work, degree) only visualizes the second grouping variable if summarise() is also used afterwards - should show the grouping by both variables just from group_by(work, degree)

datamation_sanddance("small_salary %>% group_by(Work, Degree) %>% summarise(mean = mean(Salary))", output = "summarise.gif", nframes = 5)

vs

datamation_sanddance("small_salary %>% group_by(Work, Degree)", output = "group.gif", nframes = 5)

sharlagelfand commented 3 years ago

This is all good - just gonna close.