get_reviews: Gets reviews from Amazon

Description Usage Arguments Value Examples

Description

The function gets reviews from Amazon for a particular product. It fetches the rating, the date of the review, the format if it is book, if the purchase was verified or not, the headline and the text of the review.

Usage

1
get_reviews(productCode, domain = "com")

Arguments

productCode:

The Amazon product code.

domain:

Domain to use if searching other sites than .com. See domains for available domains.

Value

The function returns a data frame with reviews.

Examples

1
2
3
# Get reviews for 'The Art of R Programming: A Tour of Statistical Software Design'

reviews <- Rmazon::get_reviews("1593273843")

56north/Rmazon documentation built on May 5, 2019, 10:45 a.m.