Mute Twitter Users with Excessive Hashtag Use
Mutes Twitter accounts using for than 'ncrit' hashtags among 'N' tweets in search of along with of 'term'.
muteTweeters(term = "#rstats", N = 1000, ncrit = 10)
term |
A character variable to search for, defaults to ‘#rstats’ |
N |
An number of tweets to fetch, defaults to 1000 |
ncrit |
A number of hashtags after which use is deemed excessive, defaults to 10 |
This is a modified version of the code in a wonderful tweet by Colin
Gillespie (csgillespie) on 2020-August-26. It requires the rtweet
and data.table
packages.
NULL
, invisibly, but the function is invoked for the side effect
of calling post_mute
.
Dirk Eddelbuettel
## Not run: ## mute users with more than 10 hashtags among ## the 1000 most recent #rstats tweets muteTweeters("#rstats", 1000, 10) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.