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
- Host: GitHub
- URL: https://github.com/mkearney/shouldbeverified
- Owner: mkearney
- License: gpl-3.0
- Created: 2018-12-11T16:50:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T21:47:45.000Z (over 7 years ago)
- Last Synced: 2025-06-05T22:04:58.349Z (12 months ago)
- Topics: mkearney-r-package, r, r-package, rstats, rtweet, twitter, twitter-api, twitter-verified, verified-twitter
- Language: R
- Homepage: https://github.com/mkearney/shouldbeverified
- Size: 9.06 MB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE.md
Awesome Lists containing this project
README
---
output: github_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, comment = "#>")
```
# shouldbeverified 
[](https://travis-ci.org/mkearney/shouldbeverified)
[](https://cran.r-project.org/package=shouldbeverified)
[](https://codecov.io/gh/mkearney/shouldbeverified?branch=master)
[](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")
)
```