filterTweetsNeedwords: Filter tweets containing need indicating words

Description Usage Arguments Details Value Author(s) Examples

Description

filterTweetsNeedwords filters a list of Tweets regarding need indicating words

Usage

1
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

1
2
3
4
5
6
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)

needmining documentation built on May 1, 2019, 8:36 p.m.