sentimentr: Calculate Text Polarity Sentiment
Version 1.0.0

Calculate text polarity sentiment at the sentence level and optionally aggregate by rows or grouping variable(s).

AuthorTyler Rinker [aut, cre]
Date of publication2017-03-11 00:45:00
MaintainerTyler Rinker <tyler.rinker@gmail.com>
LicenseMIT + file LICENSE
Version1.0.0
URL http://github.com/trinker/sentimentr
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("sentimentr")

Getting started

README.md

Popular man pages

average_downweighted_zero: Downweighted Zeros Averaging
plot.sentiment: Plots a sentiment object
reexports: Objects exported from other packages
sentiment: Polarity Score (Sentiment Analysis)
sentiment_attributes: Extract Sentiment Attributes from Text
sentiment_by: Polarity Score (Sentiment Analysis) By Groups
sentimentr: Calculate Text Polarity Sentiment
See all...

All man pages Function index File listing

Man pages

as_key: Create/Manipulate Hash Keys
average_downweighted_zero: Downweighted Zeros Averaging
cannon_reviews: Cannon G3 Camera Product Reviews From Amazon
extract_sentiment_terms: Extract Sentiment Words
general_rescale: Rescale a Numeric Vector
get_sentences: Get Sentences
highlight: Polarity Text Highlighting
kotzias_reviews: Kotzias Reviews
plot.sentiment: Plots a sentiment object
plot.sentiment_by: Plots a sentiment_by object
presidential_debates_2012: 2012 U.S. Presidential Debates
print.extract_sentiment_terms: Prints an extract_sentiment_terms Object
reexports: Objects exported from other packages
sam_i_am: Sam I Am Text
sentiment: Polarity Score (Sentiment Analysis)
sentiment_attributes: Extract Sentiment Attributes from Text
sentiment_by: Polarity Score (Sentiment Analysis) By Groups
sentimentr: Calculate Text Polarity Sentiment
uncombine: Ungroup a 'sentiment_by' Object to the Sentence Level
validate_sentiment: Validate Sentiment Score Sign Against Known Results

Functions

SE Source code
add_row_id Source code
as_key Man page Source code
average_downweighted_zero Man page Source code
average_mean Man page Source code
average_weighted_mixed_sentiment Man page Source code
cannon_reviews Man page
comma_reducer Source code
count_words Source code
extract_sentiment_terms Man page Source code
formdig Source code
general_rescale Man page Source code
general_rescale_h Source code
get_sentences Man page Source code
get_sentences.character Source code
get_sentences.get_sentences Source code
get_sentences.sentiment Source code
get_sentences.sentiment_by Source code
get_sentences2 Man page Source code
get_sents Source code
get_sents2 Source code
highlight Man page Source code
if_tibble Source code
is_key Man page Source code
kotzias_reviews Man page
log2NA Source code
make_sentence_df2 Source code
make_words Source code
mgsub Source code
package-sentiment Man page
paste2 Source code
plot.sentiment Man page Source code
plot.sentiment_by Man page Source code
presidential_debates_2012 Man page
print.extract_sentiment_terms Man page Source code
reexports Man page Man page Man page
replace_emoticon Man page
replace_grade Man page
replace_na Source code
replace_rating Man page
rm_class Source code
rm_na Source code
sam_i_am Man page
sentiment Man page Source code
sentiment_attributes Man page Source code
sentiment_by Man page Source code
sentiment_by.character Source code
sentiment_by.sentiment Source code
sentiment_by.sentiment_by Source code
sentimentr Man page
sentimentr-package Man page
set_tibble Source code
space_fill Source code
sum2 Source code
trimws Source code
uncombine Man page Source code
uncombine.sentiment_by Source code
update_key Man page Source code
update_polarity_table Man page
update_valence_shifter_table Man page Source code
validate_sentiment Man page Source code
validate_sentiment.numeric Source code
validate_sentiment.sentiment Source code
validate_sentiment.sentiment_by Source code

Files

inst
inst/sentiment_testing
inst/sentiment_testing/raw_results.R
inst/sentiment_testing/sentiment_testing.R
inst/sentiment_testing/results_list.rds
inst/CITATION
inst/sfp
inst/sfp/sfp
inst/figure
inst/figure/comparisons_between_sentiment_detectors2.pdf
inst/figure/unnamed-chunk-9-1.png
inst/figure/comparisons_between_sentiment_detectors_b.png
inst/figure/unnamed-chunk-10-1.png
inst/figure/unnamed-chunk-6-1.png
inst/figure/unnamed-chunk-21-1.png
inst/figure/unnamed-chunk-6-2.png
inst/figure/comparisons_between_sentiment_detectors2.png
inst/figure/unnamed-chunk-7-1.png
inst/figure/unnamed-chunk-8-1.png
inst/figure/highlight.png
inst/figure/unnamed-chunk-20-1.png
inst/the_case_for_sentimentr
inst/the_case_for_sentimentr/valence_shifter_cooccurrence_rate.R
inst/the_case_for_sentimentr/attributes_rate.rds
tests
tests/testthat.R
tests/testthat
tests/testthat/test-as.key.R
tests/testthat/test-utils.R
tests/testthat/test-extract_sentiment_terms.R
tests/testthat/test-sentiment.R
tests/testthat/test-sentiment_by.R
tests/testthat/test-get_sentences.R
tests/testthat/test-update_key.R
tests/testthat/test-is_key.R
tests/testthat/test-highlight.R
tests/testthat/test-uncombine.R
NAMESPACE
NEWS
data
data/presidential_debates_2012.rda
data/cannon_reviews.rda
data/kotzias_reviews.rda
data/sam_i_am.rda
R
R/utils.R
R/validate_sentiment.R
R/general_rescale.R
R/sentiment_attributes.R
R/sentiment.R
R/uncombine.R
R/get_sentences.R
R/extract_sentiment_terms.R
R/average_downweighted_zero.R
R/sentiment_by.R
R/sentimentr-package.R
R/textclean_reexports.R
R/highlight.R
R/as_key.R
README.md
MD5
DESCRIPTION
man
man/sentiment_attributes.Rd
man/validate_sentiment.Rd
man/cannon_reviews.Rd
man/presidential_debates_2012.Rd
man/plot.sentiment_by.Rd
man/sentiment.Rd
man/general_rescale.Rd
man/kotzias_reviews.Rd
man/sentiment_by.Rd
man/uncombine.Rd
man/get_sentences.Rd
man/sam_i_am.Rd
man/reexports.Rd
man/extract_sentiment_terms.Rd
man/highlight.Rd
man/print.extract_sentiment_terms.Rd
man/sentimentr.Rd
man/average_downweighted_zero.Rd
man/as_key.Rd
man/plot.sentiment.Rd
LICENSE
sentimentr documentation built on May 20, 2017, 5:43 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.