Description Usage Arguments Value Examples
Get Botometer scores for given user(s)
1 2 3 4 5 6 7 8 |
users |
Vector of user IDs or screen names |
token |
rtweet token. If NULL (default), then rtweet looks for a token path in .Renviron |
key |
Botometer API key, which you should be able to get from: https://rapidapi.com/OSoMe/api/botometer/details |
set_key |
Logical indicating whether to set the botometer key as an R environment variable for current future sessions (on the same machine). |
parse |
Logical indicating whether to parse return information. If TRUE (the default) then a data.table is returned. |
verbose |
Logical indicating whether to print updates between each call. Default is TRUE. |
A data frame (data.table) of user ID, screen name, and botometer score
1 2 3 4 5 6 7 8 | ## Not run:
## get botometer scores
b <- predict_botometer(c("kearneymw", "netflix_bot", "magicrealismbot", "PatrickMahomes"))
## get full information returned by botometer (as response objects)
r <- predict_botometer(c("kearneymw", "netflix_bot"), parse = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.