Description Usage Arguments Details Value Author(s) Examples
View source: R/removeTweetsStopwords.R
removeTweetsStopwords
removes Tweets containing stopwords
1 | removeTweetsStopwords(tweetMessages, stopWords)
|
tweetMessages |
a dataframe containing the Tweet messages |
stopWords |
a string containing stopwords separated by ';' |
This function removes Tweets containing stopwords from a list of Twitter messages.
a filtered data frame
Dorian Proksch <dorian.proksch@hhl.de>
1 2 3 4 5 | stopWords <- "review;giveaway;save;deal;win;won;price;launch;news;gift;announce;
reveal;sale;http;buy;bought;purchase;sell;sold;invest;discount;
coupon;ship;giving away"
data(NMTrainingData)
filteredTweets <- removeTweetsStopwords(NMTrainingData, stopWords)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.