Shouldbeverified
Predict Whether Twitter Users Should Be Verified
Install / Use
/learn @mkearney/ShouldbeverifiedREADME
<!-- README.md is generated from README.Rmd. Please edit that file -->
shouldbeverified <img src="man/figures/logo.png" width="160px" align="right" />
<!--# #-->An R package for predicting whether Twitter users should be verified
Installation
Install the development version from Github with:
## install remotes pkg if not already
if (!requireNamespace("remotes")) {
install.packages("remotes")
}
## install from github
remotes::install_github("mkearney/shouldbeverified")
At the current time, this package requires the development version of textfeatures, which means installing from Github:
## install from github
remotes::install_github("mkearney/textfeatures")
Use
The key function should_be_verified() accepts either a character
vector with Twitter screen names or user IDs or a data frame as
returned by rtweet.
## load package
library(shouldbeverified)
## predict whether user(s) should be verified
should_be_verified(
c("kearneymw", "MizzouDataSci", "gelliottmorris")
)
#> kearneymw MizzouDataSci gelliottmorris
#> 0.97718819 0.00247785 0.99846676
