In my tweets, I am getting Unicode in angular brackets as: "U+0001F602" Loved my flip phones
I want unicode in the format: \U0001F602. I used rtweet package for retrieving tweets. I am new in this area. I want to know can we filter out Retweets somehow to reduce redundancy in the dataset
tweets = search_tweets(q="phones", n=5000, lang="en")
Searching for tweets...
Finished collecting tweets!
write_as_csv(tweets, filename ,prepend_ids=TRUE, na="",fileEncoding = "UTF-8")
I tried without "fileencoding" parameter as well.