I am trying to extract tweets using certain keywords.
My code is:
filterStream(file.name = "tweets.json", track = c('fun', 'arbitrary'),
langauge = 'en', timeout = 1200, oauth = my_oauth)
file.name = NULL, track = NULL, follow = NULL, locations = NULL, language = NULL, timeout = 0, tweets = NULL, oauth = NULL, verbose = TRUE
The main confusion behind this was question was because when I checked
retweeted column my resulting data, it always showed this:
> head(t16.df$retweeted, 10)  FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
Whereas, when I checked my
text column, it did indeed contained retweets.
> head(t16.df$text)  "It's hard, but here's how to support innovation via @HarvardBiz #innovation #startup #create "  "Do you want to work for someone else your entire life ? #startup #success #entrepreneur #business #inspiration"  "RT @StartGrowthHack: How to start a #startup? What is the process to make it a #success. #Entrepreneur "  "RT @ipfconline1: #Startup: Outbound #Marketing vs #InboundMarketing >> The Best Is to Use a Mix of Both #GrowthHack…"  "Understanding and using marke #FolaDanielSpeaks Call +2348034163006 to Book Fola Daniel to speak, train or compere"  "RT GrowthHackers: The Process of Creating Trello #startup -via biconnections"