I am trying to analyze customer reviews. My data base is composed of one column named ReqSummary and when I am trying to start my sentiment analysis I receive the following error message: Error in check_input(x) : Input must be a character vector of any length or a list of character vectors, each of which has a length of 1. Here is my code:
library(tidyverse)
library(tidytext)
library(readr)
data.tb <- as_tibble(data.frame(data))
data.tok <- unnest_tokens(data.tb, output="word", input="ReqSummary", to_lower=TRUE, strip_punct=TRUE, strip_numeric=TRUE)