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

433

Version

0.7.5

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Samuel Borms

Last Published

October 30th, 2019

Functions in sentometrics (0.7.5)

aggregate.sentiment

Aggregate textual sentiment across sentences, documents and time
add_features

Add feature columns to a (sento_)corpus object
attributions

Retrieve top-down model sentiment attributions
compute_sentiment

Compute textual sentiment across features and lexicons
as.data.table.sento_measures

Get the sentiment measures
aggregate.sento_measures

Aggregate sentiment measures
as.sento_corpus

Convert a quanteda or tm corpus object into a sento_corpus object
as.sentiment

Convert a sentiment table to a sentiment object
corpus_summarize

Summarize the sento_corpus object
ctr_agg

Set up control for aggregation into sentiment measures
list_lexicons

Built-in lexicons
ctr_model

Set up control for sentiment-based sparse regression modelling
get_hows

Options supported to perform aggregation into sentiment measures
diff.sento_measures

Differencing of sentiment measures
epu

Monthly Economic Policy Uncertainty Index
data-defunct

Datasets with defunct names
get_dimensions

Get the dimensions of the sentiment measures
get_dates

Get the dates of the sentiment measures/time series
list_valence_shifters

Built-in valence word lists
get_loss_data

Retrieve loss data from a selection of models
measures_update

Update sentiment measures
plot.sento_modelIter

Plot iterative predictions versus realized values
nobs.sento_measures

Get number of observations in the sentiment measures
merge.sentiment

Merge sentiment objects horizontally and/or vertically
nmeasures

Get number of sentiment measures
peakdocs

Extract documents related to sentiment peaks
measures_fill

Add and fill missing dates to sentiment measures
plot.sento_measures

Plot sentiment measures
plot.attributions

Plot prediction attributions at specified level
peakdates

Extract dates related to sentiment time series peaks
sentometrics-package

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

Subset sentiment measures
sento_lexicons

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

Create a sento_corpus object
scale.sento_measures

Scaling and centering of sentiment measures
predict.sento_model

Make predictions from a sento_model object
usnews

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

Compute Almon polynomials
sento_measures

One-way road towards a sento_measures object
sento_model

Optimized and automated sentiment-based sparse regression
weights_exponential

Compute exponential weighting curves
weights_beta

Compute Beta weighting curves
sentometrics-defunct

Defunct functions
sentometrics-deprecated

Deprecated functions