The data used in this analysis comes from Yelp Reviews of two breweries, MadTree and Rhinegeist. By analyzing the most used words and their respective sentiment scores we can get a general idea of how people feel about these breweries and different aspects of each establishment.
First, we will look at the words that are used the most in these reviews
## # A tibble: 5,697 × 2
## word n
## <chr> <int>
## 1 beer 1018
## 2 brewery 414
## 3 space 363
## 4 beers 334
## 5 bar 313
## 6 pizza 296
## 7 love 291
## 8 food 266
## 9 time 259
## 10 rhinegeist 255
## # … with 5,687 more rows
Unsurprisingly, the most used word is beer. This data doesn’t do much for us so let’s break it down further.
Now we’ll create a visual to show this data, but now we’ll separate it by brewery.
Now, let’s ask a more interesting question. Which brewery has better beer? Since “beer” is a neutral word when it comes to sentiment analysis, for this we’ll see how often the word beer is used within 5 star reviews for each brewery.
By looking at this graph we can see that MadTree has a higher % of 5 star reviews that specifically mention their beer. This shows that people tend to like MadTree’s beer better while they could like Rhinegeist for other reasons other than just their beer.