Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkearney/opinion.classifier
What the Package Does (One Line, Title Case)
https://github.com/mkearney/opinion.classifier
Last synced: 3 months ago
JSON representation
What the Package Does (One Line, Title Case)
- Host: GitHub
- URL: https://github.com/mkearney/opinion.classifier
- Owner: mkearney
- License: other
- Created: 2019-10-28T18:02:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-28T18:14:20.000Z (about 5 years ago)
- Last Synced: 2024-05-21T02:11:36.835Z (6 months ago)
- Language: R
- Size: 4.88 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
library(opinion.classifier)
options(width = 90)
```# opinion.classifier
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
[![CRAN status](https://www.r-pkg.org/badges/version/opinion.classifier)](https://CRAN.R-project.org/package=opinion.classifier)
[![Travis build status](https://travis-ci.org/mkearney/opinion.classifier.svg?branch=master)](https://travis-ci.org/mkearney/opinion.classifier)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/mkearney/opinion.classifier?branch=master&svg=true)](https://ci.appveyor.com/project/mkearney/opinion.classifier)A machine learning classification model for measuring opinion, or editorial,
content in news text. The model was trained using editorial and news content
from highly regarded, well-known journalism outlets.## Installation
You can install the released version of opinion.classifier from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("opinion.classifier")
```or the development version from Github
``` r
remotes::install_github("mkearney/opinion.classifier")
```## Example
Get opinion probability estimate
```{r, eval=FALSE}
opinion.classifier::opinion_score(x)
```