combine_data: Combine 'sentimentr"s Sentiment Data Sets

Description Usage Arguments Value Examples

View source: R/combine_data.R

Description

Combine trusted sentiment data sets from sentimentr.

Usage

1
2
3
4
5
6
combine_data(
  data = c("course_evaluations", "hotel_reviews", "kaggle_movie_reviews",
    "kotzias_reviews_amazon_cells", "kotzias_reviews_imdb", "kotzias_reviews_yelp",
    "nyt_articles"),
  ...
)

Arguments

data

A character vector of sentimentr data sets.

...

ignored.

Value

Returns an rbinded data.table of sentiment data with the source added as column.

Examples

1
2
3
combine_data()
combine_data(c("kotzias_reviews_amazon_cells", "kotzias_reviews_imdb", 
    "kotzias_reviews_yelp"))

trinker/sentimentr documentation built on Oct. 18, 2021, 12:20 a.m.