dgrtwo / tidy-text-mining

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

update superseded tidyverse functions #93

Closed botan closed 3 years ago

botan commented 3 years ago

the following superseded functions have been updated

gather() to pivot_longer() spread() to pivot_wider() top_n() to slice_max() mutate_if() to mutate(across(where()))

juliasilge commented 3 years ago

Thanks so much @botan! 🙌

Related to #81 and #89

juliasilge commented 3 years ago

I did go back to mutate_if() in that one chapter since I don't want to explain across() and some of that is still shaking out.