Instacart Analysis
Shopping basket analysis using Association Rule Mining
The R script has to be run within R Studio
Steps to run: -
-
Open R studio and create a new project
-
Create a folder 'data' in the project directory
-
Download, unzip, and store the data files in the data folder https://www.kaggle.com/c/instacart-market-basket-analysis/data?select=departments.csv.zip -> data/departments.csv
https://www.kaggle.com/c/instacart-market-basket-analysis/data?select=products.csv.zip -> data/products.csv
https://www.kaggle.com/c/instacart-market-basket-analysis/data?select=order_products__prior.csv.zip -> data/order_products__prior.csv -
Import the main.R file to the project
-
Run the script line by line
-
Get the outputs in the Console