I am trying to do word analysis on some data in R. I imported one column of data that was text responses from a survey into R using read.csv. I named one of the columns "text" . This code was working fine a few days ago and now it suddenly is giving me an error. This is the code I am entering:
library(dplyr)
library(tidytext)
A1<-read.csv("/Users/Laura/Documents/A1.csv")
colnames(A1)= c("text")
A1<-A1%>%unnest_tokens(word, text)
The error I am getting now says this:
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.
My data didn't change, the code I'm using didn't change. :( I don't really understand why this is happening and am fairly new to R... Is there another package I need to load that maybe I had loaded before and didn't realize it?
Here is a link to my data: https://www.dropbox.com/s/amg12jp9qx98slz/A1.csv?dl=0
Thanks for your help