I am using R to do datamining on tweets. I currently use a search query that is keyword. keyword = "eurovision -filter:replies" tweets = searchTwitter(keyword,n = 200,lang = 'en') I also want to filter out retweets but the following keyword does not filter replies nor retweets: keyword = "eurovision -filter:replies -filter:retweets" I searched the web and the documentation of the twitter API (https://developer.twitter.com/en/docs/tweets/rules-and-filtering/overview/standard-operators ) but could not find a working example. there has to be an easy solution right?

该rtweet软件包可能会对您有所帮助。它易于使用且有据可查。rud.is/books/21-recipes/searching-for-tweets.html

这并不是我真正想要的,但这些例子给了我一个想法。我使用以下方法解决了这个问题:keyword = "eurovision -RT -filter:retweets"