get_product_info: Gets product info from Amazon

Description Usage Arguments Value Examples

Description

The function gets product info from Amazon for a particular product. It fetches the product title, the price, the average rating, the histogram of the reviews, reviews count and product details.

Usage

1
get_product_info(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 list frame with product information.

Examples

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

product_info <- Rmazon::get_product_info("1593273843")

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