Description Usage Arguments Details Value Author(s) See Also Examples
Given a list of status objects, will remove retweets from the list to provide a "pure" set of tweets.
1 | strip_retweets(tweets, strip_manual = TRUE, strip_mt = TRUE)
|
tweets |
A list of |
strip_manual |
If |
strip_mt |
If |
Newer style retweets are summarily removed regardless of options.
Older style retweets (aka manual retweets) are tweets of the form
RT @user blah blah
. If strip_manual
is TRUE
, tweets
containing the RT
string will have everything including and to the
right of the RT
will be removed. Everything to the left of the
RT
will remain, as this should be original content.
If strip_mt
is TRUE
, tweets will be stripped in the same
manner as strip_manual
but using the string MT
A list of status
objects with retweeted content removed
Jeff Gentry
1 2 3 4 5 | ## Not run:
tweets = searchTwitter("stuff")
no_retweets = strip_retweets(tweets)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.