stocktwits

Stock Tweets, Text Mining, Emoticon Erros

偶尔善良 提交于 2019-12-07 20:21:40
问题 I was hoping you'd be able to assist in a text mining exercise. I was interested in 'AAPL' tweets, and was able to pull 500 tweets from the API. I was able to clear several hurdles on my own, but need help for last part. For some reason, the tm package is not removing stopwords. Can you please take a look and see what the problem might be? Are emoticons causing an issue? After plotting Term_Frequency, the most frequent terms are "AAPL", "Apple", "iPhone", "Price", "Stock" Thanks in advance!

Stock Tweets, Text Mining, Emoticon Erros

徘徊边缘 提交于 2019-12-06 13:29:06
I was hoping you'd be able to assist in a text mining exercise. I was interested in 'AAPL' tweets, and was able to pull 500 tweets from the API. I was able to clear several hurdles on my own, but need help for last part. For some reason, the tm package is not removing stopwords. Can you please take a look and see what the problem might be? Are emoticons causing an issue? After plotting Term_Frequency, the most frequent terms are "AAPL", "Apple", "iPhone", "Price", "Stock" Thanks in advance! Munckinn transform into dataframe tweets.df <- twListToDF(tweets) #Isolate text from tweets aapl_tweets