Introduction
Introduction
Data Exploration
We start by importing the necessary R packages and loading the
transaction and customer behavior datasets. Using functions
like head() and str(), we explore the structure and contents of the
datasets to understand their dimensions, data types, and variables.
Data Transformation
Next, we perform data transformation tasks such as formatting the
date column, handling outliers, cleaning and preprocessing text data
in the product name column, and checking for missing dates. These
transformations ensure that the data is in a suitable format for
analysis.
• I found out the data type of the DATE column was an
integer instead of a Date data type.
Data Analysis
In further analysis, find out the brand they prefer and the size of the
packet. Below are the findings:
Stay tuned for the next part of our data analysis journey in the
upcoming blog post!