Comparing Data Reviews of Beers by Style and Reviewing Body

Posted on Sep 21, 2020
The skills I demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Introduction

As a craft beer lover and homebrewer, I decided to scrape beer data reviews from one of my favorite brewing magazines, Craft Beer & Brewing. For their reviews, three different "entities" supplied comments/reviews. These were the brewer's themselves, a panel of judges, and editors of the magazine. I wanted to see the different ways the entities described the beers and also how these descriptions changed with different beer styles.

Data on Beers & Styles

Reviews were obtained for nearly 1000 beers and were representative of 202 "distinct" styles. The average number of beers per style was under 5, with only a few styles having more than 10, as can be seen below.

Comparing Data Reviews of Beers by Style and Reviewing Body

I decided to group beers based on their base style. For example, a coffee or vanilla or chocolate stout became just a stout. I then focused on 10 beer styles: IPA, Stout, Porter, Ale, Lager, Pilsner, Helles, Sour, Saison, Witbier.

NLP Data Analysis

The reviews were processed and word clouds created to compare the content of each review based on both the style of beer and reviewing entity. Below are the word clouds for each reviewing body for the beers taken as a whole.

Comparing Data Reviews of Beers by Style and Reviewing Body
Brewer's comments
Comparing Data Reviews of Beers by Style and Reviewing Body
Editor's comments
Panel comments

And word clouds for the IPA beer style.

Brewer's comments
Editor's comments
Panel comments

Conclusiovns

There are the obvious differences between descriptions for beer styles. The typical descriptions used to describe and differentiate beer styles are present. As far as the different reviewing entities, there are distinct differences. The brewer's comments focus on how the beer was brewed, similar to if you would ask a brewer at the brewery to describe the beer. The panel's comments focus on the technical aspects of the beer, similar to those from a beer judge. The editor's comments focus on the experience of drinking the beer, similar to if you ask a friend to describe a certain beer. A Shiny app was developed to display the word clouds and can be accessed here.

Code available on GitHub

Photo by Meritt Thomas on Unsplash

About Author

Related Articles

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI