I am starting to use tidytext to get basic word frequencies for a text file with a collection of emails and lots of garbage in between.
The relevant part of the script is:
library(tidytext)
data <- read_lines("emails.txt")
text_tibble <- tibble(line = seq_along(data), text = data)
text_tibble %>%
unnest_tokens_(word, text)
Error: Can't convert a function to a quosure
Can you please orient me? Thanks. Original data result of dput(text_tibble)