Product analytics using R
In this section, we are going to discuss how to conduct product analytics using the dplyr and ggplot2 libraries in R. For those readers who would like to use Python, instead of R, you can ignore this section and move to the following section. We will start this section by analyzing the overall time series trends in the revenue, numbers of purchases, and purchasing patterns of repeat purchase customers, and then we will move on to analyzing the trends in products being sold.
For this exercise, we will be using one of the publicly available datasets from the UCI Machine Learning Repository, which can be found at: http://archive.ics.uci.edu/ml/datasets/online+retail#. You can follow this link and download the data in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access