On Yelp, where anyone can submit and read reviews, businesses can and should leverage the user-submitted data to not only better understand their customer feedback, but the greater competitive market.Some parts of the customer feedback are easily quantified, such as the number of stars out of 5 given, the “useful”, “funny”, or “cool” votes. However, what the user includes in the text of their feedback is even more important, containing raw insights and even complaints about their experience.
For this project, we wanted to focus on Yelp tips: shorter than reviews, but quick and straight to the point with suggestions. As characteristic of rating-oriented feedback, Yelp reviews are typically skewed towards the extreme ends of the 5-star spectrum, with users frequently leaving reviews only when they have an awesome or terrible experience. However, with tips not tied to a rating, we saw an opportunity for analyzing this more objective source of feedback.
The purpose of our research project is to better understand what’s in a tip, and what its content may infer about a business’ overall rating. We’ve scoped our project down to analyzing tips for coffee shops. ☕
Our main research question is:
Our sub-questions are:
The dataset that we will be working with is a subset of Yelp’s businesses, reviews, and user data across 11 metropolitan areas in four countries. For this research study, we are specifically working with information about businesses (yelp_business.csv) and user-submitted tips (yelp_tip.csv). This dataset was originally collected for the Yelp Dataset Challenge where analyses and discoveries on Yelp’s data could be shared and made freely available. The dataset can be accessed and downloaded from Kaggle’s website (link)
Here is a glimpse of the business data, which includes identifier, geographical, and categorical information about a business:
Here is a glimpse of the tips data:
After filtering for just 'Cafes' and 'Coffee & Tea' categories, we obtained a dataset which consists of:
On average, each business receives 13.5 user-submitted tips on Yelp.
Below is a preview of the dataset that our analyses are based upon:
The barchart below shows the distribution of stars (ratings) across all businesses in the 'Cafes' | 'Coffee & Tea' categories:
The 100 most frequently used words in tips are:
We even created a word cloud in the shape of a coffee mug using the top 100 words! Looks to be pretty positive:
To better understand the content of the tips in detail, from our top 100 words, we manually coded each word into four categories:
From this process, we were able to reduce our data size by 29%, with 29 words eliminated. Out of the remaining words, we had 21 positive, 5 negative, and 33 neutral, as seen below:
Our final words list is the 15 words that we felt had the most potential to have a relationship to the business’ overall rating, based on their flexibility (does the context of the word change across different tips?), scalability, and usefulness. Donuts were chosen just for fun because we all love a good donut! 🍩
5 words were chosen from each category: positive, negative, and neutral:
We then looked at one tip for each 0.5 rating increment that included each of our 15 words, to qualitatively analyze the context and sentiment of each word. From this data subset, we gathered a few interesting observations:
Finally, to answer our research question, we compiled the top 100 Cafes & Coffee Shops by their total number of tips (so there would be a significant range of tips to analyze), and calculated the frequency of each of our 15 words as mentioned in all of their tips:
We can see the distribution of these 15 words in the top 100 businesses below - service, fast, and love were the top 3 most frequently mentioned words overall, and positive words were mentioned more than neutral or negative words.
The top words mentioned at each rating increment also varied. We can also see that the average rating of the top 100 businesses with most tips is fairly high, between 4.0 and 4.5, indicating a possible relationship between the number of tips a business has and its rating!
To analyze the relationship between each of our 15 keywords and the business rating, we ran a multivariate linear regression, with each word as a covariate:
Understanding customer feedback is critical to a business' success, and feedback comes in all forms, be it in-person conversations, emails, phone calls, or online. While Yelp reviews are a direct source of user feedback that allows users to rate a business and write in-depth about their experience, Yelp tips are the tl;dr, no-nonsense version of reviews that we were interested in exploring further.
We found that Yelp tips were a mix of recommendations for the business, and recommendations for other customers. By analyzing a variety of frequently mentioned words - positive words, negative words, and neutral features - in user-submitted tips, we were able to gain a better understanding of the relationship between these business attributes and user sentiments, and the business' overall rating.
Our final result pointed at mentions of friendly having the most positive impact on a business' rating, and a significant relationship. This is a critical finding that underscores the importance of good customer service on a business' success, and we hope our project can be helpful for businesses in better understanding their user feedback. 🤗