Skip to content

azratuni/Restaurant-Review-Scraping-and-Sentiment-Analysis

Repository files navigation

Restaurant Review Scraping and Sentiment Analysis

This repository contains a dataset of restaurant reviews scraped from TripAdvisor. The dataset includes valuable information about user reviews, ratings, and other relevant features. Additionally, I conducted sentiment analysis on the data to gain insights into customer sentiments.

Dataset Details

Name: TripAdvisor Restaurant Reviews
Available On: Kaggle
Number of Records: 1216

Key Features:
Review Date: The date on which the review was posted.
Review Text: The actual review provided by users.
Rating: User ratings (ranging from 1 to 5).

Data Collection

I collected the data using Selenium, a powerful web scraping tool. By automating the process, I extracted restaurant reviews from TripAdvisor, ensuring a comprehensive dataset for analysis.

Sentiment Analysis

To understand customer sentiments, I performed sentiment analysis on the review texts. This allowed me to categorize reviews as positive, negative, or neutral. The insights gained from this analysis can be useful for restaurant owners and managers.

Kaggle Links

Dataset on Kaggle: https://www.kaggle.com/datasets/azratuni/restaurant-review-tripadvisor/data
Kaggle Notebook for Scraping and Sentiment Analysis: https://www.kaggle.com/code/azratuni/restaurant-review-scraping-and-sentiment-analysis