filterTweetsNeedwords {needmining} | R Documentation |
Filter tweets containing need indicating words
Description
filterTweetsNeedwords
filters a list of Tweets regarding
need indicating words
Usage
filterTweetsNeedwords(tweetMessages, needWords)
Arguments
tweetMessages |
a dataframe containing the Tweet messages |
needWords |
a string containing needwords separately by ';' |
Details
This function filters Tweets regarding a list of need indicating words
Value
a filtered data frame
Author(s)
Dorian Proksch <dorian.proksch@hhl.de>
Examples
data(NMTrainingData)
needWordsNeedsOnly <- "need;want;wish;feature;ask;would like;improve;idea;upgrade"
needsSimple <- filterTweetsNeedwords(NMTrainingData, needWordsNeedsOnly)
needWordsExtended <- "need;want;wish;feature;ask;would like;improve;idea;upgrade;
support;problem;issue;help;fix;complain;fail"
needsSimpleExtended <- filterTweetsNeedwords(NMTrainingData, needWordsExtended)
[Package needmining version 0.1.1 Index]