Learn R Programming

botrnot (version 0.0.2)

botornot: botornot

Description

Classify users/accounts in Twitter data as bots or not bots.

Usage

botornot(x, fast = FALSE)

botrnot(...)

Arguments

x

Object to be classified. Can be user IDs, screen names, or data frames returned by rtweet.

fast

Logical indicating whether to use the fast (lighter) model. The default (fast = FALSE) method uses the most recent 100 tweets posted by users to determine the probability of bot. The fast (fast = TRUE) method only uses users-level data, which is easier to get in large quantities from Twitter's APIS but overall less accurate.

Value

Classifications for all users expressed as probability of whether each account is a bot.