dgrtwo / tidy-text-mining

Manuscript of the book "Tidy Text Mining with R" by Julia Silge and David Robinson
http://tidytextmining.com
Other
1.32k stars 806 forks source link

Update 03-tf-idf.Rmd #59

Closed jl5000 closed 5 years ago

jl5000 commented 5 years ago

You shouldn't need to ungroup after count.

juliasilge commented 5 years ago

When we published the book, this change to dplyr (count() now preserves grouping) was barely released so we made sure to write code that would work with both with pre-0.7.0 dplyr and the 0.7.0 release of dplyr. It's been a year and a half now, so it's probably safe to switch over to only support the updated dplyr.