An open API service indexing awesome lists of open source software.

https://github.com/mkearney/shouldbeverified

Predict Whether Twitter Users Should Be Verified
https://github.com/mkearney/shouldbeverified

mkearney-r-package r r-package rstats rtweet twitter twitter-api twitter-verified verified-twitter

Last synced: 11 months ago
JSON representation

Predict Whether Twitter Users Should Be Verified

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r setup, include = FALSE}
knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, comment = "#>")
```
# shouldbeverified

[![Build status](https://travis-ci.org/mkearney/shouldbeverified.svg?branch=master)](https://travis-ci.org/mkearney/shouldbeverified)
[![CRAN status](https://www.r-pkg.org/badges/version/shouldbeverified)](https://cran.r-project.org/package=shouldbeverified)
[![Coverage Status](https://codecov.io/gh/mkearney/shouldbeverified/branch/master/graph/badge.svg)](https://codecov.io/gh/mkearney/shouldbeverified?branch=master)

[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)

> An R package for predicting whether Twitter users should be verified

## Installation

Install the development version from Github with:

``` r
## 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](https://textfeatures.mikewk.com), which means installing from
Github:

``` r
## 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](https://rtweet.info).

```{r}
## load package
library(shouldbeverified)

## predict whether user(s) should be verified
should_be_verified(
c("kearneymw", "MizzouDataSci", "gelliottmorris")
)
```