scraper: Scraper of Reviews

View source: R/helpers.R

scraperR Documentation

Scraper of Reviews

Description

Function to pull Amazon reviews. Given a standard product link, it proprerly formats a paginated url, determines the number of pages to crawl, and then returns the reviews as a list

Usage

scraper(link)

Arguments

link

String url for Amazon product

Value

List of tibbles with date of review, star rating, headline, text, and link to review

Examples

## Not run: 
url <- "https://www.amazon.com/Fashion-Focus-Sweaters-Chihuahua-Clothing/product-reviews/B07L1LYTPX"
scraper(url)
## End(Not run)

taylorgrant/GSPtext documentation built on April 15, 2023, 10:56 p.m.