Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 1.85 KB

README.md

File metadata and controls

59 lines (43 loc) · 1.85 KB

shouldbeverified

Build status CRAN status Coverage Status

lifecycle

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