/Web-Scraping-and-Amazon-Reviews-Analysis

A Web Scraping project to analyze product reviews in Amazon.com. A sentiment analysis is done and the reviews are sorted and highlighted in green or red based on the sentiment score.

Primary LanguageR

Web-Scraping-and-Amazon-Reviews-Analysis

This is a Web Scraping project to analyze product reviews in Amazon.com. Once you provide the Product ID and the number of pages of reviews you want to scrape, the best and the worst reviews are identified based on their sentiment scores. They are highlighted in green and red (for positive and negative reviews respectively) and shown in an HTML format. The mean rating for the product and the overall average sentiment score of the product is also revealed.

Before you buy any product on Amazon, get the Product ID and run this code to find out the reviews that would actually interest you! :D

The code can be found here.

Note :

  • The Product ID can be taken from Amazon's URL
  • This project becomes extremely useful if the product has 30+ reviews which is more than likely for most products
  • The Outputs would look something like this!