Are you a champagne, scotch, brandy or Irish cream lover?

Sounithtra Vongsaphay
Posted on Feb 26, 2018

Photo by Nancy Lee

A glimpse at the flourishing industry of wine and spirits in Quebec, renowned gourmet destination!

When I embarked on the journey of learning how to become a data scientist at the NYC Data Science Academy, I knew from the start that it would be a great challenge! For my first project, I needed to build an interactive Shiny application that could create visual representations of large sets of data. That is when I partnered with a company that could use such a tool, Mosaiq Inc.

Mosaiq is an independently owned company based in Montreal that imports a great selection of beers, wines and spirits from all over the world and sells them to a government owned corporation named The Société des alcools du Québec (SAQ).

The SAQ's mandate is to sell alcoholic products to consumers. It provides a major income stream to the Quebec and Canadian governments in the form of taxes and duties. It also makes dividend payment to the Quebec government which is its sole shareholder. The SAQ has over 400 retail outlets in the province of Quebec!

Building the app

One of the problems Mosaiq had was having to work with huge raw csv sales files that were difficult to analyze. The SAQ sells these files which contain a long list of every sales transaction in Quebec in a week. Mosaiq currently uses the files to calculate total province-wide sales but they couldn't evaluate how their products were doing by city or region.

For this project we have used sales data for the month of December 2017 which is the most important month of the year for the industry!

Mosaiq wanted a tool that would allow them to see the percent market share of their products broken down by city or region. To see the sales by different SAQ banners was important as well. For instance SAQ Express outlets have the best selling products and SAQ Signature outlets have high end, exclusive and rare products. Knowing this information would help focus their sales, promotion and marketing teams on certain regions.

The application I have developped solves Mosaiq's problem! I have named the tool HallStat after the charming town Hallstatt I fell in love with when I visited Austria.  

Data analysis

Some challenges with the raw csv files Mosaiq purchased were the need to:

     - ignore certain transactions such as the sales from warehouses.

     - merge multiple reference files as the raw sales files only had codes.

     - determine factors to convert various bottle sizes to nine liter equivalent cases which

       is the industry standard to compare volumes.

     - group all non-Mosaiq products into one group called "Other"

I am proud to now present the app's functionality. I wanted to keep it as simple and easy to navigate as possible so Mosaiq can use it weekly, monthly or even every time they meet with their customers (which are the wine and spirits makers).

 

The Home page welcomes the user.

The tab "Explore the market" displays interactive graphs and text that updates every time a new criteria is selected.

The user has the option to select all the banners as well as the divisions, without having to manually select them all.

The divisions' drop list and it's title changes depending on the user's selection of type of division.

The tab "View the data" allows the user to navigate through the sales information in a user friendly interface and refining the search.

About Author

Sounithtra Vongsaphay

Sounithtra Vongsaphay

Sounithtra graduated from the University of Quebec in Montreal with a Bachelor's degree in Actuarial Science. She helped Osgoode law professor Gus Van Harten on actuarial modelling of investment treaties for his book Sold Down the Yangtze, a...
View all posts by Sounithtra Vongsaphay >

Related Articles

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws 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 Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R 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 Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp