Learn R Programming

⚠️There's a newer version (1.0.1) of this package.Take me there.

sentometrics: An Integrated Framework for Textual Sentiment Time Series Aggregation and Prediction

Copy Link

Version

Install

install.packages('sentometrics')

Monthly Downloads

453

Version

0.5.6

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Samuel Borms

Last Published

December 18th, 2018

Functions in sentometrics (0.5.6)

ctr_agg

Set up control for aggregation into sentiment measures
compute_sentiment

Compute document-level sentiment across features and lexicons
measures_global

Merge sentiment measures into multiple weighted global sentiment indices
measures_merge

Merge sentiment measures
get_dimensions

Get the dimensions of the sentiment measures
ctr_model

Set up control for sentiment-based sparse regression modelling
get_hows

Options supported to perform aggregation into sentiment measures
list_lexicons

Built-in lexicons
peakdates

Extract dates related to sentiment time series peaks
peakdocs

Extract documents related to sentiment peaks
measures_select

Select sentiment measures
list_valence_shifters

Built-in valence word lists
measures_subset

Subset sentiment measures
plot.sentomodeliter

Plot iterative predictions versus realized values
predict.sentomodel

Make predictions from a sentomodel object
add_features

Add feature columns to a (sento)corpus object
sento_measures

One-way road towards a sentomeasures object
nmeasures

Get number of sentiment measures
sento_model

Optimized and automated sentiment-based sparse regression
nobs.sentomeasures

Get number of observations in the sentiment measures
scale.sentomeasures

Scaling and centering of sentiment measures
sentometrics-defunct

Defunct functions
epu

Monthly Economic Policy Uncertainty Index
get_dates

Get the dates of the sentiment measures/time series
plot.attributions

Plot prediction attributions at specified level
get_loss_data

Retrieve loss data from a selection of models
get_measures

Get the sentiment measures
plot.sentomeasures

Plot sentiment measures
sento_corpus

Create a sentocorpus object
sentiment_bind

Bind sentiment objects row-wise
sentometrics-package

sentometrics: An Integrated Framework for Textual Sentiment Time Series Aggregation and Prediction
sento_lexicons

Set up lexicons (and valence word list) for use in sentiment analysis
weights_exponential

Compute exponential weighting curves
aggregate.sentiment

Aggregate textual sentiment across documents and time
sentometrics-deprecated

Deprecated functions
weights_almon

Compute Almon polynomials
measures_delete

Delete sentiment measures
measures_fill

Add and fill missing dates
to_sentiment

Convert a sentiment table to a sentiment object
weights_beta

Compute Beta weighting curves
to_sentocorpus

Convert a quanteda corpus object into a sentocorpus object
usnews

Texts (not) relevant to the U.S. economy
attributions

Retrieve top-down model sentiment attributions
data-defunct

Datasets with defunct names
diff.sentomeasures

Differencing of sentiment measures