1\name{strip_retweets}
2\alias{strip_retweets}
3\title{
4A function to remove retweets
5}
6\description{
7Given a list of status objects, will remove retweets from the list
8to provide a "pure" set of tweets.
9}
10\usage{
11strip_retweets(tweets, strip_manual = TRUE, strip_mt = TRUE)
12}
13\arguments{
14  \item{tweets}{A list of \code{\link{status}} objects}
15  \item{strip_manual}{If \code{TRUE} will remove old style manual retweets}
16  \item{strip_mt}{If \code{TRUE} will remove modified tweets (MT)}
17}
18\details{
19Newer style retweets are summarily removed regardless of options.
20
21Older style retweets (aka manual retweets) are tweets of the form
22\code{RT @user blah blah}. If \code{strip_manual} is \code{TRUE}, tweets
23containing the \code{RT} string will have everything including and to the
24right of the \code{RT} will be removed. Everything to the left of the
25\code{RT} will remain, as this should be original content.
26
27If \code{strip_mt} is \code{TRUE}, tweets will be stripped in the same
28manner as \code{strip_manual} but using the string {\code{MT}}
29}
30\value{
31A list of \code{status} objects with retweeted content removed
32}
33\author{
34Jeff Gentry
35}
36\seealso{
37\code{\link{status}}
38}
39\examples{
40  \dontrun{
41    tweets = searchTwitter("stuff")
42    no_retweets = strip_retweets(tweets)
43  }
44}
45\keyword{ utilities }
46