reviews_test {shoppingwords}R Documentation

A test dataset

Description

A test sample data used for testing analysis functions. It differs from reviews data. The text column in this data frame is similar to the comment column in the reviews data frame. Note that this data frame contains 170 texts that are in common, verbatim, with comments in the reviews dataset. This is because some users made the same comments. The id column shows that these are not the same observations, just similarly worded comments from different reviews.

Usage

reviews_test

Format

A tbl_df with with 1,481 rows and 4 variables:

rating

Rating score, out of 5.

text

Comment text, in Turkish.

emotion

n for negative, p for positive.

id

Rating ID.

Examples

reviews_test

[Package shoppingwords version 0.1.0 Index]