Impact of KPI Factors towards
Online Food Delivery (OFD) Order Outcomes

Our particular project reflects on the knowledge of R programming with aim to explore on Online Food Delivery (OFD) dataset and come up with Key Performance Indicator that influence the success and good ratings of a OFD. This document covers ONLY these main parts of the project: data preparation and EDA, data modelling and conclusion.


Group Member’s Name Student ID
TAN AI FEN 22115538
WANG QIONG 22102887
HU QIANYU 22115368
NUR ASYIKIN BINTI ABDUL RAHMAN S2027629
YANG XIAO 22090641

1. Data Understanding

1.1 Dataset Introduction

The Online Food Delivery Survey Dataset offers valuable insights into various aspects of online food ordering. Analyzing this dataset becomes crucial for understanding customer behavior, preferences, and the factors influencing the success of online food delivery services.

Title: Online Food Delivery Survey Dataset
Year: No info on year of dataset, however, this dataset was introduced in Kaggle in October 2022 by a top contributor from Bangalore India.
Purpose of Dataset:
i) This dataset, is shared as Kaggle dataset in October 2022. It consists of 55 variables (columns) and 388 data entries (rows).
ii) The dataset consists of diverse variables that are useful and crucial in understanding food order particularly Online Food Delivery (OFD) information.
iii) It aims to capture insights, thus providing information on various aspects such as demographics, geographical distribution, food categories, purchase decisions, time of delivery influence, and restaurant ratings affecting the purchase decision.
iv) This data will be used to understand these variables, to find correlation among them and to extract insights that allows us to assist Subject-Matter-Experts (SME) of the food retails and business domains with informed strategies to classify and predict the key performance indicators (KPIs) in OFD.

Let’s prepare the workspace and relevant libraries and load the data in dataframe.

1.1.1 Workspace and libraries Preparation

Before diving into the analysis, we need to set up our workspace and load the necessary libraries. These libraries, including tidyverse, dplyr, and ggplot2, play a vital role in data manipulation and visualization.

# verify working directory
getwd()
## [1] "E:/MDatSc - Sem 1 - WQD7004 Assc Prof Dr ATF/R Project/RMD"
# Set a CRAN mirror
options(repos = c(CRAN = "https://cran.rstudio.com"))

# Install and load relevant packages
library(tidyverse)
library(corrplot)
library(purrr)
library(dplyr)  #Used for data processing and conversion
library(tidyr)  #Used for data collation and reshaping
library(janitor)  #Used to handle variable names and missing values
library(outliers)  #Used to detect and handle outliers
library(ggplot2)  #Used to create high-quality statistical graphics
install.packages("reshape2")
## package 'reshape2' successfully unpacked and MD5 sums checked
## 
## The downloaded binary packages are in
##  C:\Users\User\AppData\Local\Temp\Rtmp0Ic7dB\downloaded_packages
library(reshape2)
library(stats)
library(scales)
library(knitr)

1.1.2 Load data into dataframe

Now, let’s load the dataset into a dataframe for further exploration.

deliverydata_primary <- read.csv("onlinedeliverydata.csv")
view(deliverydata_primary)

1.2 Dimension

The dataset consists of 55 variables/attributes that provide insights into online food delivery, with each attribute having 388 corresponding data points.

1.2.1 Check dataset dimension

dim(deliverydata_primary)
## [1] 388  55
  1. Number of Columns (Attributes/Variables) 55
  2. Number of Rows (Instances): 388

1.3 Content

The dataset covering diverse range of topics related to customers’ demographics, purchase decisions made, restaurant types, customers’ OFD experience and feedbacks.

Note 1: 55 columns with 388 data entries

The dataset consists of variables like:

# Display all variables
colnames(deliverydata_primary)
##  [1] "Age"                                      
##  [2] "Gender"                                   
##  [3] "Marital.Status"                           
##  [4] "Occupation"                               
##  [5] "Monthly.Income"                           
##  [6] "Educational.Qualifications"               
##  [7] "Family.size"                              
##  [8] "latitude"                                 
##  [9] "longitude"                                
## [10] "Pin.code"                                 
## [11] "Medium..P1."                              
## [12] "Medium..P2."                              
## [13] "Meal.P1."                                 
## [14] "Meal.P2."                                 
## [15] "Perference.P1."                           
## [16] "Perference.P2."                           
## [17] "Ease.and.convenient"                      
## [18] "Time.saving"                              
## [19] "More.restaurant.choices"                  
## [20] "Easy.Payment.option"                      
## [21] "More.Offers.and.Discount"                 
## [22] "Good.Food.quality"                        
## [23] "Good.Tracking.system"                     
## [24] "Self.Cooking"                             
## [25] "Health.Concern"                           
## [26] "Late.Delivery"                            
## [27] "Poor.Hygiene"                             
## [28] "Bad.past.experience"                      
## [29] "Unavailability"                           
## [30] "Unaffordable"                             
## [31] "Long.delivery.time"                       
## [32] "Delay.of.delivery.person.getting.assigned"
## [33] "Delay.of.delivery.person.picking.up.food" 
## [34] "Wrong.order.delivered"                    
## [35] "Missing.item"                             
## [36] "Order.placed.by.mistake"                  
## [37] "Influence.of.time"                        
## [38] "Order.Time"                               
## [39] "Maximum.wait.time"                        
## [40] "Residence.in.busy.location"               
## [41] "Google.Maps.Accuracy"                     
## [42] "Good.Road.Condition"                      
## [43] "Low.quantity.low.time"                    
## [44] "Delivery.person.ability"                  
## [45] "Influence.of.rating"                      
## [46] "Less.Delivery.time"                       
## [47] "High.Quality.of.package"                  
## [48] "Number.of.calls"                          
## [49] "Politeness"                               
## [50] "Freshness"                                
## [51] "Temperature"                              
## [52] "Good.Taste"                               
## [53] "Good.Quantity"                            
## [54] "Output"                                   
## [55] "Reviews"

Sample dataset:

head(deliverydata_primary)
##   Age Gender Marital.Status Occupation  Monthly.Income
## 1  20 Female         Single    Student       No Income
## 2  24 Female         Single    Student  Below Rs.10000
## 3  22   Male         Single    Student  Below Rs.10000
## 4  22 Female         Single    Student       No Income
## 5  22   Male         Single    Student  Below Rs.10000
## 6  27 Female        Married   Employee More than 50000
##   Educational.Qualifications Family.size latitude longitude Pin.code
## 1              Post Graduate           4  12.9766   77.5993   560001
## 2                   Graduate           3  12.9770   77.5773   560009
## 3              Post Graduate           3  12.9551   77.6593   560017
## 4                   Graduate           6  12.9473   77.5616   560019
## 5              Post Graduate           4  12.9850   77.5533   560010
## 6              Post Graduate           2  12.9299   77.6848   560103
##          Medium..P1.  Medium..P2.  Meal.P1. Meal.P2.
## 1 Food delivery apps  Web browser Breakfast    Lunch
## 2 Food delivery apps  Web browser    Snacks   Dinner
## 3 Food delivery apps  Direct call     Lunch   Snacks
## 4 Food delivery apps      Walk-in    Snacks   Dinner
## 5            Walk-in  Direct call     Lunch   Dinner
## 6 Food delivery apps      Walk-in     Lunch   Dinner
##                           Perference.P1.
## 1         Non Veg foods (Lunch / Dinner)
## 2         Non Veg foods (Lunch / Dinner)
## 3         Non Veg foods (Lunch / Dinner)
## 4 Veg foods (Breakfast / Lunch / Dinner)
## 5         Non Veg foods (Lunch / Dinner)
## 6         Non Veg foods (Lunch / Dinner)
##                            Perference.P2. Ease.and.convenient    Time.saving
## 1                   Bakery items (snacks)             Neutral        Neutral
## 2  Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 3                 Ice cream / Cool drinks      Strongly agree Strongly agree
## 4                   Bakery items (snacks)               Agree          Agree
## 5  Veg foods (Breakfast / Lunch / Dinner)               Agree          Agree
## 6  Veg foods (Breakfast / Lunch / Dinner)               Agree          Agree
##   More.restaurant.choices Easy.Payment.option More.Offers.and.Discount
## 1                 Neutral             Neutral                  Neutral
## 2          Strongly agree      Strongly agree           Strongly agree
## 3          Strongly agree             Neutral                  Neutral
## 4          Strongly agree               Agree           Strongly agree
## 5                   Agree               Agree                    Agree
## 6                 Neutral               Agree                    Agree
##   Good.Food.quality Good.Tracking.system   Self.Cooking Health.Concern
## 1           Neutral              Neutral        Neutral        Neutral
## 2           Neutral                Agree Strongly agree Strongly agree
## 3          Disagree              Neutral       Disagree        Neutral
## 4             Agree                Agree          Agree Strongly agree
## 5           Neutral              Neutral          Agree Strongly agree
## 6           Neutral                Agree       Disagree        Neutral
##    Late.Delivery   Poor.Hygiene Bad.past.experience Unavailability
## 1        Neutral        Neutral             Neutral        Neutral
## 2          Agree Strongly agree      Strongly agree Strongly agree
## 3        Neutral          Agree               Agree          Agree
## 4        Neutral          Agree            Disagree       Disagree
## 5 Strongly agree          Agree      Strongly agree          Agree
## 6          Agree          Agree               Agree          Agree
##     Unaffordable Long.delivery.time Delay.of.delivery.person.getting.assigned
## 1        Neutral              Agree                                     Agree
## 2 Strongly agree     Strongly agree                            Strongly agree
## 3          Agree              Agree                                     Agree
## 4        Neutral              Agree                                     Agree
## 5       Disagree     Strongly agree                            Strongly agree
## 6          Agree     Strongly agree                            Strongly agree
##   Delay.of.delivery.person.picking.up.food Wrong.order.delivered   Missing.item
## 1                                    Agree                 Agree          Agree
## 2                           Strongly agree        Strongly agree Strongly agree
## 3                                    Agree        Strongly agree          Agree
## 4                                    Agree              Disagree       Disagree
## 5                                  Neutral               Neutral        Neutral
## 6                           Strongly agree                 Agree Strongly agree
##   Order.placed.by.mistake Influence.of.time          Order.Time
## 1                   Agree               Yes Weekend (Sat & Sun)
## 2          Strongly agree               Yes   Anytime (Mon-Sun)
## 3                 Neutral               Yes   Anytime (Mon-Sun)
## 4                 Neutral               Yes   Anytime (Mon-Sun)
## 5                Disagree               Yes Weekend (Sat & Sun)
## 6          Strongly agree               Yes   Anytime (Mon-Sun)
##   Maximum.wait.time Residence.in.busy.location Google.Maps.Accuracy
## 1        30 minutes                      Agree              Neutral
## 2        30 minutes             Strongly Agree              Neutral
## 3        45 minutes                      Agree       Strongly Agree
## 4        30 minutes                   Disagree                Agree
## 5        30 minutes                      Agree                Agree
## 6        45 minutes                    Neutral                Agree
##   Good.Road.Condition Low.quantity.low.time Delivery.person.ability
## 1             Neutral               Neutral                 Neutral
## 2            Disagree     Strongly disagree                   Agree
## 3             Neutral               Neutral                   Agree
## 4               Agree               Neutral                   Agree
## 5               Agree                 Agree                   Agree
## 6             Neutral               Neutral                 Neutral
##   Influence.of.rating   Less.Delivery.time High.Quality.of.package
## 1                 Yes Moderately Important    Moderately Important
## 2                 Yes       Very Important          Very Important
## 3                 Yes            Important          Very Important
## 4                 Yes       Very Important               Important
## 5                 Yes            Important               Important
## 6                 Yes            Important          Very Important
##        Number.of.calls           Politeness            Freshness
## 1 Moderately Important Moderately Important Moderately Important
## 2       Very Important       Very Important       Very Important
## 3 Moderately Important       Very Important       Very Important
## 4 Moderately Important       Very Important       Very Important
## 5 Moderately Important            Important            Important
## 6       Very Important       Very Important       Very Important
##            Temperature           Good.Taste        Good.Quantity Output
## 1 Moderately Important Moderately Important Moderately Important    Yes
## 2       Very Important       Very Important       Very Important    Yes
## 3            Important       Very Important Moderately Important    Yes
## 4       Very Important       Very Important            Important    Yes
## 5            Important       Very Important       Very Important    Yes
## 6       Very Important       Very Important       Very Important    Yes
##                                                                                                     Reviews
## 1                                                                                                     Nil\n
## 2                                                                                                       Nil
## 3 Many a times payment gateways are an issue, so getting the refund and the surcharges are an inconvenience
## 4                                                                                                       nil
## 5                                                                                                       NIL
## 6                                                                                                       NIL

1.4 Structure

Understanding the structure of the dataset is crucial for effective analysis. The following code is used to observe the overall data structure and types, providing insights into the composition of variables.

1.4.1 Check the structure of the dataframes

For this section, the following code is used to observe the overall data structure and type.

str(deliverydata_primary)
## 'data.frame':    388 obs. of  55 variables:
##  $ Age                                      : int  20 24 22 22 22 27 22 24 23 23 ...
##  $ Gender                                   : chr  "Female" "Female" "Male" "Female" ...
##  $ Marital.Status                           : chr  "Single" "Single" "Single" "Single" ...
##  $ Occupation                               : chr  "Student" "Student" "Student" "Student" ...
##  $ Monthly.Income                           : chr  "No Income" "Below Rs.10000" "Below Rs.10000" "No Income" ...
##  $ Educational.Qualifications               : chr  "Post Graduate" "Graduate" "Post Graduate" "Graduate" ...
##  $ Family.size                              : int  4 3 3 6 4 2 3 3 2 4 ...
##  $ latitude                                 : num  13 13 13 12.9 13 ...
##  $ longitude                                : num  77.6 77.6 77.7 77.6 77.6 ...
##  $ Pin.code                                 : int  560001 560009 560017 560019 560010 560103 560009 560042 560001 560048 ...
##  $ Medium..P1.                              : chr  "Food delivery apps" "Food delivery apps" "Food delivery apps" "Food delivery apps" ...
##  $ Medium..P2.                              : chr  " Web browser" " Web browser" " Direct call" " Walk-in" ...
##  $ Meal.P1.                                 : chr  "Breakfast" "Snacks" "Lunch" "Snacks" ...
##  $ Meal.P2.                                 : chr  " Lunch" " Dinner" " Snacks" " Dinner" ...
##  $ Perference.P1.                           : chr  "Non Veg foods (Lunch / Dinner)" "Non Veg foods (Lunch / Dinner)" "Non Veg foods (Lunch / Dinner)" "Veg foods (Breakfast / Lunch / Dinner)" ...
##  $ Perference.P2.                           : chr  " Bakery items (snacks)" " Veg foods (Breakfast / Lunch / Dinner)" " Ice cream / Cool drinks" " Bakery items (snacks)" ...
##  $ Ease.and.convenient                      : chr  "Neutral" "Strongly agree" "Strongly agree" "Agree" ...
##  $ Time.saving                              : chr  "Neutral" "Strongly agree" "Strongly agree" "Agree" ...
##  $ More.restaurant.choices                  : chr  "Neutral" "Strongly agree" "Strongly agree" "Strongly agree" ...
##  $ Easy.Payment.option                      : chr  "Neutral" "Strongly agree" "Neutral" "Agree" ...
##  $ More.Offers.and.Discount                 : chr  "Neutral" "Strongly agree" "Neutral" "Strongly agree" ...
##  $ Good.Food.quality                        : chr  "Neutral" "Neutral" "Disagree" "Agree" ...
##  $ Good.Tracking.system                     : chr  "Neutral" "Agree" "Neutral" "Agree" ...
##  $ Self.Cooking                             : chr  "Neutral" "Strongly agree" "Disagree" "Agree" ...
##  $ Health.Concern                           : chr  "Neutral" "Strongly agree" "Neutral" "Strongly agree" ...
##  $ Late.Delivery                            : chr  "Neutral" "Agree" "Neutral" "Neutral" ...
##  $ Poor.Hygiene                             : chr  "Neutral" "Strongly agree" "Agree" "Agree" ...
##  $ Bad.past.experience                      : chr  "Neutral" "Strongly agree" "Agree" "Disagree" ...
##  $ Unavailability                           : chr  "Neutral" "Strongly agree" "Agree" "Disagree" ...
##  $ Unaffordable                             : chr  "Neutral" "Strongly agree" "Agree" "Neutral" ...
##  $ Long.delivery.time                       : chr  "Agree" "Strongly agree" "Agree" "Agree" ...
##  $ Delay.of.delivery.person.getting.assigned: chr  "Agree" "Strongly agree" "Agree" "Agree" ...
##  $ Delay.of.delivery.person.picking.up.food : chr  "Agree" "Strongly agree" "Agree" "Agree" ...
##  $ Wrong.order.delivered                    : chr  "Agree" "Strongly agree" "Strongly agree" "Disagree" ...
##  $ Missing.item                             : chr  "Agree" "Strongly agree" "Agree" "Disagree" ...
##  $ Order.placed.by.mistake                  : chr  "Agree" "Strongly agree" "Neutral" "Neutral" ...
##  $ Influence.of.time                        : chr  "Yes" "Yes" "Yes" "Yes" ...
##  $ Order.Time                               : chr  "Weekend (Sat & Sun)" "Anytime (Mon-Sun)" "Anytime (Mon-Sun)" "Anytime (Mon-Sun)" ...
##  $ Maximum.wait.time                        : chr  "30 minutes" "30 minutes" "45 minutes" "30 minutes" ...
##  $ Residence.in.busy.location               : chr  "Agree" "Strongly Agree" "Agree" "Disagree" ...
##  $ Google.Maps.Accuracy                     : chr  "Neutral" "Neutral" "Strongly Agree" "Agree" ...
##  $ Good.Road.Condition                      : chr  "Neutral" "Disagree" "Neutral" "Agree" ...
##  $ Low.quantity.low.time                    : chr  "Neutral" "Strongly disagree" "Neutral" "Neutral" ...
##  $ Delivery.person.ability                  : chr  "Neutral" "Agree" "Agree" "Agree" ...
##  $ Influence.of.rating                      : chr  "Yes" "Yes" "Yes" "Yes" ...
##  $ Less.Delivery.time                       : chr  "Moderately Important" "Very Important" "Important" "Very Important" ...
##  $ High.Quality.of.package                  : chr  "Moderately Important" "Very Important" "Very Important" "Important" ...
##  $ Number.of.calls                          : chr  "Moderately Important" "Very Important" "Moderately Important" "Moderately Important" ...
##  $ Politeness                               : chr  "Moderately Important" "Very Important" "Very Important" "Very Important" ...
##  $ Freshness                                : chr  "Moderately Important" "Very Important" "Very Important" "Very Important" ...
##  $ Temperature                              : chr  "Moderately Important" "Very Important" "Important" "Very Important" ...
##  $ Good.Taste                               : chr  "Moderately Important" "Very Important" "Very Important" "Very Important" ...
##  $ Good.Quantity                            : chr  "Moderately Important" "Very Important" "Moderately Important" "Important" ...
##  $ Output                                   : chr  "Yes" "Yes" "Yes" "Yes" ...
##  $ Reviews                                  : chr  "Nil\n" "Nil" "Many a times payment gateways are an issue, so getting the refund and the surcharges are an inconvenience" "nil" ...

1.4.2 Missing Values

This step to identify and address missing values is a critical step in ensuring the reliability of the data analysis. We’ve verified that this dataset does not contain any missing values.

missing_values <- colSums(is.na(deliverydata_primary))
overall_missing_count <- sum(missing_values)
cat("Overall number of missing values in the dataframe:", overall_missing_count, "\n")
## Overall number of missing values in the dataframe: 0
cat("Head of the dataframe with missing values:\n")
## Head of the dataframe with missing values:
head(overall_missing_count)
## [1] 0
cat("Tail of the dataframe with missing values:\n")
## Tail of the dataframe with missing values:
tail(overall_missing_count)
## [1] 0

1.4.3 Duplicates

It is also important to understand if there is any duplicate entries in our dataset prior to future steps of data preprocessing and classifications.

Duplicate entries detected in this dataset. Total duplicate entries are: 102 rows.

duplicate_rows <- deliverydata_primary[duplicated(deliverydata_primary), ]
overall_duplicate_count <- nrow(duplicate_rows)
cat("Overall number of duplicate rows in the dataframe:", overall_duplicate_count, "\n")
## Overall number of duplicate rows in the dataframe: 102

1.4.4 Unique Values

This section attempt to explore the unique values present in each variable to gain further insights into the dataset. Unique values are retrieved from each variables to understand further on the dataset’s content and information.

# Get unique values for each variable
unique_counts <- sapply(deliverydata_primary, function(x) length(unique(x)))
unique_counts_df <- data.frame(Variable = names(unique_counts), Unique_Count = unique_counts, row.names = NULL)
print("Number of Unique Values for Each Variable:")
## [1] "Number of Unique Values for Each Variable:"
unique_counts_df
##                                     Variable Unique_Count
## 1                                        Age           16
## 2                                     Gender            2
## 3                             Marital.Status            3
## 4                                 Occupation            4
## 5                             Monthly.Income            5
## 6                 Educational.Qualifications            5
## 7                                Family.size            6
## 8                                   latitude           77
## 9                                  longitude           76
## 10                                  Pin.code           77
## 11                               Medium..P1.            4
## 12                               Medium..P2.            3
## 13                                  Meal.P1.            4
## 14                                  Meal.P2.            3
## 15                            Perference.P1.            4
## 16                            Perference.P2.            4
## 17                       Ease.and.convenient            5
## 18                               Time.saving            5
## 19                   More.restaurant.choices            5
## 20                       Easy.Payment.option            5
## 21                  More.Offers.and.Discount            5
## 22                         Good.Food.quality            5
## 23                      Good.Tracking.system            5
## 24                              Self.Cooking            5
## 25                            Health.Concern            5
## 26                             Late.Delivery            5
## 27                              Poor.Hygiene            5
## 28                       Bad.past.experience            5
## 29                            Unavailability            5
## 30                              Unaffordable            5
## 31                        Long.delivery.time            5
## 32 Delay.of.delivery.person.getting.assigned            5
## 33  Delay.of.delivery.person.picking.up.food            5
## 34                     Wrong.order.delivered            5
## 35                              Missing.item            5
## 36                   Order.placed.by.mistake            5
## 37                         Influence.of.time            3
## 38                                Order.Time            3
## 39                         Maximum.wait.time            5
## 40                Residence.in.busy.location            5
## 41                      Google.Maps.Accuracy            5
## 42                       Good.Road.Condition            5
## 43                     Low.quantity.low.time            5
## 44                   Delivery.person.ability            5
## 45                       Influence.of.rating            3
## 46                        Less.Delivery.time            5
## 47                   High.Quality.of.package            5
## 48                           Number.of.calls            5
## 49                                Politeness            5
## 50                                 Freshness            5
## 51                               Temperature            5
## 52                                Good.Taste            5
## 53                             Good.Quantity            5
## 54                                    Output            2
## 55                                   Reviews          181
unique_values <- lapply(deliverydata_primary, unique)
unique_values
## $Age
##  [1] 20 24 22 27 23 21 28 25 32 30 31 26 18 19 33 29
## 
## $Gender
## [1] "Female" "Male"  
## 
## $Marital.Status
## [1] "Single"            "Married"           "Prefer not to say"
## 
## $Occupation
## [1] "Student"        "Employee"       "Self Employeed" "House wife"    
## 
## $Monthly.Income
## [1] "No Income"       "Below Rs.10000"  "More than 50000" "10001 to 25000" 
## [5] "25001 to 50000" 
## 
## $Educational.Qualifications
## [1] "Post Graduate" "Graduate"      "Ph.D"          "Uneducated"   
## [5] "School"       
## 
## $Family.size
## [1] 4 3 6 2 5 1
## 
## $latitude
##  [1] 12.9766 12.9770 12.9551 12.9473 12.9850 12.9299 12.9828 12.9854 12.8988
## [10] 12.9438 12.8893 12.9783 12.9820 13.0298 12.9983 12.9925 12.9306 12.9353
## [19] 12.9155 13.0019 12.9698 12.9261 12.9119 12.9662 12.9565 13.0206 12.9635
## [28] 13.0067 12.8845 13.0158 12.9343 13.0012 12.9442 13.0487 12.9889 12.9335
## [37] 13.1020 12.9048 12.9337 12.9037 13.0289 12.9561 12.9579 13.0140 13.0138
## [46] 12.9537 12.9980 13.0496 13.0166 13.0503 12.9883 13.0626 12.9570 12.8652
## [55] 12.9757 12.9621 12.9217 13.0223 13.0262 13.0078 12.9105 12.8834 12.9149
## [64] 12.9706 13.0103 13.0641 12.9369 13.0809 12.9859 12.9866 12.9847 12.9890
## [73] 12.9251 12.9967 13.0734 12.9515 12.9719
## 
## $longitude
##  [1] 77.5993 77.5773 77.6593 77.5616 77.5533 77.6848 77.6131 77.7081 77.5764
## [10] 77.5738 77.6399 77.6408 77.6256 77.6047 77.6409 77.5633 77.5434 77.5585
## [19] 77.5135 77.5713 77.7500 77.6221 77.6446 77.6068 77.5484 77.6479 77.5821
## [28] 77.5450 77.6036 77.5390 77.6044 77.5995 77.6076 77.5923 77.5741 77.5691
## [37] 77.5864 77.6821 77.5900 77.5376 77.5400 77.5921 77.6309 77.5658 77.5877
## [46] 77.6176 77.6227 77.4941 77.6804 77.5529 77.5987 77.5284 77.5637 77.5240
## [55] 77.5586 77.5936 77.7132 77.6200 77.5577 77.4842 77.5486 77.5635 77.6529
## [64] 77.5796 77.5931 77.6407 77.5565 77.6713 77.4904 77.5491 77.5332 77.4992
## [73] 77.7582 77.5464 77.4921 77.5128
## 
## $Pin.code
##  [1] 560001 560009 560017 560019 560010 560103 560042 560048 560078 560004
## [11] 560068 560038 560008 560032 560033 560021 560085 560050 560098 560003
## [21] 560066 560034 560102 560025 560026 560043 560002 560086 560076 560096
## [31] 560029 560046 560030 560024 560020 560028 560064 560036 560011 560061
## [41] 560022 560027 560007 560012 560006 560047 560005 560073 560016 560013
## [51] 560051 560015 560018 560109 560023 560104 560041 560049 560045 560055
## [61] 560060 560062 560070 560075 560080 560092 560095 560097 560093 560091
## [71] 560100 560079 560059 560067 560014 560056 560072
## 
## $Medium..P1.
## [1] "Food delivery apps" "Walk-in"            "Direct call"       
## [4] "Web browser"       
## 
## $Medium..P2.
## [1] " Web browser" " Direct call" " Walk-in"    
## 
## $Meal.P1.
## [1] "Breakfast" "Snacks"    "Lunch"     "Dinner"   
## 
## $Meal.P2.
## [1] " Lunch"  " Dinner" " Snacks"
## 
## $Perference.P1.
## [1] "Non Veg foods (Lunch / Dinner)"        
## [2] "Veg foods (Breakfast / Lunch / Dinner)"
## [3] "Bakery items (snacks)"                 
## [4] "Sweets"                                
## 
## $Perference.P2.
## [1] " Bakery items (snacks)"                 
## [2] " Veg foods (Breakfast / Lunch / Dinner)"
## [3] " Ice cream / Cool drinks"               
## [4] " Sweets"                                
## 
## $Ease.and.convenient
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Strongly disagree" "Disagree"         
## 
## $Time.saving
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Disagree"          "Strongly disagree"
## 
## $More.restaurant.choices
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Strongly disagree" "Disagree"         
## 
## $Easy.Payment.option
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Disagree"          "Strongly disagree"
## 
## $More.Offers.and.Discount
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Disagree"          "Strongly disagree"
## 
## $Good.Food.quality
## [1] "Neutral"           "Disagree"          "Agree"            
## [4] "Strongly agree"    "Strongly disagree"
## 
## $Good.Tracking.system
## [1] "Neutral"           "Agree"             "Strongly agree"   
## [4] "Disagree"          "Strongly disagree"
## 
## $Self.Cooking
## [1] "Neutral"           "Strongly agree"    "Disagree"         
## [4] "Agree"             "Strongly disagree"
## 
## $Health.Concern
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Strongly disagree" "Disagree"         
## 
## $Late.Delivery
## [1] "Neutral"           "Agree"             "Strongly agree"   
## [4] "Disagree"          "Strongly disagree"
## 
## $Poor.Hygiene
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Disagree"          "Strongly disagree"
## 
## $Bad.past.experience
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Disagree"          "Strongly disagree"
## 
## $Unavailability
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Disagree"          "Strongly disagree"
## 
## $Unaffordable
## [1] "Neutral"           "Strongly agree"    "Agree"            
## [4] "Disagree"          "Strongly disagree"
## 
## $Long.delivery.time
## [1] "Agree"             "Strongly agree"    "Neutral"          
## [4] "Disagree"          "Strongly disagree"
## 
## $Delay.of.delivery.person.getting.assigned
## [1] "Agree"             "Strongly agree"    "Disagree"         
## [4] "Neutral"           "Strongly disagree"
## 
## $Delay.of.delivery.person.picking.up.food
## [1] "Agree"             "Strongly agree"    "Neutral"          
## [4] "Disagree"          "Strongly disagree"
## 
## $Wrong.order.delivered
## [1] "Agree"             "Strongly agree"    "Disagree"         
## [4] "Neutral"           "Strongly disagree"
## 
## $Missing.item
## [1] "Agree"             "Strongly agree"    "Disagree"         
## [4] "Neutral"           "Strongly disagree"
## 
## $Order.placed.by.mistake
## [1] "Agree"             "Strongly agree"    "Neutral"          
## [4] "Disagree"          "Strongly disagree"
## 
## $Influence.of.time
## [1] "Yes"   "No"    "Maybe"
## 
## $Order.Time
## [1] "Weekend (Sat & Sun)" "Anytime (Mon-Sun)"   "Weekdays (Mon-Fri)" 
## 
## $Maximum.wait.time
## [1] "30 minutes"           "45 minutes"           "60 minutes"          
## [4] "More than 60 minutes" "15 minutes"          
## 
## $Residence.in.busy.location
## [1] "Agree"             "Strongly Agree"    "Disagree"         
## [4] "Neutral"           "Strongly disagree"
## 
## $Google.Maps.Accuracy
## [1] "Neutral"           "Strongly Agree"    "Agree"            
## [4] "Disagree"          "Strongly disagree"
## 
## $Good.Road.Condition
## [1] "Neutral"           "Disagree"          "Agree"            
## [4] "Strongly Agree"    "Strongly disagree"
## 
## $Low.quantity.low.time
## [1] "Neutral"           "Strongly disagree" "Agree"            
## [4] "Disagree"          "Strongly Agree"   
## 
## $Delivery.person.ability
## [1] "Neutral"           "Agree"             "Strongly Agree"   
## [4] "Disagree"          "Strongly disagree"
## 
## $Influence.of.rating
## [1] "Yes"   "Maybe" "No"   
## 
## $Less.Delivery.time
## [1] "Moderately Important" "Very Important"       "Important"           
## [4] "Slightly Important"   "Unimportant"         
## 
## $High.Quality.of.package
## [1] "Moderately Important" "Very Important"       "Important"           
## [4] "Unimportant"          "Slightly Important"  
## 
## $Number.of.calls
## [1] "Moderately Important" "Very Important"       "Unimportant"         
## [4] "Important"            "Slightly Important"  
## 
## $Politeness
## [1] "Moderately Important" "Very Important"       "Important"           
## [4] "Slightly Important"   "Unimportant"         
## 
## $Freshness
## [1] "Moderately Important" "Very Important"       "Important"           
## [4] "Slightly Important"   "Unimportant"         
## 
## $Temperature
## [1] "Moderately Important" "Very Important"       "Important"           
## [4] "Slightly Important"   "Unimportant"         
## 
## $Good.Taste
## [1] "Moderately Important" "Very Important"       "Important"           
## [4] "Slightly Important"   "Unimportant"         
## 
## $Good.Quantity
## [1] "Moderately Important" "Very Important"       "Important"           
## [4] "Slightly Important"   "Unimportant"         
## 
## $Output
## [1] "Yes" "No" 
## 
## $Reviews
##   [1] "Nil\n"                                                                                                                                                                                                      
##   [2] "Nil"                                                                                                                                                                                                        
##   [3] "Many a times payment gateways are an issue, so getting the refund and the surcharges are an inconvenience"                                                                                                  
##   [4] "nil"                                                                                                                                                                                                        
##   [5] "NIL"                                                                                                                                                                                                        
##   [6] "Language barrier is also one major issue. Moslty these delivery boys are only familiar with Kanada which creates a problem while addressing any issue."                                                     
##   [7] "Spillage, bad packaging and missing items "                                                                                                                                                                 
##   [8] "Once my order from kfc got exchanged with someone else. Fault was delivery boy's. "                                                                                                                         
##   [9] "I feel Swiggy has a good interface for users and the delivery time to my place in Bangalore taken by Swiggy is less than Zomato when ordered from same restaurant "                                         
##  [10] "No"                                                                                                                                                                                                         
##  [11] "I expect faster delivery in my area"                                                                                                                                                                        
##  [12] "Now days delivery ?? is improved a lot like fast delivery ,but now corna time many people are hesitating to order "                                                                                         
##  [13] "I love zomato but it requires quality in deliver service. "                                                                                                                                                 
##  [14] "Prefer hygienic delivery people"                                                                                                                                                                            
##  [15] "-"                                                                                                                                                                                                          
##  [16] "NiL"                                                                                                                                                                                                        
##  [17] "N0"                                                                                                                                                                                                         
##  [18] "I have normally had good experiences with swiggy especially for payments and refunds"                                                                                                                       
##  [19] "Nill"                                                                                                                                                                                                       
##  [20] "Good"                                                                                                                                                                                                       
##  [21] "Good so far"                                                                                                                                                                                                
##  [22] "I hate online deliveries.Had harsh past experiences with delivery boys and the company responses"                                                                                                           
##  [23] "I expect the food that is being delivered to be hot and fresh"                                                                                                                                              
##  [24] "I love swiggy and their app user interface"                                                                                                                                                                 
##  [25] "No Comments!"                                                                                                                                                                                               
##  [26] "I expect quality food rather than delivery time and ratings"                                                                                                                                                
##  [27] "Expect the delivery person to understand our hunger"                                                                                                                                                        
##  [28] "Need more delivery bandwidth even in rural areas"                                                                                                                                                           
##  [29] "Requires professional packaging with no leakage"                                                                                                                                                            
##  [30] "Need more delivery people to cover all orders"                                                                                                                                                              
##  [31] "nil "                                                                                                                                                                                                       
##  [32] "Want different cuisine dishes options in my location"                                                                                                                                                       
##  [33] "I had bad experience with delivery person. They need to be polite"                                                                                                                                          
##  [34] "I'm happy with the service of online delivery startups"                                                                                                                                                     
##  [35] "I need the order to be delivered fast to my location"                                                                                                                                                       
##  [36] "I'm satisfied with the service of swiggy"                                                                                                                                                                   
##  [37] "I'm satisfied with zomato, I'm also a premium member"                                                                                                                                                       
##  [38] "Freshness is important but when it is packed by the usual package, I feel it's losing it is freshness and quality"                                                                                          
##  [39] "I have no problem with the delivery service. I'm satisfied"                                                                                                                                                 
##  [40] "I love ordering from online as they have more varieties and discounts"                                                                                                                                      
##  [41] "Online delivery requires much hygiene consciousness now than ever before   "                                                                                                                                
##  [42] "I had bad experiences with delivery person, they need to be polite when asking for location and avoid asking us to come to a particular location to get the food"                                           
##  [43] "I'm satisfied with the delivery service"                                                                                                                                                                    
##  [44] "None"                                                                                                                                                                                                       
##  [45] "I'm satisfied with the current service of swiggy and zomato"                                                                                                                                                
##  [46] "I require faster delivery with minimum calls"                                                                                                                                                               
##  [47] "I had bad experiences with the food delivered to me "                                                                                                                                                       
##  [48] "Nil "                                                                                                                                                                                                       
##  [49] "I love swiggy !!"                                                                                                                                                                                           
##  [50] "I once had damaged package from zomato and they declined to offer me refund.worst behavior !"                                                                                                               
##  [51] "I'm satisfied with swiggy and their wonderful offers"                                                                                                                                                       
##  [52] "Prices of food items differ while using different smartphones to order at the same time. So, there is no uniform pricing system in food delivery apps. But yes, they add a lot of convenience in our lives!"
##  [53] "I'm okay ordering online for food"                                                                                                                                                                          
##  [54] "I love ordering candies for my children from swiggy"                                                                                                                                                        
##  [55] "I hate zomato and food panda. Poor tracking and poor customer service"                                                                                                                                      
##  [56] "Best service is provided by swiggy"                                                                                                                                                                         
##  [57] "Swiggy and zomato are the best food delivery apps"                                                                                                                                                          
##  [58] "I have no issues with the delivery "                                                                                                                                                                        
##  [59] "Food delivery apps are performing well in Bangalore. But poor delivery when it comes to rural places"                                                                                                       
##  [60] "I love being a part of zomato premium member. I get amazing offers"                                                                                                                                         
##  [61] "Whenever I'm not well, use dunzo to order for my whole family "                                                                                                                                             
##  [62] "Worst behavior by customer care. They process refund quite late"                                                                                                                                            
##  [63] "Best delivery people working hard for their family. respect them"                                                                                                                                           
##  [64] "I have no issues with the food delivery service. They're good"                                                                                                                                              
##  [65] "I can't blame the delivery people for late delivery. It lies in the logistics department of such startups."                                                                                                 
##  [66] "I'm satisfied with the service and swiggy is the best"                                                                                                                                                      
##  [67] "I love food delivery service. They are amazing "                                                                                                                                                            
##  [68] "I require faster delivery. Nowadays due to covid, the delivery service is slow"                                                                                                                             
##  [69] "A delivery person abused me for marking the location wrong. I can understand his tedious work. But abusing with such vulgar words is not tolerable"                                                         
##  [70] "Certainly a wonderful delivery service"                                                                                                                                                                     
##  [71] "There are not much restaurant choices"                                                                                                                                                                      
##  [72] "No problem with food delivery startups"                                                                                                                                                                     
##  [73] "Best service, Crazy drivers !"                                                                                                                                                                              
##  [74] "I have no problem with delivery service. BEST service !"                                                                                                                                                    
##  [75] "I have good experience with swiggy. No issues"                                                                                                                                                              
##  [76] "They really need to delivery fast"                                                                                                                                                                          
##  [77] "Not happy with the food quality when it is delivered"                                                                                                                                                       
##  [78] "Tracking system needs to be improved, sometimes the delivery guy is still and doesn't show his movements"                                                                                                   
##  [79] "If delivery gets slow, I tend to give poor ratings on delivery "                                                                                                                                            
##  [80] "I want both delivery to be quick as well as food quality to be good"                                                                                                                                        
##  [81] "Paid but never received it. No fresh and over paid compared to buying it directly "                                                                                                                         
##  [82] "All good with the service."                                                                                                                                                                                 
##  [83] "I love zomato's service \n-from a premium member"                                                                                                                                                           
##  [84] "I love swiggy service, followed by zomato"                                                                                                                                                                  
##  [85] "Food quality is reducing when it gets delivered"                                                                                                                                                            
##  [86] "My family is satisfied with food delivery. But I worry about the quality and hygiene"                                                                                                                       
##  [87] "I had bad experiences in delivered food"                                                                                                                                                                    
##  [88] "Marvelous service by swiggy and zomato"                                                                                                                                                                     
##  [89] "I don't bother much about delivery unless the food is good"                                                                                                                                                 
##  [90] "Swiggy delivery people are polite and fast as well"                                                                                                                                                         
##  [91] "Time doesn't bother me, But rating does. I order at high rated restaurants. preferably 4+ ratings"                                                                                                          
##  [92] "I have no trouble with delivery of startup services"                                                                                                                                                        
##  [93] "My family prefers good quality food so I order at highly rated restaurants"                                                                                                                                 
##  [94] "I had bad experience with delivery. It could be due to location."                                                                                                                                           
##  [95] "Brilliant execution with the delivery process"                                                                                                                                                              
##  [96] "My home is near Phoenix marketcity, so time taken for delivery is less"                                                                                                                                     
##  [97] "I'm quite satisfied with the service"                                                                                                                                                                       
##  [98] "I had no issues as per my experience. But heard delivery people are sometimes rude"                                                                                                                         
##  [99] "I had few health issues after consuming delivered food. Restaurants need to improve their quality and delivery people should delivery it without tampering which might lead to contamination of food"       
## [100] "I order most of my meals on swiggy or zomato depending upon the offers"                                                                                                                                     
## [101] "I need the order to be delivered soon. It takes a lot of time "                                                                                                                                             
## [102] "Food needs to have good quality. It leads me to give higher rating"                                                                                                                                         
## [103] "I appreciate the efforts of hardworking delivery people"                                                                                                                                                    
## [104] "Delivery is late. Need quick updates on location of order"                                                                                                                                                  
## [105] "I have no trouble with delivery"                                                                                                                                                                            
## [106] "Very few times I have  had bad experienced by aggregator or restaurant "                                                                                                                                    
## [107] "Best service comes with great offers and wonderful service"                                                                                                                                                 
## [108] "Bad delivery system and less restaurant choices"                                                                                                                                                            
## [109] "I order most of the times online and I feel they are safe and quick"                                                                                                                                        
## [110] "I don't bother about ratings unless they taste good. But I prefer quicker delivery. Can't hold my hunger "                                                                                                  
## [111] "I dont have much restaurant choices and takes long time to deliver"                                                                                                                                         
## [112] "My location is outside Bangalore, good restaurants are in interior regions"                                                                                                                                 
## [113] "Smooth delivery service "                                                                                                                                                                                   
## [114] "Fast delivery is required. But quality is super good"                                                                                                                                                       
## [115] "LOVE SWIGGY AND ZOMATO. Literally the best"                                                                                                                                                                 
## [116] "The delivery to my locations are done pretty fast"                                                                                                                                                          
## [117] "I require the food to be undamaged. Mostly the food is tampered"                                                                                                                                            
## [118] "Best Best Best Best !!!!"                                                                                                                                                                                   
## [119] "Love to order online "                                                                                                                                                                                      
## [120] "I love ordering for my family from swiggy"                                                                                                                                                                  
## [121] "I need faster delivery."                                                                                                                                                                                    
## [122] "Crazily fast delivery people besides having high traffic"                                                                                                                                                   
## [123] "BEST BEST BEST !! WONDERFUL WONDERFUL !! FAST FAST FAST !!"                                                                                                                                                 
## [124] "Need quality food delivery. had worst experience of spilled food"                                                                                                                                           
## [125] "I would avoid restaurants which has less rating "                                                                                                                                                           
## [126] "Faster delivery is needed !!"                                                                                                                                                                               
## [127] "My entire family loves swiggy"                                                                                                                                                                              
## [128] "Delivery people are working hard. Can't complain"                                                                                                                                                           
## [129] "I don't mind about late delivery when it comes from a top rated restaurant believing in its quality"                                                                                                        
## [130] "I have no issues related to delivery and I prefer four plus rated restaurant"                                                                                                                               
## [131] "I had misplaced order in the past orders"                                                                                                                                                                   
## [132] "Best service"                                                                                                                                                                                               
## [133] "I had bad quality order delivered twice"                                                                                                                                                                    
## [134] "Bad rating doesn't mean that the food tastes bad. Delivery got no problem !"                                                                                                                                
## [135] "Order delivered to my location are late"                                                                                                                                                                    
## [136] "My location is pretty well built for food delivery "                                                                                                                                                        
## [137] "I believe more on quality than time of delivery"                                                                                                                                                            
## [138] "Super fast riders helps in super fast delivery"                                                                                                                                                             
## [139] "I believe rating doesn't have much effect on the taste of food"                                                                                                                                             
## [140] "I need quicker delivery and more extra restaurant choices"                                                                                                                                                  
## [141] "Best best fast fast quick quick"                                                                                                                                                                            
## [142] "My order rarely gets late. But it really pissess me off"                                                                                                                                                    
## [143] "worst worst worst slow slow slow"                                                                                                                                                                           
## [144] "Worst delivery system- Especially zomato "                                                                                                                                                                  
## [145] "Whitefield got no problem with respect to delivery and we have a good set of restaurant here"                                                                                                               
## [146] "I can wait for quality food from highly rated restaurant"                                                                                                                                                   
## [147] "If it is from a low rated restaurant. I restrict myself to order from that restaurant"                                                                                                                      
## [148] "It serves my hunger on time. But there are times it delays when I needed the most"                                                                                                                          
## [149] "I'm conscious about quality more than time of delivery"                                                                                                                                                     
## [150] "LOVE SWIGGY AND ZOMATO"                                                                                                                                                                                     
## [151] "Poor delivery services"                                                                                                                                                                                     
## [152] "Quick and fastest delivery made to my location"                                                                                                                                                             
## [153] "No issues"                                                                                                                                                                                                  
## [154] "Neat package by swiggy and also takes carry of quality during covid situation"                                                                                                                              
## [155] "very late deliveries to my house everytime i order"                                                                                                                                                         
## [156] "Love Swiggy's delivery men. They are lightning fast"                                                                                                                                                        
## [157] "560075"                                                                                                                                                                                                     
## [158] "Quality is more important than time"                                                                                                                                                                        
## [159] "I love ordering online"                                                                                                                                                                                     
## [160] "BEST BEST POSITIVE REVIEWS"                                                                                                                                                                                 
## [161] "Delivery in my place is slow as turtle"                                                                                                                                                                     
## [162] "FAST FAST FAST FAST FAST"                                                                                                                                                                                   
## [163] "I can forgive deliveries if they are late, but can't compromise with quality"                                                                                                                               
## [164] "Fast as sonic !!!"                                                                                                                                                                                          
## [165] "I find no issues with the online food delivery. But requires a lil bit faster delivery"                                                                                                                     
## [166] "I have certain high rated restaurants where I order and they deliver fast "                                                                                                                                 
## [167] "No reason. I prefer home cooked food. I had bad experiences ordering online"                                                                                                                                
## [168] "TOP RATING TOP RATING RATING FIVE PLUS FIVE PLUS FOUR PLUS FOUR PLUS"                                                                                                                                       
## [169] "Favorite service to reduce our hunger"                                                                                                                                                                      
## [170] "BAD BAD BAD POOR POOR POOR RATING"                                                                                                                                                                          
## [171] "If Packaging is hygienic,I would rate them high"                                                                                                                                                            
## [172] "Delivery people are sweet and fast"                                                                                                                                                                         
## [173] "I need quality food arriving at my doorsteps within the stipulated time"                                                                                                                                    
## [174] "Can't understand what delivery people are speaking. Language barrier !"                                                                                                                                     
## [175] "less responsive delivery men. Also prevalent late deliveries"                                                                                                                                               
## [176] "poor delivery men really rushing fast to deliver the food. But there are many spillage issues as well"                                                                                                      
## [177] "Had many bad experiences with respect to delivery"                                                                                                                                                          
## [178] "LOVE THE PRICE AND OFFER OFFERED BY SWIGGY, USUALLY RATE FOUR PLUS"                                                                                                                                         
## [179] "Good price and offers with fast delivery"                                                                                                                                                                   
## [180] "Slow delivery and I avoid ordering from poor rated restaurant"                                                                                                                                              
## [181] "I'd rather cook at home during covid-19"

1.4.5 Numerical vs Categorical variables - Split variables into groups

We’ve also distinguished the variables between numerical, categorical, ordinal, and text variables to understand the dataset’s composition.

The data structure includes a mix of numerical, categorical, ordinal, and text variables.

Note 2: Most of the columns are in scales and/or categorical format.
Note 3: Numerical feature is ‘Age’.
Note 4: Categorical format are ‘Gender’, ‘Marital.Status’, ‘Occupation’.
Note 5: Ordinal categorical are ‘Occupation’,‘Education’.

1.4.6 Define categorical, numerical, and text variables

categorical_vars <- c(
  "Gender", "Marital.Status", "Occupation", "Monthly.Income",
  "Educational.Qualifications", "Family.size", "Medium..P1.", "Medium..P2.",
  "Meal.P1.", "Meal.P2.", "Perference.P1.", "Perference.P2.",
  "Ease.and.convenient", "Time.saving", "More.restaurant.choices",
  "Easy.Payment.option", "More.Offers.and.Discount", "Good.Food.quality",
  "Good.Tracking.system", "Self.Cooking", "Health.Concern", "Late.Delivery",
  "Poor.Hygiene", "Bad.past.experience", "Unavailability", "Unaffordable",
  "Long.delivery.time", "Delay.of.delivery.person.getting.assigned",
  "Delay.of.delivery.person.picking.up.food", "Wrong.order.delivered",
  "Missing.item", "Order.placed.by.mistake", "Influence.of.time", "Order.Time",
  "Maximum.wait.time", "Residence.in.busy.location", "Google.Maps.Accuracy",
  "Good.Road.Condition", "Low.quantity.low.time", "Delivery.person.ability",
  "Influence.of.rating", "Less.Delivery.time", "High.Quality.of.package",
  "Number.of.calls", "Politeness", "Freshness", "Temperature", "Good.Taste",
  "Good.Quantity", "Output"
)
categoric_cus_vars <- c(
  "Age", "Gender", "Occupation", "Monthly.Income",
  "Educational.Qualifications", "Family.size"
)

categoric_app_vars <- c(
  "Medium..P1.", "Medium..P2.", "Perference.P1.", "Perference.P2.",
  "Meal.P1.", "Meal.P2."
)
categoric_output_vars <- c("Output")
categoric_fback_vars <- setdiff(categorical_vars, c(categoric_cus_vars, categoric_app_vars, categoric_output_vars))

numeric_vars <- c("Age")
geo_vars <- c("latitude", "longitude", "Pin.code")
text_vars <- c("Reviews")
# Subset the data frame based on variable groups
categoric_all <- deliverydata_primary[categorical_vars]
numeric_data <- deliverydata_primary[numeric_vars]
geo_data <- deliverydata_primary[geo_vars]
text_data <- deliverydata_primary[text_vars]

In Categorical variables, we have also observed 4 sub-categories data covering customers’ information, customers’ application info/decision made, customers’ feedbacks and expected output.

# Subset of categoric_all
categoric_c <- deliverydata_primary[categoric_cus_vars]
categoric_a <- deliverydata_primary[categoric_app_vars]
categoric_o <- deliverydata_primary[categoric_output_vars]
categoric_fb <- deliverydata_primary[categoric_fback_vars]

1.5 Summary

Further summarisation of the dataset was done including descriptive statistics on the variables. Methods use to understand the dataset are as follows:

1.5.1 Summary of Data

Below are summary of data

summary(deliverydata_primary)
##       Age           Gender          Marital.Status      Occupation       
##  Min.   :18.00   Length:388         Length:388         Length:388        
##  1st Qu.:23.00   Class :character   Class :character   Class :character  
##  Median :24.00   Mode  :character   Mode  :character   Mode  :character  
##  Mean   :24.63                                                           
##  3rd Qu.:26.00                                                           
##  Max.   :33.00                                                           
##  Monthly.Income     Educational.Qualifications  Family.size       latitude    
##  Length:388         Length:388                 Min.   :1.000   Min.   :12.87  
##  Class :character   Class :character           1st Qu.:2.000   1st Qu.:12.94  
##  Mode  :character   Mode  :character           Median :3.000   Median :12.98  
##                                                Mean   :3.281   Mean   :12.97  
##                                                3rd Qu.:4.000   3rd Qu.:13.00  
##                                                Max.   :6.000   Max.   :13.10  
##    longitude        Pin.code      Medium..P1.        Medium..P2.       
##  Min.   :77.48   Min.   :560001   Length:388         Length:388        
##  1st Qu.:77.57   1st Qu.:560011   Class :character   Class :character  
##  Median :77.59   Median :560034   Mode  :character   Mode  :character  
##  Mean   :77.60   Mean   :560040                                        
##  3rd Qu.:77.63   3rd Qu.:560068                                        
##  Max.   :77.76   Max.   :560109                                        
##    Meal.P1.           Meal.P2.         Perference.P1.     Perference.P2.    
##  Length:388         Length:388         Length:388         Length:388        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##                                                                             
##                                                                             
##                                                                             
##  Ease.and.convenient Time.saving        More.restaurant.choices
##  Length:388          Length:388         Length:388             
##  Class :character    Class :character   Class :character       
##  Mode  :character    Mode  :character   Mode  :character       
##                                                                
##                                                                
##                                                                
##  Easy.Payment.option More.Offers.and.Discount Good.Food.quality 
##  Length:388          Length:388               Length:388        
##  Class :character    Class :character         Class :character  
##  Mode  :character    Mode  :character         Mode  :character  
##                                                                 
##                                                                 
##                                                                 
##  Good.Tracking.system Self.Cooking       Health.Concern     Late.Delivery     
##  Length:388           Length:388         Length:388         Length:388        
##  Class :character     Class :character   Class :character   Class :character  
##  Mode  :character     Mode  :character   Mode  :character   Mode  :character  
##                                                                               
##                                                                               
##                                                                               
##  Poor.Hygiene       Bad.past.experience Unavailability     Unaffordable      
##  Length:388         Length:388          Length:388         Length:388        
##  Class :character   Class :character    Class :character   Class :character  
##  Mode  :character   Mode  :character    Mode  :character   Mode  :character  
##                                                                              
##                                                                              
##                                                                              
##  Long.delivery.time Delay.of.delivery.person.getting.assigned
##  Length:388         Length:388                               
##  Class :character   Class :character                         
##  Mode  :character   Mode  :character                         
##                                                              
##                                                              
##                                                              
##  Delay.of.delivery.person.picking.up.food Wrong.order.delivered
##  Length:388                               Length:388           
##  Class :character                         Class :character     
##  Mode  :character                         Mode  :character     
##                                                                
##                                                                
##                                                                
##  Missing.item       Order.placed.by.mistake Influence.of.time 
##  Length:388         Length:388              Length:388        
##  Class :character   Class :character        Class :character  
##  Mode  :character   Mode  :character        Mode  :character  
##                                                               
##                                                               
##                                                               
##   Order.Time        Maximum.wait.time  Residence.in.busy.location
##  Length:388         Length:388         Length:388                
##  Class :character   Class :character   Class :character          
##  Mode  :character   Mode  :character   Mode  :character          
##                                                                  
##                                                                  
##                                                                  
##  Google.Maps.Accuracy Good.Road.Condition Low.quantity.low.time
##  Length:388           Length:388          Length:388           
##  Class :character     Class :character    Class :character     
##  Mode  :character     Mode  :character    Mode  :character     
##                                                                
##                                                                
##                                                                
##  Delivery.person.ability Influence.of.rating Less.Delivery.time
##  Length:388              Length:388          Length:388        
##  Class :character        Class :character    Class :character  
##  Mode  :character        Mode  :character    Mode  :character  
##                                                                
##                                                                
##                                                                
##  High.Quality.of.package Number.of.calls     Politeness       
##  Length:388              Length:388         Length:388        
##  Class :character        Class :character   Class :character  
##  Mode  :character        Mode  :character   Mode  :character  
##                                                               
##                                                               
##                                                               
##   Freshness         Temperature         Good.Taste        Good.Quantity     
##  Length:388         Length:388         Length:388         Length:388        
##  Class :character   Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character   Mode  :character  
##                                                                             
##                                                                             
##                                                                             
##     Output            Reviews         
##  Length:388         Length:388        
##  Class :character   Class :character  
##  Mode  :character   Mode  :character  
##                                       
##                                       
## 

1.5.2 Random Test

A random test was conducted to glean on specific information based on variables ‘latitude’ and ‘longitude’: * How many person at a location ordered online? * Is there duplicate entries based on latitude and longitude? Are the result the same as above?

# How many person at a location ordered online? Identify duplicate rows based on latitude and longitude
num_duplicate_entries <- sum(duplicated(deliverydata_primary[, c("latitude", "longitude")]) | duplicated(deliverydata_primary[, c("latitude", "longitude")], fromLast = TRUE))
cat("Number of duplicate entries based on latitude and longitude:", num_duplicate_entries, "\n")
## Number of duplicate entries based on latitude and longitude: 376
# How many duplicate entries based on location? Same duplicate data.
duplicate_location_rows <- deliverydata_primary[duplicated(deliverydata_primary[, c("latitude", "longitude")]), ]
cat("Number of duplicate location rows based on latitude and longitude:", nrow(duplicate_location_rows), "\n")
## Number of duplicate location rows based on latitude and longitude: 311

1.5.3 Values count by variables

Frequency distributions of values for each categorical variable were examined.

Excluding location and sentiment variables (geo_data & text_data), values count for each variables are retrieved.

# List of remaining categorical variables
remaining_categorical_vars <- setdiff(categorical_vars, c(text_vars, geo_vars))

# Generate frequency tables
for (var in remaining_categorical_vars) {
  cat(paste("Frequency Table for", var, ":\n"))
  print(table(deliverydata_primary[[var]]))
}
## Frequency Table for Gender :
## 
## Female   Male 
##    166    222 
## Frequency Table for Marital.Status :
## 
##           Married Prefer not to say            Single 
##               108                12               268 
## Frequency Table for Occupation :
## 
##       Employee     House wife Self Employeed        Student 
##            118              9             54            207 
## Frequency Table for Monthly.Income :
## 
##  10001 to 25000  25001 to 50000  Below Rs.10000 More than 50000       No Income 
##              45              69              25              62             187 
## Frequency Table for Educational.Qualifications :
## 
##      Graduate          Ph.D Post Graduate        School    Uneducated 
##           177            23           174            12             2 
## Frequency Table for Family.size :
## 
##   1   2   3   4   5   6 
##  24 101 117  63  54  29 
## Frequency Table for Medium..P1. :
## 
##        Direct call Food delivery apps            Walk-in        Web browser 
##                  5                358                 22                  3 
## Frequency Table for Medium..P2. :
## 
##  Direct call      Walk-in  Web browser 
##          208          104           76 
## Frequency Table for Meal.P1. :
## 
## Breakfast    Dinner     Lunch    Snacks 
##        53        91       120       124 
## Frequency Table for Meal.P2. :
## 
##  Dinner   Lunch  Snacks 
##     312      28      48 
## Frequency Table for Perference.P1. :
## 
##                  Bakery items (snacks)         Non Veg foods (Lunch / Dinner) 
##                                      1                                    315 
##                                 Sweets Veg foods (Breakfast / Lunch / Dinner) 
##                                      3                                     69 
## Frequency Table for Perference.P2. :
## 
##                   Bakery items (snacks)                 Ice cream / Cool drinks 
##                                      13                                      35 
##                                  Sweets  Veg foods (Breakfast / Lunch / Dinner) 
##                                      46                                     294 
## Frequency Table for Ease.and.convenient :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               235                58                20                67 
## Strongly disagree 
##                 8 
## Frequency Table for Time.saving :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               143                66                55               115 
## Strongly disagree 
##                 9 
## Frequency Table for More.restaurant.choices :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               169                45                55               104 
## Strongly disagree 
##                15 
## Frequency Table for Easy.Payment.option :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               143                52                76                93 
## Strongly disagree 
##                24 
## Frequency Table for More.Offers.and.Discount :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               132                63                76                94 
## Strongly disagree 
##                23 
## Frequency Table for Good.Food.quality :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               141                49               112                68 
## Strongly disagree 
##                18 
## Frequency Table for Good.Tracking.system :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               161                27                68               111 
## Strongly disagree 
##                21 
## Frequency Table for Self.Cooking :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               166               140                48                19 
## Strongly disagree 
##                15 
## Frequency Table for Health.Concern :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               121               119                68                67 
## Strongly disagree 
##                13 
## Frequency Table for Late.Delivery :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               163                74                87                31 
## Strongly disagree 
##                33 
## Frequency Table for Poor.Hygiene :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               110               112                88                52 
## Strongly disagree 
##                26 
## Frequency Table for Bad.past.experience :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##                99               143                85                31 
## Strongly disagree 
##                30 
## Frequency Table for Unavailability :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##                95               126                73                31 
## Strongly disagree 
##                63 
## Frequency Table for Unaffordable :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##                63               153                62                28 
## Strongly disagree 
##                82 
## Frequency Table for Long.delivery.time :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               185               108                46                42 
## Strongly disagree 
##                 7 
## Frequency Table for Delay.of.delivery.person.getting.assigned :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               142                68               104                56 
## Strongly disagree 
##                18 
## Frequency Table for Delay.of.delivery.person.picking.up.food :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##               189                61                78                44 
## Strongly disagree 
##                16 
## Frequency Table for Wrong.order.delivered :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##                91               129                65                53 
## Strongly disagree 
##                50 
## Frequency Table for Missing.item :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##                74               138                62                66 
## Strongly disagree 
##                48 
## Frequency Table for Order.placed.by.mistake :
## 
##             Agree          Disagree           Neutral    Strongly agree 
##                69               126                65                41 
## Strongly disagree 
##                87 
## Frequency Table for Influence.of.time :
## 
## Maybe    No   Yes 
##    39    48   301 
## Frequency Table for Order.Time :
## 
##   Anytime (Mon-Sun)  Weekdays (Mon-Fri) Weekend (Sat & Sun) 
##                 269                  17                 102 
## Frequency Table for Maximum.wait.time :
## 
##           15 minutes           30 minutes           45 minutes 
##                   40                  139                  154 
##           60 minutes More than 60 minutes 
##                   34                   21 
## Frequency Table for Residence.in.busy.location :
## 
##             Agree          Disagree           Neutral    Strongly Agree 
##               266                35                50                28 
## Strongly disagree 
##                 9 
## Frequency Table for Google.Maps.Accuracy :
## 
##             Agree          Disagree           Neutral    Strongly Agree 
##               137                33                91               119 
## Strongly disagree 
##                 8 
## Frequency Table for Good.Road.Condition :
## 
##             Agree          Disagree           Neutral    Strongly Agree 
##               177                41                76                87 
## Strongly disagree 
##                 7 
## Frequency Table for Low.quantity.low.time :
## 
##             Agree          Disagree           Neutral    Strongly Agree 
##               169                61                97                34 
## Strongly disagree 
##                27 
## Frequency Table for Delivery.person.ability :
## 
##             Agree          Disagree           Neutral    Strongly Agree 
##               163                52                80                87 
## Strongly disagree 
##                 6 
## Frequency Table for Influence.of.rating :
## 
## Maybe    No   Yes 
##    49    53   286 
## Frequency Table for Less.Delivery.time :
## 
##            Important Moderately Important   Slightly Important 
##                  248                   45                   34 
##          Unimportant       Very Important 
##                    5                   56 
## Frequency Table for High.Quality.of.package :
## 
##            Important Moderately Important   Slightly Important 
##                  152                   77                   27 
##          Unimportant       Very Important 
##                    6                  126 
## Frequency Table for Number.of.calls :
## 
##            Important Moderately Important   Slightly Important 
##                  133                   88                   54 
##          Unimportant       Very Important 
##                   19                   94 
## Frequency Table for Politeness :
## 
##            Important Moderately Important   Slightly Important 
##                  155                   63                   45 
##          Unimportant       Very Important 
##                    6                  119 
## Frequency Table for Freshness :
## 
##            Important Moderately Important   Slightly Important 
##                  128                   58                   60 
##          Unimportant       Very Important 
##                    5                  137 
## Frequency Table for Temperature :
## 
##            Important Moderately Important   Slightly Important 
##                  148                   88                   24 
##          Unimportant       Very Important 
##                    2                  126 
## Frequency Table for Good.Taste :
## 
##            Important Moderately Important   Slightly Important 
##                  154                   39                   11 
##          Unimportant       Very Important 
##                    6                  178 
## Frequency Table for Good.Quantity :
## 
##            Important Moderately Important   Slightly Important 
##                  153                   33                   25 
##          Unimportant       Very Important 
##                    3                  174 
## Frequency Table for Output :
## 
##  No Yes 
##  87 301

1.6 Key Findings

1.6.1 Visualisation

Prior to visualising our dataset, directories were set up/created to save the charts and plots.

# Create directory to save charts and plots
if (!dir.exists("viz")) dir.create("viz")
if (!dir.exists("viz_cc")) dir.create("viz_cc")
if (!dir.exists("viz_ca")) dir.create("viz_ca")
if (!dir.exists("viz_cfb")) dir.create("viz_cfb")
if (!dir.exists("viz_co")) dir.create("viz_co")

For numerical variables, histograms and boxplots were used while for categorical variables, bar plots were used.

# Histograms and boxplots for numeric variables
for (col in colnames(numeric_data)) {
  # Histogram
  hist(numeric_data[[col]], main = paste(col, "Distribution"), xlab = col, col = "lightblue", border = "black")
  # Save histogram as PNG
  png(paste("viz/", col, "_histogram.png", sep = ""), width = 800, height = 600)
  hist(numeric_data[[col]], main = paste(col, "Distribution"), xlab = col, col = "lightblue", border = "black")
  dev.off()
  
  # Boxplot
  boxplot(numeric_data[[col]], main = paste(col, "Boxplot"), col = "lightblue", border = "black")
  # Save boxplot as PNG
  png(paste("viz/", col, "_boxplot.png", sep = ""), width = 800, height = 600)
  boxplot(numeric_data[[col]], main = paste(col, "Boxplot"), col = "lightblue", border = "black")
  dev.off()
}

# Bar plots for categorical variables
for (col in colnames(categoric_all)) {
  # Barplot
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  # Save barplot as PNG
  png(paste("viz/", col, "_barplot.png", sep = ""), width = 800, height = 600)
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  dev.off()
}

for (col in colnames(categoric_c)) {
  # Barplot
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  # Save barplot as PNG
  png(paste("viz_cc/", col, "_barplot.png", sep = ""), width = 800, height = 600)
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  dev.off()
}

for (col in colnames(categoric_a)) {
  # Barplot
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  # Save barplot as PNG
  png(paste("viz_ca/", col, "_barplot.png", sep = ""), width = 800, height = 600)
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  dev.off()
}

for (col in colnames(categoric_o)) {
  # Barplot
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  # Save barplot as PNG
  png(paste("viz_co/", col, "_barplot.png", sep = ""), width = 800, height = 600)
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  dev.off()
}

for (col in colnames(categoric_fb)) {
  # Barplot
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  # Save barplot as PNG
  png(paste("viz_cfb/", col, "_barplot.png", sep = ""), width = 800, height = 600)
  barplot(table(deliverydata_primary[[col]]), main = paste(col, "Distribution"), col = "lightblue", border = "black")
  dev.off()
}

Items Key Findings
Numerical Variables The dataset contains one numerical variable: Age. Age ranges from 18 to 33, with 24 years old as median.
Categorical Variables There are a lot of categorical variables, including Gender, Marital.Status, Occupation, Monthly.Income, Educational.Qualifications, Meal.P1., and more.
Categorical variables have different levels and represent various aspects of customer demographics, preferences and feedbacks.
Family.size ranges from 1 to 6 people in a family, with 3 as median family population.
Some of the categorical variables are customers’ feedbacks ranging from 3 type of preferences to 5-scale ratings:
a) No, Maybe, Yes (3 variables - Order.Time, Order.placed.by.mistake, Influence.of.time)
b) Unimportant, Important, Slightly Important, Moderately Important, Very Important (13 variables - Residence.in.busy.location, Maximum.wait.time, Delivery.person.ability, Influence.of.rating, Less.Delivery.time, High.Quality.of.package, Number.of.calls, Politeness, Freshness, Temperature, Good.Taste, Good.Quantity
c) Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree (38 variables - remaining variables in ‘categoric_fb’)
Geo (location) Data Geospatial data includes latitude, longitude, and Pin.code.
These variables represent the geographical location of the customers based on latitude, longitude, and pin codes.
Output Variable The variable Output is present, indicating a potential target variable for analysis or modeling. The value is binary, with values such as “Yes” or “No.”
Text Variable The variable Reviews contains text data, representing customer reviews. Natural language processing techniques can be applied to extract insights from this textual information.
Overall Data Structure The dataset comprises 388 observations (rows) and 55 variables (columns).
Some categorical variables capture customer preferences, while others assess their experiences with online food delivery services. The dataset incorporates a mix of demographic information, feedback, and operational details.
Missing Values No missing values are reported in the dataset, ensuring data reliability.
Duplicates Duplicate entries are present in the dataset, with a total of 102 rows being identified as duplicates.
Unique Values Some variables have a variety of unique values, reflecting diversity in responses.
Summary Statistics Descriptive statistics, such as mean, median, and quartiles, provide a summary of numerical variables.
Visualization Visualizations, including histograms and boxplots for numerical variables and bar plots for categorical variables, are generated for initial insights.
Key Customer Preferences Variables related to customer preferences, such as Perference.P1., Perference.P2., and Meal.P1., reveal insights into the types of food customers prefer.

1.6.2 Customer Demographics

Gender Distribution:
* Female: 166 (43%)
* Male: 222 (57%)

Marital Status Distribution:
* Prefer not to say: 12 (3%)
* Single: 268 (69%)
* Married: 108 (28%)

Occupation Distribution:
* Student: 207 (53%)
* Housewife: 9 (2%)
* Self-Employed: 54 (14%)
* Employee: 118 (30%)

Monthly Income Distribution:
* No Income: 187 (48%)
* Below Rs.10000: 25 (6%)
* 10001 to 25000: 45 (12%)
* 25001 to 50000: 69 (18%)
* More than 50000: 62 (16%)

Educational Qualifications Distribution:
* Uneducated: 2 (1%)
* School: 12 (3%)
* Graduate: 177 (46%)
* Post Graduate: 174 (45%)
* Ph.D: 23 (6%)

Family Size Distribution:
* 1: 24 (6%)
* 2: 101 (26%)
* 3: 117 (30%)
* 4: 63 (16%)
* 5: 54 (14%)
* 6: 29 (7%)

1.6.3 Customer’s Medium and Meal Preferences

Medium for Placing Orders (Meal.P1.):
* Direct call: 5 (1%)
* Food delivery apps: 358 (92%)
* Walk-in: 22 (6%)
* Web browser: 3 (1%)

Medium for Receiving Orders (Meal.P2.):
* Direct call: 208 (54%)
* Walk-in: 104 (27%)
* Web browser: 76 (20%)

Preference for Food (Perference.P1.):
* Bakery items (snacks): 1 (0%)
* Non-Veg foods (Lunch/Dinner): 315 (81%)
* Sweets: 3 (1%)
* Veg foods (Breakfast/Lunch/Dinner): 69 (18%)

Preference for Food (Perference.P2.):
* Bakery items (snacks): 13 (3%)
* Ice cream/Cool drinks: 35 (9%)
* Sweets: 46 (12%)
* Veg foods (Breakfast/Lunch/Dinner): 294 (76%)

1.7 References

  1. Online Food Delivery Survey Analysis by Farid Rizqi @ Kaggle.

2. Data cleaning

2.1 Handling Missing values

Identify and process missing values in data where there are option to review and to delete the row or column that contains the missing value, fill in the missing value using an interpolation method, or process it appropriately depending on the context.

#Detection NA
# We need to categorize people by age, but other labels,such as:"Gender"、 "Marital.Status"                        、"Occupation"、"Monthly.Income" 、"Educational.Qualifications"、"Family.size". if these columns appear NA, do not need special processing.
# Then we delete the lines that are missing important values.

#View(df[which(is.na(df), arr.ind = TRUE), ])
df <- read.csv("deliverydata_primary.csv",sep = ",",header = T)
#View(df)
df <- as.data.frame(df)

df[which(is.na(df$Family.size),  arr.ind = TRUE), "Family.size"] <- 0
df[df$latitude == 12.977  &  df$longitude == 77.5773,]
##     Age Gender Marital.Status Occupation  Monthly.Income
## 2    24 Female         Single    Student  Below Rs.10000
## 7    22   Male         Single    Student       No Income
## 12   23   Male         Single    Student  Below Rs.10000
## 14   21   Male         Single    Student       No Income
## 21   24   Male         Single    Student       No Income
## 37   25   Male         Single    Student       No Income
## 47   24 Female         Single    Student       No Income
## 48   23   Male         Single    Student       No Income
## 52   23 Female         Single    Student       No Income
## 53   24   Male         Single    Student       No Income
## 58   24 Female         Single    Student       No Income
## 78   21   Male         Single    Student       No Income
## 79   22 Female         Single    Student       No Income
## 82   23 Female         Single    Student       No Income
## 85   23   Male         Single    Student       No Income
## 88   25   Male         Single    Student       No Income
## 89   25   Male         Single    Student       No Income
## 93   22   Male         Single    Student       No Income
## 94   24 Female         Single    Student       No Income
## 96   25   Male         Single    Student       No Income
## 111  21   Male         Single    Student       No Income
## 127  23   Male         Single    Student       No Income
## 128  25   Male         Single    Student       No Income
## 129  23   Male         Single    Student       No Income
## 147  23   Male         Single    Student More than 50000
## 151  23   Male         Single    Student More than 50000
## 187  22   Male         Single    Student       No Income
## 208  23 Female         Single    Student       No Income
## 257  23   Male         Single    Student       No Income
## 294  25 Female        Married   Employee More than 50000
## 305  22   Male         Single    Student       No Income
## 310  23   Male         Single    Student  Below Rs.10000
## 335  23 Female         Single    Student       No Income
## 351  23 Female         Single    Student       No Income
## 382  22   Male         Single    Student       No Income
## 387  23   Male         Single    Student  Below Rs.10000
##     Educational.Qualifications Family.size latitude longitude Pin.code
## 2                     Graduate           3   12.977   77.5773   560009
## 7                     Graduate           3   12.977   77.5773   560009
## 12               Post Graduate           2   12.977   77.5773   560009
## 14                    Graduate           4   12.977   77.5773   560009
## 21               Post Graduate           3   12.977   77.5773       NA
## 37               Post Graduate           5   12.977   77.5773   560009
## 47               Post Graduate           3   12.977   77.5773   560009
## 48               Post Graduate           2   12.977   77.5773   560009
## 52               Post Graduate           2   12.977   77.5773   560009
## 53               Post Graduate           3   12.977   77.5773   560009
## 58                    Graduate           3   12.977   77.5773   560009
## 78                    Graduate           4   12.977   77.5773   560009
## 79               Post Graduate           3   12.977   77.5773   560009
## 82               Post Graduate           3   12.977   77.5773   560009
## 85               Post Graduate           3   12.977   77.5773   560009
## 88                    Graduate           1   12.977   77.5773   560009
## 89               Post Graduate           5   12.977   77.5773   560009
## 93               Post Graduate           2   12.977   77.5773   560009
## 94               Post Graduate           3   12.977   77.5773   560009
## 96                    Graduate           1   12.977   77.5773   560009
## 111              Post Graduate           4   12.977   77.5773   560009
## 127              Post Graduate           3   12.977   77.5773   560009
## 128              Post Graduate           4   12.977   77.5773   560009
## 129              Post Graduate           3   12.977   77.5773   560009
## 147              Post Graduate           3   12.977   77.5773   560009
## 151              Post Graduate           3   12.977   77.5773   560009
## 187              Post Graduate           2   12.977   77.5773   560009
## 208                   Graduate           1   12.977   77.5773   560009
## 257              Post Graduate           2   12.977   77.5773   560009
## 294                   Graduate           1   12.977   77.5773   560009
## 305                   Graduate           3   12.977   77.5773   560009
## 310              Post Graduate           2   12.977   77.5773   560009
## 335                   Graduate           1   12.977   77.5773   560009
## 351                   Graduate           1   12.977   77.5773   560009
## 382                   Graduate           3   12.977   77.5773   560009
## 387              Post Graduate           2   12.977   77.5773   560009
##              Medium_P1    Medium_P2   Meal_P1 Meal_P2
## 2   Food delivery apps  Web browser    Snacks  Dinner
## 7   Food delivery apps  Direct call     Lunch  Dinner
## 12  Food delivery apps      Walk-in     Lunch  Dinner
## 14             Walk-in  Direct call    Dinner  Dinner
## 21  Food delivery apps  Direct call    Dinner  Dinner
## 37  Food delivery apps      Walk-in     Lunch  Snacks
## 47  Food delivery apps  Direct call    Dinner  Dinner
## 48  Food delivery apps      Walk-in    Dinner  Dinner
## 52  Food delivery apps  Direct call     Lunch  Dinner
## 53  Food delivery apps      Walk-in    Snacks  Dinner
## 58  Food delivery apps  Direct call     Lunch  Snacks
## 78             Walk-in  Direct call    Dinner  Dinner
## 79  Food delivery apps      Walk-in     Lunch  Dinner
## 82  Food delivery apps      Walk-in    Dinner  Dinner
## 85  Food delivery apps  Direct call    Dinner  Dinner
## 88  Food delivery apps      Walk-in    Dinner  Dinner
## 89  Food delivery apps      Walk-in     Lunch  Snacks
## 93  Food delivery apps      Walk-in    Dinner  Dinner
## 94  Food delivery apps      Walk-in Breakfast   Lunch
## 96  Food delivery apps      Walk-in    Dinner  Dinner
## 111 Food delivery apps      Walk-in     Lunch  Dinner
## 127 Food delivery apps  Direct call    Dinner  Dinner
## 128 Food delivery apps  Direct call     Lunch  Dinner
## 129 Food delivery apps  Direct call    Dinner  Dinner
## 147 Food delivery apps  Direct call    Snacks  Dinner
## 151 Food delivery apps  Direct call    Snacks  Dinner
## 187 Food delivery apps  Direct call     Lunch  Dinner
## 208 Food delivery apps  Direct call Breakfast   Lunch
## 257 Food delivery apps  Direct call     Lunch  Dinner
## 294 Food delivery apps  Direct call     Lunch  Snacks
## 305 Food delivery apps  Direct call     Lunch  Dinner
## 310 Food delivery apps      Walk-in     Lunch  Dinner
## 335 Food delivery apps  Direct call Breakfast   Lunch
## 351 Food delivery apps  Direct call Breakfast   Lunch
## 382 Food delivery apps  Direct call     Lunch  Dinner
## 387 Food delivery apps      Walk-in     Lunch  Dinner
##                              Perference_P1
## 2           Non Veg foods (Lunch / Dinner)
## 7           Non Veg foods (Lunch / Dinner)
## 12          Non Veg foods (Lunch / Dinner)
## 14          Non Veg foods (Lunch / Dinner)
## 21          Non Veg foods (Lunch / Dinner)
## 37  Veg foods (Breakfast / Lunch / Dinner)
## 47          Non Veg foods (Lunch / Dinner)
## 48          Non Veg foods (Lunch / Dinner)
## 52          Non Veg foods (Lunch / Dinner)
## 53          Non Veg foods (Lunch / Dinner)
## 58          Non Veg foods (Lunch / Dinner)
## 78          Non Veg foods (Lunch / Dinner)
## 79          Non Veg foods (Lunch / Dinner)
## 82          Non Veg foods (Lunch / Dinner)
## 85  Veg foods (Breakfast / Lunch / Dinner)
## 88          Non Veg foods (Lunch / Dinner)
## 89  Veg foods (Breakfast / Lunch / Dinner)
## 93          Non Veg foods (Lunch / Dinner)
## 94          Non Veg foods (Lunch / Dinner)
## 96          Non Veg foods (Lunch / Dinner)
## 111         Non Veg foods (Lunch / Dinner)
## 127         Non Veg foods (Lunch / Dinner)
## 128         Non Veg foods (Lunch / Dinner)
## 129         Non Veg foods (Lunch / Dinner)
## 147         Non Veg foods (Lunch / Dinner)
## 151         Non Veg foods (Lunch / Dinner)
## 187         Non Veg foods (Lunch / Dinner)
## 208         Non Veg foods (Lunch / Dinner)
## 257         Non Veg foods (Lunch / Dinner)
## 294 Veg foods (Breakfast / Lunch / Dinner)
## 305         Non Veg foods (Lunch / Dinner)
## 310         Non Veg foods (Lunch / Dinner)
## 335         Non Veg foods (Lunch / Dinner)
## 351         Non Veg foods (Lunch / Dinner)
## 382         Non Veg foods (Lunch / Dinner)
## 387         Non Veg foods (Lunch / Dinner)
##                               Perference_P2 Ease.and.convenient    Time.saving
## 2    Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 7    Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 12   Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 14   Veg foods (Breakfast / Lunch / Dinner)               Agree Strongly agree
## 21   Veg foods (Breakfast / Lunch / Dinner)               Agree          Agree
## 37                                   Sweets      Strongly agree          Agree
## 47   Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 48   Veg foods (Breakfast / Lunch / Dinner)             Neutral       Disagree
## 52   Veg foods (Breakfast / Lunch / Dinner)             Neutral        Neutral
## 53                  Ice cream / Cool drinks               Agree Strongly agree
## 58                    Bakery items (snacks)      Strongly agree          Agree
## 78   Veg foods (Breakfast / Lunch / Dinner)               Agree Strongly agree
## 79                  Ice cream / Cool drinks      Strongly agree Strongly agree
## 82                  Ice cream / Cool drinks             Neutral          Agree
## 85   Veg foods (Breakfast / Lunch / Dinner)      Strongly agree        Neutral
## 88   Veg foods (Breakfast / Lunch / Dinner)               Agree        Neutral
## 89                                   Sweets      Strongly agree          Agree
## 93   Veg foods (Breakfast / Lunch / Dinner)               Agree          Agree
## 94   Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 96   Veg foods (Breakfast / Lunch / Dinner)               Agree        Neutral
## 111  Veg foods (Breakfast / Lunch / Dinner)   Strongly disagree       Disagree
## 127  Veg foods (Breakfast / Lunch / Dinner)               Agree          Agree
## 128                 Ice cream / Cool drinks      Strongly agree Strongly agree
## 129  Veg foods (Breakfast / Lunch / Dinner)               Agree          Agree
## 147  Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 151  Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 187  Veg foods (Breakfast / Lunch / Dinner)               Agree          Agree
## 208  Veg foods (Breakfast / Lunch / Dinner)   Strongly disagree        Neutral
## 257  Veg foods (Breakfast / Lunch / Dinner)               Agree Strongly agree
## 294                                  Sweets            Disagree       Disagree
## 305  Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 310  Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 335  Veg foods (Breakfast / Lunch / Dinner)   Strongly disagree        Neutral
## 351  Veg foods (Breakfast / Lunch / Dinner)   Strongly disagree        Neutral
## 382  Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
## 387  Veg foods (Breakfast / Lunch / Dinner)      Strongly agree Strongly agree
##     More.restaurant.choices Easy.Payment.option More.Offers.and.Discount
## 2            Strongly agree      Strongly agree           Strongly agree
## 7                     Agree      Strongly agree                    Agree
## 12           Strongly agree      Strongly agree                    Agree
## 14           Strongly agree      Strongly agree           Strongly agree
## 21                    Agree               Agree                    Agree
## 37           Strongly agree      Strongly agree           Strongly agree
## 47                    Agree             Neutral                    Agree
## 48                  Neutral            Disagree                  Neutral
## 52                  Neutral             Neutral                  Neutral
## 53                  Neutral      Strongly agree                    Agree
## 58           Strongly agree      Strongly agree                    Agree
## 78           Strongly agree      Strongly agree           Strongly agree
## 79           Strongly agree      Strongly agree           Strongly agree
## 82           Strongly agree      Strongly agree                 Disagree
## 85                    Agree      Strongly agree           Strongly agree
## 88           Strongly agree               Agree           Strongly agree
## 89           Strongly agree      Strongly agree           Strongly agree
## 93           Strongly agree      Strongly agree                  Neutral
## 94           Strongly agree      Strongly agree           Strongly agree
## 96           Strongly agree               Agree           Strongly agree
## 111                Disagree            Disagree                 Disagree
## 127                   Agree               Agree                  Neutral
## 128          Strongly agree      Strongly agree           Strongly agree
## 129                   Agree               Agree                  Neutral
## 147                   Agree      Strongly agree           Strongly agree
## 151                   Agree      Strongly agree           Strongly agree
## 187                   Agree               Agree                    Agree
## 208       Strongly disagree   Strongly disagree        Strongly disagree
## 257                   Agree               Agree                    Agree
## 294                Disagree            Disagree                  Neutral
## 305                   Agree      Strongly agree                    Agree
## 310          Strongly agree      Strongly agree                    Agree
## 335       Strongly disagree   Strongly disagree        Strongly disagree
## 351       Strongly disagree   Strongly disagree        Strongly disagree
## 382                   Agree      Strongly agree                    Agree
## 387          Strongly Agree      Strongly agree                    Agree
##     Good.Food.quality Good.Tracking.system   Self.Cooking Health.Concern
## 2             Neutral                Agree Strongly agree Strongly agree
## 7             Neutral                Agree       Disagree          Agree
## 12              Agree       Strongly agree          Agree Strongly agree
## 14     Strongly agree       Strongly agree       Disagree Strongly agree
## 21              Agree                Agree       Disagree       Disagree
## 37     Strongly agree       Strongly agree          Agree Strongly agree
## 47            Neutral                Agree        Neutral Strongly agree
## 48            Neutral                Agree        Neutral       Disagree
## 52            Neutral              Neutral        Neutral        Neutral
## 53            Neutral              Neutral       Disagree          Agree
## 58            Neutral              Neutral          Agree          Agree
## 78     Strongly agree       Strongly agree       Disagree Strongly agree
## 79     Strongly agree       Strongly agree        Neutral        Neutral
## 82     Strongly agree       Strongly agree       Disagree          Agree
## 85            Neutral                Agree        Neutral       Disagree
## 88            Neutral                Agree Strongly agree Strongly agree
## 89     Strongly agree       Strongly agree          Agree Strongly agree
## 93     Strongly agree                Agree Strongly agree Strongly agree
## 94     Strongly agree       Strongly agree Strongly agree Strongly agree
## 96            Neutral                Agree Strongly agree Strongly agree
## 111          Disagree             Disagree        Neutral          Agree
## 127           Neutral                Agree          Agree          Agree
## 128    Strongly agree       Strongly agree       Disagree      not agree
## 129           Neutral                Agree          Agree          Agree
## 147             Agree       Strongly agree          Agree        Neutral
## 151             Agree       Strongly agree          Agree        Neutral
## 187             Agree                Agree        Neutral          Agree
## 208 Strongly disagree    Strongly disagree       Disagree       Disagree
## 257    Strongly agree                Agree       Disagree       Disagree
## 294          Disagree             Disagree          Agree          Agree
## 305           Neutral                Agree       Disagree          Agree
## 310             Agree       Strongly agree          Agree Strongly agree
## 335 Strongly disagree    Strongly disagree       Disagree       Disagree
## 351 Strongly disagree    Strongly disagree       Disagree       Disagree
## 382           Neutral                Agree       Disagree          Agree
## 387             Agree       Strongly agree          Agree Strongly agree
##         Late.Delivery      Poor.Hygiene Bad.past.experience    Unavailability
## 2               Agree    Strongly agree      Strongly agree    Strongly agree
## 7            Disagree             Agree            Disagree    Strongly agree
## 12           Disagree             Agree      Strongly agree    Strongly agree
## 14            Neutral           Neutral             Neutral          Disagree
## 21            Neutral           Neutral            Disagree          Disagree
## 37     Strongly agree          Disagree             Neutral          Disagree
## 47            Neutral    Strongly agree               Agree             Agree
## 48           Disagree             Agree             Neutral           Neutral
## 52            Neutral           Neutral             Neutral           Neutral
## 53              Agree    Strongly agree               Agree             Agree
## 58     Strongly agree             Agree      Strongly agree           Neutral
## 78            Neutral           Neutral             Neutral          Disagree
## 79  Strongly disagree           Neutral             Neutral           Neutral
## 82            Neutral           Neutral            Disagree             Agree
## 85              Agree             Agree               Agree    Strongly agree
## 88  Strongly disagree Strongly disagree            Disagree           Neutral
## 89     Strongly agree          Disagree             Neutral          Disagree
## 93     Strongly agree             Agree             Neutral             Agree
## 94              Agree           Neutral      Strongly agree    Strongly agree
## 96  Strongly disagree Strongly disagree            Disagree           Neutral
## 111           Neutral           Neutral             Neutral           Neutral
## 127             Agree           Neutral             Neutral             Agree
## 128             Agree          Disagree            Disagree             Agree
## 129             Agree           Neutral             Neutral             Agree
## 147          Disagree           Neutral             Neutral             Agree
## 151          Disagree           Neutral             Neutral             Agree
## 187             Agree    Strongly agree               Agree             Agree
## 208 Strongly disagree Strongly disagree   Strongly disagree Strongly disagree
## 257             Agree          Disagree   Strongly disagree          Disagree
## 294             Agree Strongly disagree            DisAgree           Neutral
## 305          Disagree             Agree            Disagree    Strongly agree
## 310          Disagree             Agree      Strongly agree    Strongly agree
## 335 Strongly disagree Strongly disagree   Strongly disagree Strongly disagree
## 351 Strongly disagree Strongly disagree   Strongly disagree Strongly disagree
## 382          Disagree             Agree            Disagree    Strongly agree
## 387          Disagree             Agree      Strongly agree    Strongly agree
##          Unaffordable Long.delivery.time
## 2      Strongly agree     Strongly agree
## 7   Strongly disagree            Neutral
## 12            Neutral     Strongly agree
## 14           Disagree              Agree
## 21           Disagree            Neutral
## 37     Strongly agree            Neutral
## 47            Neutral              Agree
## 48            Neutral              Agree
## 52            Neutral            Neutral
## 53           Disagree     Strongly agree
## 58              Agree              Agree
## 78           Disagree              Agree
## 79            Neutral     Strongly agree
## 82            Neutral     Strongly agree
## 85            Neutral              Agree
## 88  Strongly disagree            Neutral
## 89     Strongly agree            Neutral
## 93     Strongly agree              Agree
## 94     Strongly agree     Strongly agree
## 96  Strongly disagree            Neutral
## 111           Neutral              Agree
## 127           Neutral            Neutral
## 128             Agree              Agree
## 129           Neutral            Neutral
## 147 Strongly disagree            Neutral
## 151 Strongly disagree            Neutral
## 187             Agree              Agree
## 208 Strongly disagree  Strongly disagree
## 257          Disagree           Disagree
## 294          Disagree           Disagree
## 305 Strongly disagree            Neutral
## 310           Neutral     Strongly agree
## 335 Strongly disagree  Strongly disagree
## 351 Strongly disagree  Strongly disagree
## 382 Strongly disagree            Neutral
## 387           Neutral     Strongly agree
##     Delay.of.delivery.person.getting.assigned
## 2                              Strongly agree
## 7                                    Disagree
## 12                             Strongly agree
## 14                                      Agree
## 21                                    Neutral
## 37                                    Neutral
## 47                                    Neutral
## 48                                    Neutral
## 52                                    Neutral
## 53                             Strongly agree
## 58                             Strongly agree
## 78                                      Agree
## 79                             Strongly agree
## 82                                    Neutral
## 85                             Strongly agree
## 88                          Strongly disagree
## 89                                    Neutral
## 93                                    Neutral
## 94                             Strongly agree
## 96                          Strongly disagree
## 111                                     Agree
## 127                                     Agree
## 128                            Strongly agree
## 129                                     Agree
## 147                                     Agree
## 151                                     Agree
## 187                                     Agree
## 208                         Strongly disagree
## 257                                  Disagree
## 294                                   Neutral
## 305                                  Disagree
## 310                            Strongly agree
## 335                         Strongly disagree
## 351                         Strongly disagree
## 382                                  Disagree
## 387                            Strongly agree
##     Delay.of.delivery.person.picking.up.food Wrong.order.delivered
## 2                             Strongly agree        Strongly agree
## 7                                   Disagree        Strongly agree
## 12                                     Agree        Strongly agree
## 14                                     Agree     Strongly disagree
## 21                                     Agree              Disagree
## 37                                     Agree               Neutral
## 47                                   Neutral        Strongly agree
## 48                                  Disagree               Neutral
## 52                                   Neutral               Neutral
## 53                                     Agree        Strongly agree
## 58                                     Agree                 Agree
## 78                                     Agree     Strongly disagree
## 79                                   Neutral               Neutral
## 82                                     Agree              Disagree
## 85                            Strongly agree        Strongly agree
## 88                         Strongly disagree               Neutral
## 89                                     Agree               Neutral
## 93                                     Agree        Strongly agree
## 94                            Strongly agree        Strongly agree
## 96                         Strongly disagree               Neutral
## 111                                    Agree              Disagree
## 127                                    Agree                 Agree
## 128                                    Agree                 Agree
## 129                                    Agree                 Agree
## 147                                    Agree        Strongly agree
## 151                                    Agree        Strongly agree
## 187                                    Agree                 Agree
## 208                                 Disagree     Strongly disagree
## 257                                 Disagree              Disagree
## 294                                    Agree     Strongly disagree
## 305                                 Disagree        Strongly agree
## 310                                    Agree        Strongly agree
## 335                                 Disagree     Strongly disagree
## 351                                 Disagree     Strongly disagree
## 382                                 Disagree        Strongly agree
## 387                                    Agree        Strongly agree
##          Missing.item Order.placed.by.mistake Influence.of.time
## 2      Strongly agree          Strongly agree               Yes
## 7      Strongly agree          Strongly agree                No
## 12     Strongly agree                Disagree             Maybe
## 14           Disagree       Strongly disagree                No
## 21            Neutral                 Neutral               Yes
## 37            Neutral                 Neutral               Yes
## 47     Strongly agree          Strongly agree             Maybe
## 48            Neutral                Disagree               Yes
## 52            Neutral                 Neutral             Maybe
## 53     Strongly agree       Strongly disagree               Yes
## 58              Agree                   Agree               Yes
## 78           Disagree       Strongly disagree                No
## 79            Neutral                 Neutral               Yes
## 82            Neutral                Disagree               Yes
## 85     Strongly agree                Disagree               Yes
## 88            Neutral                 Neutral               Yes
## 89            Neutral                 Neutral               Yes
## 93            Neutral                   Agree               Yes
## 94     Strongly agree          Strongly agree               Yes
## 96            Neutral                 Neutral               Yes
## 111           Neutral       Strongly disagree               Yes
## 127    Strongly agree                 Neutral               Yes
## 128             Agree          Strongly agree               Yes
## 129    Strongly agree                 Neutral               Yes
## 147    Strongly agree                   Agree               Yes
## 151    Strongly agree                   Agree               Yes
## 187    Strongly agree                Disagree               Yes
## 208 Strongly disagree       Strongly disagree               Yes
## 257          Disagree                Disagree               Yes
## 294 Strongly disagree       Strongly disagree               Yes
## 305    Strongly agree          Strongly agree                No
## 310    Strongly agree                Disagree             Maybe
## 335 Strongly disagree       Strongly disagree               Yes
## 351 Strongly disagree       Strongly disagree               Yes
## 382    Strongly agree          Strongly agree                No
## 387    Strongly agree                Disagree             Maybe
##              Order.Time    Maximum.wait.time Residence.in.busy.location
## 2     Anytime (Mon-Sun)           30 minutes             Strongly Agree
## 7     Anytime (Mon-Sun)           45 minutes                      Agree
## 12  Weekend (Sat & Sun)           45 minutes             Strongly Agree
## 14  Weekend (Sat & Sun)           30 minutes                      Agree
## 21  Weekend (Sat & Sun) More than 60 minutes          Strongly disagree
## 37    Anytime (Mon-Sun)           45 minutes                    Neutral
## 47    Anytime (Mon-Sun)           45 minutes                      Agree
## 48  Weekend (Sat & Sun)           30 minutes                    Neutral
## 52    Anytime (Mon-Sun)           45 minutes                    Neutral
## 53  Weekend (Sat & Sun)           30 minutes             Strongly Agree
## 58  Weekend (Sat & Sun)           60 minutes                      Agree
## 78  Weekend (Sat & Sun)           30 minutes                      Agree
## 79  Weekend (Sat & Sun)           30 minutes             Strongly Agree
## 82  Weekend (Sat & Sun)           45 minutes                      Agree
## 85  Weekend (Sat & Sun)           30 minutes                      Agree
## 88    Anytime (Mon-Sun)           45 minutes                    Neutral
## 89    Anytime (Mon-Sun)           45 minutes                    Neutral
## 93   Weekdays (Mon-Fri)           15 minutes                      Agree
## 94    Anytime (Mon-Sun)           30 minutes             Strongly Agree
## 96    Anytime (Mon-Sun)           45 minutes                    Neutral
## 111   Anytime (Mon-Sun)           30 minutes                      Agree
## 127 Weekend (Sat & Sun)           30 minutes                   Disagree
## 128   Anytime (Mon-Sun)           30 minutes             Strongly Agree
## 129 Weekend (Sat & Sun)           30 minutes                   Disagree
## 147   Anytime (Mon-Sun)           45 minutes             Strongly Agree
## 151   Anytime (Mon-Sun)           45 minutes             Strongly Agree
## 187   Anytime (Mon-Sun)           30 minutes                      Agree
## 208   Anytime (Mon-Sun)           15 minutes          Strongly disagree
## 257 Weekend (Sat & Sun)           45 minutes                      Agree
## 294   Anytime (Mon-Sun)           45 minutes                      Agree
## 305   Anytime (Mon-Sun)           45 minutes                      Agree
## 310 Weekend (Sat & Sun)           45 minutes             Strongly Agree
## 335   Anytime (Mon-Sun)           15 minutes          Strongly disagree
## 351   Anytime (Mon-Sun)           15 minutes          Strongly disagree
## 382   Anytime (Mon-Sun)           45 minutes                      Agree
## 387 Weekend (Sat & Sun)           45 minutes             Strongly Agree
##     Google.Maps.Accuracy Good.Road.Condition Low.quantity.low.time
## 2                Neutral            Disagree     Strongly disagree
## 7         Strongly Agree            Disagree                 Agree
## 12              Disagree               Agree              Disagree
## 14               Neutral            Disagree        Strongly Agree
## 21     Strongly disagree            Disagree              Disagree
## 37                 Agree             Neutral              Disagree
## 47        Strongly Agree               Agree              Disagree
## 48              Disagree             Neutral              Disagree
## 52               Neutral             Neutral               Neutral
## 53                 Agree               Agree                 Agree
## 58        Strongly Agree               Agree               Neutral
## 78               Neutral            Disagree        Strongly Agree
## 79        Strongly Agree             Neutral        Strongly Agree
## 82        Strongly Agree      Strongly Agree     Strongly disagree
## 85                 Agree               Agree              Disagree
## 88                 Agree   Strongly disagree               Neutral
## 89                 Agree             Neutral              Disagree
## 93        Strongly Agree               Agree               Neutral
## 94        Strongly Agree             Neutral     Strongly disagree
## 96                 Agree   Strongly disagree               Neutral
## 111                Agree               Agree                 Agree
## 127                Agree               Agree                 Agree
## 128                Agree               Agree              Disagree
## 129                Agree               Agree                 Agree
## 147       Strongly Agree      Strongly Agree     Strongly disagree
## 151       Strongly Agree      Strongly Agree     Strongly disagree
## 187                Agree               Agree                 Agree
## 208    Strongly disagree   Strongly disagree     Strongly disagree
## 257       Strongly Agree            Disagree                 Agree
## 294                Agree               Agree              Disagree
## 305       Strongly Agree            Disagree                 Agree
## 310             Disagree               Agree              Disagree
## 335    Strongly disagree   Strongly disagree     Strongly disagree
## 351    Strongly disagree   Strongly disagree     Strongly disagree
## 382       Strongly Agree            Disagree                 Agree
## 387             Disagree               Agree              Disagree
##     Delivery.person.ability Influence.of.rating   Less.Delivery.time
## 2                     Agree                 Yes       Very Important
## 7            Strongly Agree                 Yes       Very Important
## 12           Strongly Agree                 Yes            Important
## 14                    Agree                 Yes            Important
## 21        Strongly disagree                 Yes            Important
## 37                    Agree               Maybe            Important
## 47                    Agree                 Yes Moderately Important
## 48                  Neutral                 Yes Moderately Important
## 52                  Neutral               Maybe            Important
## 53                    Agree                 Yes   Slightly Important
## 58                    Agree                 Yes   Slightly Important
## 78                    Agree                 Yes            Important
## 79           Strongly Agree                 Yes       Very Important
## 82           Strongly Agree                 Yes            Important
## 85                 Disagree                 Yes            Important
## 88                    Agree                 Yes            Important
## 89                    Agree               Maybe            Important
## 93                    Agree                 Yes       Very Important
## 94           Strongly Agree                 Yes       Very Important
## 96                    Agree                 Yes            Important
## 111          Strongly Agree                 Yes Moderately Important
## 127                   Agree                  No            Important
## 128          Strongly Agree                 Yes       Very Important
## 129                   Agree                  No            Important
## 147          Strongly Agree                 Yes       Very Important
## 151          Strongly Agree                 Yes       Very Important
## 187                   Agree                 Yes            Important
## 208                Disagree                  No   Slightly Important
## 257          Strongly Agree                 Yes       Very Important
## 294                 Neutral                 Yes            Important
## 305          Strongly Agree                 Yes       Very Important
## 310          Strongly Agree                 Yes            Important
## 335                Disagree                  No   Slightly Important
## 351                Disagree                  No   Slightly Important
## 382          Strongly Agree                 Yes       Very Important
## 387          Strongly Agree                 Yes            Important
##     High.Quality.of.package      Number.of.calls           Politeness
## 2            Very Important       Very Important       Very Important
## 7            Very Important          Unimportant            Important
## 12           Very Important            Important       Very Important
## 14                Important   Slightly Important Moderately Important
## 21           Very Important            Important            Important
## 37           Very Important            Important       Very Important
## 47           Very Important          Unimportant            Important
## 48       Slightly Important Moderately Important   Slightly Important
## 52                Important          Unimportant            Important
## 53                Important            Important            Important
## 58     Moderately Important          Unimportant   Slightly Important
## 78                Important   Slightly Important Moderately Important
## 79           Very Important       Very Important       Very Important
## 82           Very Important          Unimportant Moderately Important
## 85           Very Important Moderately Important Moderately Important
## 88                Important            Important       Very Important
## 89           Very Important            Important       Very Important
## 93                Important       Very Important            Important
## 94           Very Important       Very Important   Slightly Important
## 96                Important            Important       Very Important
## 111               Important       Very Important       Very Important
## 127               Important Moderately Important       Very Important
## 128          Very Important            Important       Very Important
## 129               Important Moderately Important       Very Important
## 147          Very Important       Very Important       Very Important
## 151          Very Important       Very Important       Very Important
## 187          Very Important Moderately Important            Important
## 208             Unimportant          Unimportant          Unimportant
## 257          Very Important       Very Important       Very Important
## 294               Important       Very Important       Very Important
## 305          Very Important          Unimportant            Important
## 310          Very Important            Important       Very Important
## 335             Unimportant          Unimportant          Unimportant
## 351             Unimportant          Unimportant          Unimportant
## 382          Very Important          Unimportant            Important
## 387          Very Important            Important       Very-Important
##                Freshness          Temperature         Good.Taste
## 2         Very Important       Very Important     Very Important
## 7         Very Important       Very Important     Very Important
## 12        Very Important            Important     Very Important
## 14        Very Important       Very Important     Very Important
## 21        Very Important            Important     Very Important
## 37        Very Important            Important     Very Important
## 47        Very Important            Important     Very Important
## 48    Slightly Important          Unimportant Slightly Important
## 52        Very Important       Very Important     Very Important
## 53        Very Important            Important     Very Important
## 58        Very Important       Very Important          Important
## 78        Very Important       Very Important     Very Important
## 79        Very Important       Very Important     Very Important
## 82             Important       Very Important     Very Important
## 85             Important       Very Important     Very Important
## 88        Very Important       Very Important     Very Important
## 89        Very Important            Important     Very Important
## 93  Moderately Important            Important          Important
## 94        Very Important       Very Important     Very Important
## 96        Very Important       Very Important     Very Important
## 111            Important Moderately Important     Very Important
## 127       Very Important            Important          Important
## 128       Very Important            Important     Very Important
## 129       Very Important            Important          Important
## 147       Very Important       Very Important     Very Important
## 151       Very Important       Very Important     Very Important
## 187            Important            Important     Very Important
## 208          Unimportant   Slightly Important        Unimportant
## 257            Important            Important          Important
## 294            Important            Important     Very Important
## 305       Very Important       Very Important     Very Important
## 310       Very Important            Important     Very Important
## 335          Unimportant   Slightly Important        Unimportant
## 351          Unimportant   Slightly Important        Unimportant
## 382       Very Important       Very Important     Very Important
## 387       Very Important            Important     Very Important
##            Good.Quantity Output
## 2         Very Important    Yes
## 7         Very Important    Yes
## 12        Very Important    Yes
## 14        Very Important    Yes
## 21             Important    Yes
## 37        Very Important     No
## 47        Very Important    Yes
## 48    Slightly Important    Yes
## 52        Very Important    Yes
## 53             Important    Yes
## 58        Very Important    Yes
## 78        Very Important    Yes
## 79        Very Important    Yes
## 82             Important    Yes
## 85        Very Important    Yes
## 88        Very Important    Yes
## 89        Very Important     No
## 93  Moderately Important    Yes
## 94        Very Important    Yes
## 96        Very Important    Yes
## 111       Very Important    Yes
## 127            Important    Yes
## 128       Very Important    Yes
## 129            Important    Yes
## 147       Very Important    Yes
## 151       Very Important    Yes
## 187       Very Important    Yes
## 208          Unimportant    Yes
## 257            Important     No
## 294       Very Important     No
## 305       Very Important    Yes
## 310       Very Important    Yes
## 335          Unimportant    Yes
## 351          Unimportant    Yes
## 382       Very Important    Yes
## 387       Very Important    Yes
##                                                                                                                                                    Reviews
## 2                                                                                                                                                      Nil
## 7                                                                                                                                                      Nil
## 12  Language barrier is also one major issue. Moslty these delivery boys are only familiar with Kanada which creates a problem while addressing any issue.
## 14                                                                                                                                                     Nil
## 21                                                                                                                                                     NIL
## 37                                      Now days delivery ?? is improved a lot like fast delivery ,but now corna time many people are hesitating to order 
## 47                                                                                                                                                     NIL
## 48                                                                                                                                                       -
## 52                                                                                                                                                     NiL
## 53                                                                                                                                                      No
## 58                                                                                                                                                     NIL
## 78                                                                                                                                                     Nil
## 79                                                                                                                                                     NIL
## 82                                                                                                                                                     NIL
## 85                                                                                                                                                     NIL
## 88                                                                                                                                                     NIL
## 89                                      Now days delivery ?? is improved a lot like fast delivery ,but now corna time many people are hesitating to order 
## 93                                                                                                              I love swiggy and their app user interface
## 94                                                                                                                                                     Nil
## 96                                                                                                                                                     NIL
## 111                                                                                                                                                   nil 
## 127                                                                                                                                                    NIL
## 128                                                                                                                                                   None
## 129                                                                                                                                                    NIL
## 147                                                                                                                                                   Nil 
## 151                                                                                                                                                   Nil 
## 187                                                                                                                                                    NIL
## 208                                                                                                                                                    NIL
## 257                                                                                                My order rarely gets late. But it really pissess me off
## 294                                                  poor delivery men really rushing fast to deliver the food. But there are many spillage issues as well
## 305                                                                                                                                                    Nil
## 310 Language barrier is also one major issue. Moslty these delivery boys are only familiar with Kanada which creates a problem while addressing any issue.
## 335                                                                                                                                                    NIL
## 351                                                                                                                                                    NIL
## 382                                                                                                                                                    Nil
## 387 Language barrier is also one major issue. Moslty these delivery boys are only familiar with Kanada which creates a problem while addressing any issue.
df[is.na(df$Pin.code), "Pin.code" ] <- 560009
df <- df %>%
  filter(across(everything(), ~ !is.na(.) & . != ""))
## Warning: Using `across()` in `filter()` was deprecated in dplyr 1.0.8.
## ℹ Please use `if_any()` or `if_all()` instead.
## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
## generated.
nrow(df)
## [1] 373
df[which(is.na(df), arr.ind = TRUE), ]
##  [1] Age                                      
##  [2] Gender                                   
##  [3] Marital.Status                           
##  [4] Occupation                               
##  [5] Monthly.Income                           
##  [6] Educational.Qualifications               
##  [7] Family.size                              
##  [8] latitude                                 
##  [9] longitude                                
## [10] Pin.code                                 
## [11] Medium_P1                                
## [12] Medium_P2                                
## [13] Meal_P1                                  
## [14] Meal_P2                                  
## [15] Perference_P1                            
## [16] Perference_P2                            
## [17] Ease.and.convenient                      
## [18] Time.saving                              
## [19] More.restaurant.choices                  
## [20] Easy.Payment.option                      
## [21] More.Offers.and.Discount                 
## [22] Good.Food.quality                        
## [23] Good.Tracking.system                     
## [24] Self.Cooking                             
## [25] Health.Concern                           
## [26] Late.Delivery                            
## [27] Poor.Hygiene                             
## [28] Bad.past.experience                      
## [29] Unavailability                           
## [30] Unaffordable                             
## [31] Long.delivery.time                       
## [32] Delay.of.delivery.person.getting.assigned
## [33] Delay.of.delivery.person.picking.up.food 
## [34] Wrong.order.delivered                    
## [35] Missing.item                             
## [36] Order.placed.by.mistake                  
## [37] Influence.of.time                        
## [38] Order.Time                               
## [39] Maximum.wait.time                        
## [40] Residence.in.busy.location               
## [41] Google.Maps.Accuracy                     
## [42] Good.Road.Condition                      
## [43] Low.quantity.low.time                    
## [44] Delivery.person.ability                  
## [45] Influence.of.rating                      
## [46] Less.Delivery.time                       
## [47] High.Quality.of.package                  
## [48] Number.of.calls                          
## [49] Politeness                               
## [50] Freshness                                
## [51] Temperature                              
## [52] Good.Taste                               
## [53] Good.Quantity                            
## [54] Output                                   
## [55] Reviews                                  
## <0 rows> (or 0-length row.names)

2.2 Handling outliers

Detecting and processing outliers in data. Outliers can be caused by measurement errors, data entry errors, or other anomalies. You can choose to remove outliers, use reasonable alternatives, or apply outlier processing techniques such as truncation or outlier detection.

attach(df)
df[Age > 100 | Age < 10, ]  #Check “Age” outliers
##  [1] Age                                      
##  [2] Gender                                   
##  [3] Marital.Status                           
##  [4] Occupation                               
##  [5] Monthly.Income                           
##  [6] Educational.Qualifications               
##  [7] Family.size                              
##  [8] latitude                                 
##  [9] longitude                                
## [10] Pin.code                                 
## [11] Medium_P1                                
## [12] Medium_P2                                
## [13] Meal_P1                                  
## [14] Meal_P2                                  
## [15] Perference_P1                            
## [16] Perference_P2                            
## [17] Ease.and.convenient                      
## [18] Time.saving                              
## [19] More.restaurant.choices                  
## [20] Easy.Payment.option                      
## [21] More.Offers.and.Discount                 
## [22] Good.Food.quality                        
## [23] Good.Tracking.system                     
## [24] Self.Cooking                             
## [25] Health.Concern                           
## [26] Late.Delivery                            
## [27] Poor.Hygiene                             
## [28] Bad.past.experience                      
## [29] Unavailability                           
## [30] Unaffordable                             
## [31] Long.delivery.time                       
## [32] Delay.of.delivery.person.getting.assigned
## [33] Delay.of.delivery.person.picking.up.food 
## [34] Wrong.order.delivered                    
## [35] Missing.item                             
## [36] Order.placed.by.mistake                  
## [37] Influence.of.time                        
## [38] Order.Time                               
## [39] Maximum.wait.time                        
## [40] Residence.in.busy.location               
## [41] Google.Maps.Accuracy                     
## [42] Good.Road.Condition                      
## [43] Low.quantity.low.time                    
## [44] Delivery.person.ability                  
## [45] Influence.of.rating                      
## [46] Less.Delivery.time                       
## [47] High.Quality.of.package                  
## [48] Number.of.calls                          
## [49] Politeness                               
## [50] Freshness                                
## [51] Temperature                              
## [52] Good.Taste                               
## [53] Good.Quantity                            
## [54] Output                                   
## [55] Reviews                                  
## <0 rows> (or 0-length row.names)
#The latitude and longitude of Bangalore:
##Latitude: 12.7°- 13.2°   Longitude: 77.4°--77.8°
df[latitude > 13.2 | latitude < 12.7, ]
##  [1] Age                                      
##  [2] Gender                                   
##  [3] Marital.Status                           
##  [4] Occupation                               
##  [5] Monthly.Income                           
##  [6] Educational.Qualifications               
##  [7] Family.size                              
##  [8] latitude                                 
##  [9] longitude                                
## [10] Pin.code                                 
## [11] Medium_P1                                
## [12] Medium_P2                                
## [13] Meal_P1                                  
## [14] Meal_P2                                  
## [15] Perference_P1                            
## [16] Perference_P2                            
## [17] Ease.and.convenient                      
## [18] Time.saving                              
## [19] More.restaurant.choices                  
## [20] Easy.Payment.option                      
## [21] More.Offers.and.Discount                 
## [22] Good.Food.quality                        
## [23] Good.Tracking.system                     
## [24] Self.Cooking                             
## [25] Health.Concern                           
## [26] Late.Delivery                            
## [27] Poor.Hygiene                             
## [28] Bad.past.experience                      
## [29] Unavailability                           
## [30] Unaffordable                             
## [31] Long.delivery.time                       
## [32] Delay.of.delivery.person.getting.assigned
## [33] Delay.of.delivery.person.picking.up.food 
## [34] Wrong.order.delivered                    
## [35] Missing.item                             
## [36] Order.placed.by.mistake                  
## [37] Influence.of.time                        
## [38] Order.Time                               
## [39] Maximum.wait.time                        
## [40] Residence.in.busy.location               
## [41] Google.Maps.Accuracy                     
## [42] Good.Road.Condition                      
## [43] Low.quantity.low.time                    
## [44] Delivery.person.ability                  
## [45] Influence.of.rating                      
## [46] Less.Delivery.time                       
## [47] High.Quality.of.package                  
## [48] Number.of.calls                          
## [49] Politeness                               
## [50] Freshness                                
## [51] Temperature                              
## [52] Good.Taste                               
## [53] Good.Quantity                            
## [54] Output                                   
## [55] Reviews                                  
## <0 rows> (or 0-length row.names)
df[longitude > 77.8 | longitude < 77.4, ]
##  [1] Age                                      
##  [2] Gender                                   
##  [3] Marital.Status                           
##  [4] Occupation                               
##  [5] Monthly.Income                           
##  [6] Educational.Qualifications               
##  [7] Family.size                              
##  [8] latitude                                 
##  [9] longitude                                
## [10] Pin.code                                 
## [11] Medium_P1                                
## [12] Medium_P2                                
## [13] Meal_P1                                  
## [14] Meal_P2                                  
## [15] Perference_P1                            
## [16] Perference_P2                            
## [17] Ease.and.convenient                      
## [18] Time.saving                              
## [19] More.restaurant.choices                  
## [20] Easy.Payment.option                      
## [21] More.Offers.and.Discount                 
## [22] Good.Food.quality                        
## [23] Good.Tracking.system                     
## [24] Self.Cooking                             
## [25] Health.Concern                           
## [26] Late.Delivery                            
## [27] Poor.Hygiene                             
## [28] Bad.past.experience                      
## [29] Unavailability                           
## [30] Unaffordable                             
## [31] Long.delivery.time                       
## [32] Delay.of.delivery.person.getting.assigned
## [33] Delay.of.delivery.person.picking.up.food 
## [34] Wrong.order.delivered                    
## [35] Missing.item                             
## [36] Order.placed.by.mistake                  
## [37] Influence.of.time                        
## [38] Order.Time                               
## [39] Maximum.wait.time                        
## [40] Residence.in.busy.location               
## [41] Google.Maps.Accuracy                     
## [42] Good.Road.Condition                      
## [43] Low.quantity.low.time                    
## [44] Delivery.person.ability                  
## [45] Influence.of.rating                      
## [46] Less.Delivery.time                       
## [47] High.Quality.of.package                  
## [48] Number.of.calls                          
## [49] Politeness                               
## [50] Freshness                                
## [51] Temperature                              
## [52] Good.Taste                               
## [53] Good.Quantity                            
## [54] Output                                   
## [55] Reviews                                  
## <0 rows> (or 0-length row.names)
#The Bangalore Pin.code starts with "56"
df[!grepl("^56",  Pin.code), ]  #Use regular expression screening
##  [1] Age                                      
##  [2] Gender                                   
##  [3] Marital.Status                           
##  [4] Occupation                               
##  [5] Monthly.Income                           
##  [6] Educational.Qualifications               
##  [7] Family.size                              
##  [8] latitude                                 
##  [9] longitude                                
## [10] Pin.code                                 
## [11] Medium_P1                                
## [12] Medium_P2                                
## [13] Meal_P1                                  
## [14] Meal_P2                                  
## [15] Perference_P1                            
## [16] Perference_P2                            
## [17] Ease.and.convenient                      
## [18] Time.saving                              
## [19] More.restaurant.choices                  
## [20] Easy.Payment.option                      
## [21] More.Offers.and.Discount                 
## [22] Good.Food.quality                        
## [23] Good.Tracking.system                     
## [24] Self.Cooking                             
## [25] Health.Concern                           
## [26] Late.Delivery                            
## [27] Poor.Hygiene                             
## [28] Bad.past.experience                      
## [29] Unavailability                           
## [30] Unaffordable                             
## [31] Long.delivery.time                       
## [32] Delay.of.delivery.person.getting.assigned
## [33] Delay.of.delivery.person.picking.up.food 
## [34] Wrong.order.delivered                    
## [35] Missing.item                             
## [36] Order.placed.by.mistake                  
## [37] Influence.of.time                        
## [38] Order.Time                               
## [39] Maximum.wait.time                        
## [40] Residence.in.busy.location               
## [41] Google.Maps.Accuracy                     
## [42] Good.Road.Condition                      
## [43] Low.quantity.low.time                    
## [44] Delivery.person.ability                  
## [45] Influence.of.rating                      
## [46] Less.Delivery.time                       
## [47] High.Quality.of.package                  
## [48] Number.of.calls                          
## [49] Politeness                               
## [50] Freshness                                
## [51] Temperature                              
## [52] Good.Taste                               
## [53] Good.Quantity                            
## [54] Output                                   
## [55] Reviews                                  
## <0 rows> (or 0-length row.names)
detach(df)

2.3 Handling Duplicate values

Detect and process duplicate values in data. Duplicate values may lead to bias in analysis results. Duplicate data can be processed by deleting duplicate values or merging duplicate values.

# Detects all rows in the data frame del that have the same value.
df[apply(df, 1, function(row) all(row == row[1])), ]
##  [1] Age                                      
##  [2] Gender                                   
##  [3] Marital.Status                           
##  [4] Occupation                               
##  [5] Monthly.Income                           
##  [6] Educational.Qualifications               
##  [7] Family.size                              
##  [8] latitude                                 
##  [9] longitude                                
## [10] Pin.code                                 
## [11] Medium_P1                                
## [12] Medium_P2                                
## [13] Meal_P1                                  
## [14] Meal_P2                                  
## [15] Perference_P1                            
## [16] Perference_P2                            
## [17] Ease.and.convenient                      
## [18] Time.saving                              
## [19] More.restaurant.choices                  
## [20] Easy.Payment.option                      
## [21] More.Offers.and.Discount                 
## [22] Good.Food.quality                        
## [23] Good.Tracking.system                     
## [24] Self.Cooking                             
## [25] Health.Concern                           
## [26] Late.Delivery                            
## [27] Poor.Hygiene                             
## [28] Bad.past.experience                      
## [29] Unavailability                           
## [30] Unaffordable                             
## [31] Long.delivery.time                       
## [32] Delay.of.delivery.person.getting.assigned
## [33] Delay.of.delivery.person.picking.up.food 
## [34] Wrong.order.delivered                    
## [35] Missing.item                             
## [36] Order.placed.by.mistake                  
## [37] Influence.of.time                        
## [38] Order.Time                               
## [39] Maximum.wait.time                        
## [40] Residence.in.busy.location               
## [41] Google.Maps.Accuracy                     
## [42] Good.Road.Condition                      
## [43] Low.quantity.low.time                    
## [44] Delivery.person.ability                  
## [45] Influence.of.rating                      
## [46] Less.Delivery.time                       
## [47] High.Quality.of.package                  
## [48] Number.of.calls                          
## [49] Politeness                               
## [50] Freshness                                
## [51] Temperature                              
## [52] Good.Taste                               
## [53] Good.Quantity                            
## [54] Output                                   
## [55] Reviews                                  
## <0 rows> (or 0-length row.names)

2.4 Data preprocessing

## Introduce the indicators that affect the KPI of food delivery orders:
influence = c('Ease and convenient','Time saving', 'More restaurant choices', 'Easy Payment option',
       'More Offers and Discount', 'Good Food quality', 'Good Tracking system')

not_purchase = c('Self Cooking', 'Health Concern', 'Late Delivery', 'Poor Hygiene',
       'Bad past experience', 'Unavailability', 'Unaffordable')

cancelation = c('Long delivery time', 'Delay of delivery person getting assigned',
       'Delay of delivery person picking up food', 'Wrong order delivered',
       'Missing item', 'Order placed by mistake')

delivery = c('Influence of time',
       'Order Time', 'Maximum wait time', 'Residence in busy location',
       'Google Maps Accuracy', 'Good Road Condition', 'Low quantity low time',
       'Delivery person ability', 'Less Delivery time', 'Number of calls', 'Politeness')

food = c('High Quality of package', 'Freshness ', 'Temperature', 'Good Taste ', 'Good Quantity')

2.4.1 Data conversion

Data is converted according to the requirements. This may include converting data types to the correct format, normalizing or standardizing data, numeralizing or encoding categorical variables, and so on.

df <- df[, -c(2:6,55)]   #Select the evaluation indicator column
## The correct format groups in the indicator column are:
#a.Neutral, Strongly agree, Agree, Disagree, Strongly disagree.
#b.Moderately Important, Very Important, Important, Slightly Important, Unimportant
for (col in colnames(df)) {
  unique_values <- unique(df[[col]])
  cat(col, ":", paste(unique_values, collapse = ", "), "\n")
}
## Age : 20, 24, 22, 27, 23, 21, 28, 25, 32, 30, 31, 26, 18, 19, 29 
## Family.size : 4, 3, 6, 2, 5, 1, 0 
## latitude : 12.9766, 12.977, 12.9551, 12.9473, 12.985, 12.9299, 12.9828, 12.8988, 12.9438, 12.8893, 12.9783, 12.982, 13.0298, 12.9983, 12.9925, 12.9306, 12.9353, 12.9155, 12.9854, 13.0019, 12.9698, 12.9261, 12.9119, 12.9662, 12.9565, 13.0206, 12.9635, 13.0067, 12.8845, 13.0158, 12.9343, 13.0012, 12.9442, 13.0487, 12.9889, 12.9335, 13.102, 12.9048, 12.9037, 12.9337, 13.0289, 12.9561, 12.9579, 13.014, 13.0138, 12.9537, 12.998, 13.0496, 13.0166, 13.0503, 12.9883, 13.0626, 12.957, 12.8652, 12.9757, 12.9621, 12.9217, 13.0223, 13.0262, 13.0078, 12.9105, 12.8834, 12.9149, 12.9706, 13.0103, 13.0641, 12.9369, 13.0809, 12.9859, 12.9866, 12.9847, 12.989, 12.9251, 12.9967, 13.0734, 12.9515, 12.9719 
## longitude : 77.5993, 77.5773, 77.6593, 77.5616, 77.5533, 77.6848, 77.6131, 77.5764, 77.5738, 77.6399, 77.6408, 77.6256, 77.6047, 77.6409, 77.5633, 77.5434, 77.5585, 77.5135, 77.7081, 77.5713, 77.75, 77.6221, 77.6446, 77.6068, 77.5484, 77.6479, 77.5821, 77.545, 77.6036, 77.539, 77.6044, 77.5995, 77.6076, 77.5923, 77.5741, 77.5691, 77.5864, 77.6821, 77.5376, 77.59, 77.54, 77.5921, 77.6309, 77.5658, 77.5877, 77.6176, 77.6227, 77.4941, 77.6804, 77.5529, 77.5987, 77.5284, 77.5637, 77.524, 77.5586, 77.5936, 77.7132, 77.62, 77.5577, 77.4842, 77.5486, 77.5635, 77.6529, 77.5796, 77.5931, 77.6407, 77.5565, 77.6713, 77.4904, 77.5491, 77.5332, 77.4992, 77.7582, 77.5464, 77.4921, 77.5128 
## Pin.code : 560001, 560009, 560017, 560019, 560010, 560103, 560042, 560078, 560004, 560068, 560038, 560008, 560032, 560033, 560021, 560085, 560050, 560098, 560048, 560003, 560066, 560034, 560102, 560025, 560026, 560043, 560002, 560086, 560076, 560096, 560029, 560046, 560030, 560024, 560020, 560028, 560064, 560036, 560061, 560011, 560022, 560027, 560007, 560012, 560006, 560047, 560005, 560073, 560016, 560013, 560051, 560015, 560018, 560109, 560023, 560104, 560041, 560049, 560045, 560055, 560060, 560062, 560070, 560075, 560080, 560092, 560095, 560097, 560093, 560091, 560100, 560079, 560059, 560067, 560014, 560056, 560072 
## Medium_P1 : Food delivery apps, Walk-in, Direct call, Web browser 
## Medium_P2 :  Web browser,  Direct call,  Walk-in 
## Meal_P1 : Breakfast, Snacks, Lunch, Dinner 
## Meal_P2 :  Lunch,  Dinner,  Snacks 
## Perference_P1 : Non Veg foods (Lunch / Dinner), Veg foods (Breakfast / Lunch / Dinner), Bakery items (snacks), Sweets 
## Perference_P2 :  Bakery items (snacks),  Veg foods (Breakfast / Lunch / Dinner),  Ice cream / Cool drinks,  Sweets 
## Ease.and.convenient : Neutral, Strongly agree, Agree, Strongly disagree, not agree, Disagree 
## Time.saving : Neutral, Strongly agree, Agree, Disagree, Strongly disagree 
## More.restaurant.choices : Neutral, Strongly agree, Agree, Strongly disagree, Disagree, Strongly Agree 
## Easy.Payment.option : Neutral, Strongly agree, Agree, Disagree, Strongly disagree, Neutrally, Strongly-agree 
## More.Offers.and.Discount : Neutral, Strongly agree, Agree, Disagree, Strongly disagree 
## Good.Food.quality : Neutral, Disagree, Agree, Strongly agree, Strongly disagree 
## Good.Tracking.system : Neutral, Agree, Strongly agree, Disagree, Strongly disagree 
## Self.Cooking : Neutral, Strongly agree, Disagree, Agree, Strongly disagree 
## Health.Concern : Neutral, Strongly agree, Agree, Strongly disagree, Disagree, not agree 
## Late.Delivery : Neutral, Agree, Strongly agree, Disagree, Strongly disagree, agree 
## Poor.Hygiene : Neutral, Strongly agree, Agree, Disagree, Strongly disagree 
## Bad.past.experience : Neutral, Strongly agree, Agree, Disagree, Strongly disagree, DisAgree 
## Unavailability : Neutral, Strongly agree, Agree, Disagree, Strongly disagree, Strongly-agree 
## Unaffordable : Neutral, Strongly agree, Agree, Disagree, Strongly disagree 
## Long.delivery.time : Agree, Strongly agree, Neutral, Disagree, Strongly disagree 
## Delay.of.delivery.person.getting.assigned : Agree, Strongly agree, Disagree, Neutral, Strongly disagree 
## Delay.of.delivery.person.picking.up.food : Agree, Strongly agree, Neutral, Disagree, Strongly disagree, disagree 
## Wrong.order.delivered : Agree, Strongly agree, Disagree, Neutral, Strongly disagree, agree 
## Missing.item : Agree, Strongly agree, Disagree, Neutral, Strongly disagree 
## Order.placed.by.mistake : Agree, Strongly agree, Neutral, Disagree, Strongly disagree 
## Influence.of.time : Yes, No, Maybe 
## Order.Time : Weekend (Sat & Sun), Anytime (Mon-Sun), Weekdays (Mon-Fri) 
## Maximum.wait.time : 30 minutes, 45 minutes, 60 minutes, More than 60 minutes, 15 minutes 
## Residence.in.busy.location : Agree, Strongly Agree, Disagree, Neutral, Strongly disagree 
## Google.Maps.Accuracy : Neutral, Strongly Agree, Agree, Disagree, Strongly disagree 
## Good.Road.Condition : Neutral, Disagree, Agree, Strongly Agree, Strongly disagree 
## Low.quantity.low.time : Neutral, Strongly disagree, Agree, Disagree, Strongly Agree 
## Delivery.person.ability : Neutral, Agree, Strongly Agree, Disagree, Strongly disagree 
## Influence.of.rating : Yes, Maybe, No 
## Less.Delivery.time : Moderately Important, Very Important, Important, Slightly Important, Unimportant, important 
## High.Quality.of.package : Moderately Important, Very Important, Important, Unimportant, Slightly Important 
## Number.of.calls : Moderately Important, Very Important, Unimportant, Important, Slightly Important 
## Politeness : Moderately Important, Very Important, Important, Slightly Important, Unimportant, Very-Important 
## Freshness : Moderately Important, Very Important, Important, Slightly Important, Unimportant 
## Temperature : Moderately Important, Very Important, Important, Slightly Important, Unimportant, Moderately important 
## Good.Taste : Moderately Important, Very Important, Important, Slightly Important, Unimportant 
## Good.Quantity : Moderately Important, Very Important, Important, Slightly Important, Unimportant 
## Output : Yes, No
# Format conversion A-Convert to standard format
df1<- data.frame(lapply(df, function(x) gsub("-", " ", x)))
#More.restaurant.choices    Strongly Agree
df1 <- df1 %>%
  mutate(More.restaurant.choices = ifelse(More.restaurant.choices == "Strongly Agree", "Strongly agree", More.restaurant.choices))
#Health.Concern     not agree
df1 <- df1 %>%
  mutate(Health.Concern = ifelse(Health.Concern == "not agree", "Disagree", Health.Concern))
#Ease.and.convenient         not agree
df1 <- df1 %>%
  mutate(Ease.and.convenient = ifelse(Ease.and.convenient == "not agree", "Disagree", Ease.and.convenient))
#Low.quantity.low.time    Strongly Agree        
df1 <- df1 %>%
  mutate(Low.quantity.low.time = ifelse(Low.quantity.low.time == "Strongly Agree", "Strongly agree", Low.quantity.low.time))
#Easy.Payment.option      Neutrally  Strongly-agree
df1 <- df1 %>%
  mutate(Easy.Payment.option = ifelse(Easy.Payment.option == "Neutrally", "Neutral", Easy.Payment.option))
#Bad.past.experience         DisAgree   
df1 <- df1 %>%
  mutate(Bad.past.experience = ifelse(Bad.past.experience== "DisAgree", "Disagree", Bad.past.experience))
#Unavailability      Strongly-agree     

#Delay.of.delivery.person.picking.up.food        disagree 
df1 <- df1 %>%
  mutate(Delay.of.delivery.person.picking.up.food = ifelse(Delay.of.delivery.person.picking.up.food == "disagree", "Disagree", Delay.of.delivery.person.picking.up.food))
#Late.Delivery       agree  
df1 <- df1 %>%
  mutate(Late.Delivery = ifelse(Late.Delivery == "agree", "Agree", Late.Delivery))
#Wrong.order.delivered       agree  
df1 <- df1 %>%
  mutate(Wrong.order.delivered = ifelse(Wrong.order.delivered == "agree", "Agree", Wrong.order.delivered))
#Google.Maps.Accuracy     Strongly Agree        
df1 <- df1 %>%
  mutate(Google.Maps.Accuracy  = ifelse(Google.Maps.Accuracy == "Strongly Agree", "Strongly agree", Google.Maps.Accuracy))
#Delivery.person.ability     Strongly Agree 
df1 <- df1 %>%
  mutate(Delivery.person.ability = ifelse(Delivery.person.ability == "Strongly Agree", "Strongly agree", Delivery.person.ability))
#Residence.in.busy.location      Strongly Agree         
df1 <- df1 %>%
  mutate(Residence.in.busy.location  = ifelse(Residence.in.busy.location == "Strongly Agree", "Strongly agree", Residence.in.busy.location))
#Good.Road.Condition     Strongly Agree
df1 <- df1 %>%
  mutate(Good.Road.Condition  = ifelse(Good.Road.Condition == "Strongly Agree", "Strongly agree", Good.Road.Condition))
#Less.Delivery.time      important  
df1 <- df1 %>%
  mutate(Less.Delivery.time = ifelse(Less.Delivery.time == "important", "Important", Less.Delivery.time))
#Politeness      Very-Important     

#Temperature     Moderately important 
df1 <- df1 %>%
  mutate(Temperature = ifelse(Temperature == "Moderately important", "Moderately Important", Temperature))

df <- df1
## Format conversion B-Comments conversion
# According:c('Strongly disagree', 'Disagree', 'Neutral', 'Agree', 'Strongly agree')= c(1, 2, 3, 4, 5)  ;  c('Unimportant', 'Slightly Important', 'Important', 'Moderately Important', 'Very Important') = c(1, 2, 3, 4, 5)
# Transform the comments in order to construct the judgment matrix.
df2 <- df

replacement1 <- c('Strongly disagree' = 1, 'Disagree' = 2, 'Neutral' = 3, 'Agree' = 4, 'Strongly agree' = 5)
replacement2 <- c('Unimportant' = 1, 'Slightly Important' = 2, 'Important' = 3, 'Moderately Important' = 4, 'Very Important' = 5)
replacement3 <- c("Yes" = 1, "No" = 0, "Maybe" = 2)

df2 <- df2 %>%
  mutate_all(~ ifelse(. %in% names(replacement1), replacement1[.], .))
df2 <- df2 %>%
  mutate_all(~ ifelse(. %in% names(replacement2), replacement2[.], .))
df2 <- df2 %>%
  mutate_all(~ ifelse(. %in% names(replacement3), replacement3[.], .))
df <- df2
df
##     Age Family.size latitude longitude Pin.code          Medium_P1    Medium_P2
## 1    20           4  12.9766   77.5993   560001 Food delivery apps  Web browser
## 2    24           3   12.977   77.5773   560009 Food delivery apps  Web browser
## 3    22           3  12.9551   77.6593   560017 Food delivery apps  Direct call
## 4    22           6  12.9473   77.5616   560019 Food delivery apps      Walk in
## 5    22           4   12.985   77.5533   560010            Walk in  Direct call
## 6    27           2  12.9299   77.6848   560103 Food delivery apps      Walk in
## 7    22           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 8    24           3  12.9828   77.6131   560042 Food delivery apps  Direct call
## 9    23           2  12.9766   77.5993   560001 Food delivery apps  Direct call
## 10   23           2   12.977   77.5773   560009 Food delivery apps      Walk in
## 11   23           5  12.8988   77.5764   560078            Walk in  Direct call
## 12   21           4   12.977   77.5773   560009            Walk in  Direct call
## 13   23           5  12.9438   77.5738   560004 Food delivery apps      Walk in
## 14   24           6  12.8893   77.6399   560068 Food delivery apps      Walk in
## 15   28           2  12.9783   77.6408   560038            Walk in  Direct call
## 16   23           3   12.982   77.6256   560008 Food delivery apps      Walk in
## 17   25           4  12.8988   77.5764   560078 Food delivery apps      Walk in
## 18   21           1  12.9783   77.6408   560038 Food delivery apps  Direct call
## 19   24           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 20   22           4  13.0298   77.6047   560032 Food delivery apps  Direct call
## 21   22           4  12.9983   77.6409   560033 Food delivery apps  Direct call
## 22   23           4  12.9925   77.5633   560021 Food delivery apps      Walk in
## 23   21           3  12.9306   77.5434   560085            Walk in  Direct call
## 24   25           3   12.982   77.6256   560008            Walk in  Direct call
## 25   22           5  12.9353   77.5585   560050 Food delivery apps  Direct call
## 26   22           0  12.9155   77.5135   560098 Food delivery apps      Walk in
## 27   23           3  12.9854   77.7081   560048            Walk in  Direct call
## 28   22           4  13.0019   77.5713   560003            Walk in  Direct call
## 29   22           5  12.9698     77.75   560066 Food delivery apps  Direct call
## 30   22           4  12.9783   77.6408   560038 Food delivery apps  Direct call
## 31   25           4  12.9261   77.6221   560034 Food delivery apps  Direct call
## 32   22           5   12.985   77.5533   560010            Walk in  Direct call
## 33   22           2  12.9119   77.6446   560102 Food delivery apps  Direct call
## 34   25           3  12.9306   77.5434   560085 Food delivery apps      Walk in
## 35   25           5   12.977   77.5773   560009 Food delivery apps      Walk in
## 36   32           5   12.982   77.6256   560008 Food delivery apps  Web browser
## 37   23           3  12.9438   77.5738   560004 Food delivery apps      Walk in
## 38   23           4  12.8988   77.5764   560078            Walk in  Direct call
## 39   30           4  12.9662   77.6068   560025 Food delivery apps  Web browser
## 40   23           3  12.9565   77.5484   560026 Food delivery apps      Walk in
## 41   23           4  12.9925   77.5633   560021 Food delivery apps  Direct call
## 42   22           5   12.985   77.5533   560010            Walk in  Direct call
## 43   22           5   12.985   77.5533   560010 Food delivery apps      Walk in
## 44   27           2  12.9261   77.6221   560034 Food delivery apps  Direct call
## 45   24           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 46   23           2   12.977   77.5773   560009 Food delivery apps      Walk in
## 47   23           0   12.982   77.6256   560008 Food delivery apps      Walk in
## 48   22           5   12.985   77.5533   560010            Walk in  Direct call
## 49   23           5  13.0206   77.6479   560043 Food delivery apps  Direct call
## 50   23           2   12.977   77.5773   560009 Food delivery apps  Direct call
## 51   24           3   12.977   77.5773   560009 Food delivery apps      Walk in
## 52   25           2  12.9635   77.5821   560002            Walk in  Direct call
## 53   22           3  12.9306   77.5434   560085 Food delivery apps  Direct call
## 54   28           2  13.0067    77.545   560086 Food delivery apps  Direct call
## 55   22           1  12.8845   77.6036   560076 Food delivery apps      Walk in
## 56   24           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 57   31           5  12.9119   77.6446   560102            Walk in  Direct call
## 58   25           4  13.0067    77.545   560086 Food delivery apps      Walk in
## 59   23           5  12.8988   77.5764   560078 Food delivery apps      Walk in
## 60   22           3  12.8845   77.6036   560076 Food delivery apps      Walk in
## 61   23           1  13.0158    77.539   560096 Food delivery apps      Walk in
## 62   23           4  12.9343   77.6044   560029 Food delivery apps  Direct call
## 63   23           2  13.0019   77.5713   560003 Food delivery apps      Walk in
## 64   25           6  13.0012   77.5995   560046 Food delivery apps      Walk in
## 65   24           4  12.9442   77.6076   560030 Food delivery apps  Web browser
## 66   23           4  13.0487   77.5923   560024 Food delivery apps  Direct call
## 67   23           4  13.0487   77.5923   560024 Food delivery apps  Direct call
## 68   24           4  12.9438   77.5738   560004 Food delivery apps  Direct call
## 69   22           4  12.9889   77.5741   560020 Food delivery apps  Direct call
## 70   24           3  12.9335   77.5691   560028 Food delivery apps  Direct call
## 71   25           3  12.9766   77.5993   560001 Food delivery apps  Direct call
## 72   23           2  12.8845   77.6036   560076 Food delivery apps  Direct call
## 73   26           4  13.0019   77.5713   560003            Walk in  Direct call
## 74   24           3   13.102   77.5864   560064            Walk in  Direct call
## 75   26           0  12.9048   77.6821   560036 Food delivery apps  Direct call
## 76   21           4   12.977   77.5773   560009            Walk in  Direct call
## 77   22           3   12.977   77.5773   560009 Food delivery apps      Walk in
## 78   24           4  12.9037   77.5376   560061 Food delivery apps      Walk in
## 79   23           3   12.977   77.5773   560009 Food delivery apps      Walk in
## 80   23           3  12.9343   77.6044   560029 Food delivery apps  Direct call
## 81   22           3  12.9438   77.5738   560004 Food delivery apps  Direct call
## 82   23           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 83   24           4  12.9783   77.6408   560038 Food delivery apps      Walk in
## 84   24           5  12.9337     77.59   560011 Food delivery apps  Direct call
## 85   25           1   12.977   77.5773   560009 Food delivery apps      Walk in
## 86   25           5   12.977   77.5773   560009 Food delivery apps      Walk in
## 87   28           2  13.0289     77.54   560022 Food delivery apps  Direct call
## 88   27           5  13.0289     77.54   560022 Food delivery apps  Web browser
## 89   26           1  12.9698     77.75   560066 Food delivery apps  Web browser
## 90   22           2   12.977   77.5773   560009 Food delivery apps      Walk in
## 91   24           3   12.977   77.5773   560009 Food delivery apps      Walk in
## 92   23           1  12.9561   77.5921   560027            Walk in  Direct call
## 93   25           1   12.977   77.5773   560009 Food delivery apps      Walk in
## 94   23           5  13.0206   77.6479   560043 Food delivery apps  Direct call
## 95   23           5  13.0206   77.6479   560043 Food delivery apps  Direct call
## 96   26           5  12.9579   77.6309   560007 Food delivery apps  Direct call
## 97   32           3   13.014   77.5658   560012 Food delivery apps  Direct call
## 98   24           3  12.9335   77.5691   560028 Food delivery apps  Direct call
## 99   23           2  12.9442   77.6076   560030 Food delivery apps      Walk in
## 100  22           3  12.9698     77.75   560066 Food delivery apps  Direct call
## 101  24           3  12.9438   77.5738   560004 Food delivery apps  Direct call
## 102  26           2  12.9261   77.6221   560034 Food delivery apps      Walk in
## 103  28           3  12.9698     77.75   560066 Food delivery apps  Web browser
## 104  26           2  12.9698     77.75   560066 Food delivery apps      Walk in
## 105  25           1  12.9343   77.6044   560029 Food delivery apps  Direct call
## 106  18           5  12.9635   77.5821   560002 Food delivery apps  Web browser
## 107  21           4   12.977   77.5773   560009 Food delivery apps      Walk in
## 108  25           1  12.9343   77.6044   560029 Food delivery apps  Direct call
## 109  25           2  12.9925   77.5633   560021            Walk in  Direct call
## 110  23           5  13.0206   77.6479   560043 Food delivery apps  Direct call
## 111  23           2   12.985   77.5533   560010 Food delivery apps  Direct call
## 112  25           4  12.9551   77.6593   560017 Food delivery apps  Direct call
## 113  31           5  13.0289     77.54   560022 Food delivery apps  Web browser
## 114  24           2  13.0138   77.5877   560006 Food delivery apps  Direct call
## 115  32           5  12.9261   77.6221   560034 Food delivery apps  Web browser
## 116  24           6  12.9635   77.5821   560002 Food delivery apps  Direct call
## 117  27           3  12.9635   77.5821   560002 Food delivery apps  Web browser
## 118  23           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 119  25           4   12.977   77.5773   560009 Food delivery apps  Direct call
## 120  23           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 121  23           4  13.0487   77.5923   560024 Food delivery apps  Direct call
## 122  28           3  13.0019   77.5713   560003 Food delivery apps  Direct call
## 123  23           2  13.0019   77.5713   560003 Food delivery apps  Direct call
## 124  19           2  13.0019   77.5713   560003 Food delivery apps  Web browser
## 125  19           4  12.9537   77.6176   560047 Food delivery apps      Walk in
## 126  27           2  12.9698     77.75   560066 Food delivery apps      Walk in
## 127  26           3   12.998   77.6227   560005 Food delivery apps  Web browser
## 128  22           4  12.9343   77.6044   560029 Food delivery apps  Direct call
## 129  23           3   13.102   77.5864   560064 Food delivery apps      Walk in
## 130  22           3  13.0158    77.539   560096 Food delivery apps      Walk in
## 131  25           2   12.998   77.6227   560005 Food delivery apps  Web browser
## 132  30           5   12.998   77.6227   560005 Food delivery apps  Direct call
## 133  25           3  13.0138   77.5877   560006 Food delivery apps  Web browser
## 134  23           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 135  24           4  13.0496   77.4941   560073 Food delivery apps  Direct call
## 136  32           4  12.9783   77.6408   560038 Food delivery apps      Walk in
## 137  22           4  12.9889   77.5741   560020 Food delivery apps  Direct call
## 138  23           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 139  23           4  13.0487   77.5923   560024 Food delivery apps  Direct call
## 140  20           2  12.9579   77.6309   560007 Food delivery apps  Direct call
## 141  21           2  12.9579   77.6309   560007 Food delivery apps  Web browser
## 142  23           4  13.0487   77.5923   560024 Food delivery apps  Direct call
## 143  25           3   12.985   77.5533   560010 Food delivery apps  Web browser
## 144  32           3   12.985   77.5533   560010        Direct call  Web browser
## 145  27           5   12.985   77.5533   560010 Food delivery apps  Web browser
## 146  20           2  12.9337     77.59   560011 Food delivery apps  Web browser
## 147  21           2  12.9337     77.59   560011 Food delivery apps      Walk in
## 148  26           3  12.9337     77.59   560011 Food delivery apps      Walk in
## 149  25           4  13.0166   77.6804   560016 Food delivery apps  Direct call
## 150  26           3   13.014   77.5658   560012 Food delivery apps  Direct call
## 151  26           3   13.014   77.5658   560012 Food delivery apps  Direct call
## 152  27           4  13.0503   77.5529   560013 Food delivery apps      Walk in
## 153  27           5  13.0503   77.5529   560013 Food delivery apps      Walk in
## 154  24           5  12.9883   77.5987   560051 Food delivery apps      Walk in
## 155  25           2  13.0626   77.5284   560015 Food delivery apps  Direct call
## 156  20           2  13.0626   77.5284   560015 Food delivery apps  Direct call
## 157  22           1  13.0626   77.5284   560015 Food delivery apps      Walk in
## 158  26           3  13.0166   77.6804   560016 Food delivery apps  Web browser
## 159  27           1  13.0166   77.6804   560016 Food delivery apps      Walk in
## 160  25           3  12.9551   77.6593   560017 Food delivery apps  Web browser
## 161  24           2  12.9551   77.6593   560017 Food delivery apps  Direct call
## 162  23           6  12.9551   77.6593   560017 Food delivery apps  Direct call
## 163  22           2   12.957   77.5637   560018 Food delivery apps  Direct call
## 164  26           3   12.957   77.5637   560018 Food delivery apps      Walk in
## 165  26           1   12.957   77.5637   560018 Food delivery apps  Web browser
## 166  25           3   12.957   77.5637   560018 Food delivery apps  Web browser
## 167  29           3   12.957   77.5637   560018 Food delivery apps      Walk in
## 168  23           3  12.8652    77.524   560109        Direct call      Walk in
## 169  22           4  12.9698     77.75   560066 Food delivery apps  Direct call
## 170  22           2  12.9889   77.5741   560020 Food delivery apps      Walk in
## 171  32           5  12.9889   77.5741   560020 Food delivery apps  Direct call
## 172  28           1  12.9925   77.5633   560021 Food delivery apps      Walk in
## 173  22           2   12.977   77.5773   560009 Food delivery apps  Direct call
## 174  25           2  12.9757   77.5586   560023 Food delivery apps  Web browser
## 175  26           2  12.9757   77.5586   560023 Food delivery apps  Web browser
## 176  31           6  13.0487   77.5923   560024 Food delivery apps  Direct call
## 177  24           3  13.0487   77.5923   560024 Food delivery apps  Direct call
## 178  24           2  12.9662   77.6068   560025 Food delivery apps  Web browser
## 179  31           5  12.9662   77.6068   560025 Food delivery apps      Walk in
## 180  26           2  12.9343   77.6044   560029 Food delivery apps  Direct call
## 181  24           2  12.9343   77.6044   560029 Food delivery apps  Direct call
## 182  22           3  12.9343   77.6044   560029 Food delivery apps  Web browser
## 183  19           6  12.9442   77.6076   560030 Food delivery apps  Direct call
## 184  25           6  12.9442   77.6076   560030 Food delivery apps  Direct call
## 185  23           6  12.9442   77.6076   560030 Food delivery apps  Direct call
## 186  23           2  13.0298   77.6047   560032 Food delivery apps  Direct call
## 187  23           2  12.9261   77.6221   560034 Food delivery apps  Web browser
## 188  24           5  12.9621   77.5376   560104 Food delivery apps  Direct call
## 189  22           4  12.8845   77.6036   560076 Food delivery apps      Walk in
## 190  26           4  12.9048   77.6821   560036 Food delivery apps  Web browser
## 191  25           3  12.9048   77.6821   560036 Food delivery apps  Web browser
## 192  20           2  12.9261   77.6221   560034 Food delivery apps  Direct call
## 193  29           4  12.9261   77.6221   560034 Food delivery apps  Direct call
## 194  23           1   12.977   77.5773   560009 Food delivery apps  Direct call
## 195  25           2  12.9783   77.6408   560038 Food delivery apps      Walk in
## 196  29           4  12.9783   77.6408   560038 Food delivery apps      Walk in
## 197  27           6  12.9217   77.5936   560041 Food delivery apps      Walk in
## 198  25           3  13.0206   77.6479   560043 Food delivery apps      Walk in
## 199  21           2  13.0012   77.5995   560046 Food delivery apps  Direct call
## 200  23           3  13.0223   77.7132   560049 Food delivery apps  Web browser
## 201  24           4  12.9337     77.59   560011 Food delivery apps  Direct call
## 202  32           3   12.982   77.6256   560008 Food delivery apps      Walk in
## 203  28           5  13.0262     77.62   560045 Food delivery apps      Walk in
## 204  26           2  12.9217   77.5936   560041 Food delivery apps      Walk in
## 205  31           5  13.0078   77.5577   560055 Food delivery apps      Walk in
## 206  27           3  13.0078   77.5577   560055 Food delivery apps  Web browser
## 207  21           1  12.9217   77.5936   560041 Food delivery apps      Walk in
## 208  23           2  12.9105   77.4842   560060 Food delivery apps  Web browser
## 209  26           4  12.9105   77.4842   560060 Food delivery apps      Walk in
## 210  32           5  12.9037   77.5376   560061        Web browser      Walk in
## 211  25           2  12.8834   77.5486   560062 Food delivery apps  Web browser
## 212  28           2  12.9149   77.5635   560070 Food delivery apps  Direct call
## 213  21           3  12.9149   77.5635   560070 Food delivery apps      Walk in
## 214  24           2  12.9706   77.6529   560075 Food delivery apps  Direct call
## 215  26           5  12.9706   77.6529   560075 Food delivery apps  Direct call
## 216  32           3  12.9706   77.6529   560075 Food delivery apps  Direct call
## 217  29           6  12.8845   77.6036   560076 Food delivery apps  Web browser
## 218  21           5  12.9783   77.6408   560038 Food delivery apps  Web browser
## 219  24           3  13.0103   77.5796   560080 Food delivery apps  Direct call
## 220  26           2  13.0103   77.5796   560080 Food delivery apps  Direct call
## 221  25           3  12.9306   77.5434   560085 Food delivery apps  Web browser
## 222  29           3  13.0641   77.5931   560092 Food delivery apps  Web browser
## 223  22           3  13.0158    77.539   560096 Food delivery apps  Web browser
## 224  24           2  12.9561   77.5921   560027        Direct call  Direct call
## 225  27           2  12.8845   77.6036   560076 Food delivery apps  Web browser
## 226  23           3  12.9369   77.6407   560095 Food delivery apps  Web browser
## 227  32           6  12.9369   77.6407   560095 Food delivery apps      Walk in
## 228  22           2  12.9369   77.6407   560095 Food delivery apps  Direct call
## 229  28           3  12.9369   77.6407   560095 Food delivery apps  Web browser
## 230  23           2  13.0158    77.539   560096 Food delivery apps  Direct call
## 231  30           1  13.0809   77.5565   560097 Food delivery apps  Direct call
## 232  21           3  13.0641   77.5931   560092 Food delivery apps  Direct call
## 233  26           6  12.9859   77.6713   560093 Food delivery apps  Direct call
## 234  25           3  12.9859   77.6713   560093 Food delivery apps  Direct call
## 235  31           1  12.9866   77.4904   560091 Food delivery apps  Direct call
## 236  23           2  12.9847   77.5491   560100 Food delivery apps      Walk in
## 237  29           3  12.9847   77.5491   560100 Food delivery apps  Direct call
## 238  21           6  12.9847   77.5491   560100 Food delivery apps  Direct call
## 239  20           3  12.9299   77.6848   560103 Food delivery apps  Direct call
## 240  22           2  12.9299   77.6848   560103 Food delivery apps  Direct call
## 241  30           6  12.9828   77.6131   560042 Food delivery apps  Web browser
## 242  27           3   12.989   77.5332   560079 Food delivery apps  Direct call
## 243  23           2   12.977   77.5773   560009 Food delivery apps  Direct call
## 244  30           6  12.9251   77.4992   560059 Food delivery apps  Direct call
## 245  23           3  12.9967   77.7582   560067 Food delivery apps  Web browser
## 246  28           6  12.9967   77.7582   560067 Food delivery apps  Direct call
## 247  30           6  12.9967   77.7582   560067 Food delivery apps  Direct call
## 248  24           2   12.957   77.5637   560018 Food delivery apps  Direct call
## 249  21           2   12.957   77.5637   560018 Food delivery apps  Direct call
## 250  23           3  12.9889   77.5741   560020 Food delivery apps  Direct call
## 251  25           4  13.0206   77.6479   560043 Food delivery apps      Walk in
## 252  24           2  12.8893   77.6399   560068 Food delivery apps  Direct call
## 253  26           3  12.8893   77.6399   560068 Food delivery apps  Direct call
## 254  25           2  12.9967   77.7582   560067 Food delivery apps  Direct call
## 255  22           3  12.9783   77.6408   560038 Food delivery apps  Direct call
## 256  26           2  12.9783   77.6408   560038 Food delivery apps  Direct call
## 257  23           2  12.9925   77.5633   560021 Food delivery apps  Direct call
## 258  21           2  12.9925   77.5633   560021 Food delivery apps      Walk in
## 259  25           3  12.9561   77.5921   560027 Food delivery apps  Direct call
## 260  24           2  12.9561   77.5921   560027 Food delivery apps  Direct call
## 261  22           2  13.0734   77.5464   560014 Food delivery apps  Direct call
## 262  23           4  13.0487   77.5923   560024 Food delivery apps  Direct call
## 263  24           3  12.9515   77.4921   560056 Food delivery apps  Direct call
## 264  22           2  12.9515   77.4921   560056        Web browser      Walk in
## 265  30           5  12.9719   77.5128   560072 Food delivery apps  Direct call
## 266  23           4  12.9048   77.6821   560036 Food delivery apps  Direct call
## 267  19           6  12.9048   77.6821   560036 Food delivery apps  Direct call
## 268  21           2  13.0103   77.5796   560080 Food delivery apps  Web browser
## 269  23           4  13.0103   77.5796   560080 Food delivery apps  Direct call
## 270  24           3  12.8893   77.6399   560068 Food delivery apps  Direct call
## 271  26           2  12.9828   77.6131   560042 Food delivery apps  Direct call
## 272  26           2  12.9757   77.5586   560023 Food delivery apps  Direct call
## 273  25           2  12.9757   77.5586   560023 Food delivery apps  Direct call
## 274  28           5  12.9757   77.5586   560023 Food delivery apps      Walk in
## 275  20           2  13.0734   77.5464   560014 Food delivery apps      Walk in
## 276  27           6  13.0734   77.5464   560014 Food delivery apps  Direct call
## 277  25           3  13.0626   77.5284   560015 Food delivery apps      Walk in
## 278  24           5  13.0626   77.5284   560015 Food delivery apps  Direct call
## 279  25           1   12.977   77.5773   560009 Food delivery apps  Direct call
## 280  25           3   12.998   77.6227   560005 Food delivery apps  Direct call
## 281  24           5  13.0626   77.5284   560015 Food delivery apps  Direct call
## 282  24           3  13.0626   77.5284   560015 Food delivery apps  Direct call
## 283  22           1  13.0138   77.5877   560006 Food delivery apps  Direct call
## 284  28           2  13.0138   77.5877   560006 Food delivery apps  Direct call
## 285  25           6   13.014   77.5658   560012 Food delivery apps  Direct call
## 286  22           3  12.9551   77.6593   560017 Food delivery apps  Direct call
## 287  22           6  12.9473   77.5616   560019 Food delivery apps      Walk in
## 288  22           4   12.985   77.5533   560010            Walk in  Direct call
## 289  27           2  12.9299   77.6848   560103 Food delivery apps      Walk in
## 290  22           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 291  24           3  12.9828   77.6131   560042 Food delivery apps  Direct call
## 292  23           2  12.9766   77.5993   560001 Food delivery apps  Direct call
## 293  23           4  12.9854   77.7081   560048 Food delivery apps      Walk in
## 294  22           5   12.985   77.5533   560010 Food delivery apps  Direct call
## 295  23           2   12.977   77.5773   560009 Food delivery apps      Walk in
## 296  32           5  12.9037   77.5376   560061        Web browser      Walk in
## 297  25           2  12.8834   77.5486   560062 Food delivery apps  Web browser
## 298  28           2  12.9149   77.5635   560070 Food delivery apps  Direct call
## 299  21           3  12.9149   77.5635   560070 Food delivery apps      Walk in
## 300  24           2  12.9706   77.6529   560075 Food delivery apps  Direct call
## 301  26           5  12.9706   77.6529   560075 Food delivery apps  Direct call
## 302  32           3  12.9706   77.6529   560075 Food delivery apps  Direct call
## 303  29           6  12.8845   77.6036   560076 Food delivery apps  Web browser
## 304  21           5  12.9783   77.6408   560038 Food delivery apps  Web browser
## 305  24           3  13.0103   77.5796   560080 Food delivery apps  Direct call
## 306  26           2  13.0103   77.5796   560080 Food delivery apps  Direct call
## 307  21           3  12.9306   77.5434   560085 Food delivery apps  Web browser
## 308  29           3  13.0641   77.5931   560092 Food delivery apps  Web browser
## 309  22           3  13.0158    77.539   560096 Food delivery apps  Web browser
## 310  24           2  12.9561   77.5921   560027        Direct call  Direct call
## 311  27           2  12.8845   77.6036   560076 Food delivery apps  Web browser
## 312  23           3  12.9369   77.6407   560095 Food delivery apps  Web browser
## 313  32           6  12.9369   77.6407   560095 Food delivery apps      Walk in
## 314  22           2  12.9369   77.6407   560095 Food delivery apps  Direct call
## 315  22           4  12.8845   77.6036   560076 Food delivery apps      Walk in
## 316  26           4  12.9048   77.6821   560036 Food delivery apps  Web browser
## 317  25           3  12.9048   77.6821   560036 Food delivery apps  Web browser
## 318  20           2  12.9261   77.6221   560034 Food delivery apps  Direct call
## 319  29           4  12.9261   77.6221   560034 Food delivery apps  Direct call
## 320  23           1   12.977   77.5773   560009 Food delivery apps  Direct call
## 321  25           2  12.9783   77.6408   560038 Food delivery apps      Walk in
## 322  29           4  12.9783   77.6408   560038 Food delivery apps      Walk in
## 323  27           6  12.9217   77.5936   560041 Food delivery apps      Walk in
## 324  25           3  13.0206   77.6479   560043 Food delivery apps      Walk in
## 325  21           2  13.0012   77.5995   560046 Food delivery apps  Direct call
## 326  23           3  13.0223   77.7132   560049 Food delivery apps  Web browser
## 327  24           4  12.9337     77.59   560011 Food delivery apps  Direct call
## 328  22           3   12.982   77.6256   560008 Food delivery apps      Walk in
## 329  28           5  13.0262     77.62   560045 Food delivery apps      Walk in
## 330  26           2  12.9217   77.5936   560041 Food delivery apps      Walk in
## 331  22           4  12.8845   77.6036   560076 Food delivery apps      Walk in
## 332  26           4  12.9048   77.6821   560036 Food delivery apps  Web browser
## 333  25           3  12.9048   77.6821   560036 Food delivery apps  Web browser
## 334  20           2  12.9261   77.6221   560034 Food delivery apps  Direct call
## 335  29           4  12.9261   77.6221   560034 Food delivery apps  Direct call
## 336  23           1   12.977   77.5773   560009 Food delivery apps  Direct call
## 337  25           2  12.9783   77.6408   560038 Food delivery apps      Walk in
## 338  29           4  12.9783   77.6408   560038 Food delivery apps      Walk in
## 339  27           6  12.9217   77.5936   560041 Food delivery apps      Walk in
## 340  25           3  13.0206   77.6479   560043 Food delivery apps      Walk in
## 341  21           2  13.0012   77.5995   560046 Food delivery apps  Direct call
## 342  24           2  12.9706   77.6529   560075 Food delivery apps  Direct call
## 343  26           5  12.9706   77.6529   560075 Food delivery apps  Direct call
## 344  32           3  12.9706   77.6529   560075 Food delivery apps  Direct call
## 345  29           6  12.8845   77.6036   560076 Food delivery apps  Web browser
## 346  21           5  12.9783   77.6408   560038 Food delivery apps  Web browser
## 347  24           3  13.0103   77.5796   560080 Food delivery apps  Direct call
## 348  26           2  13.0103   77.5796   560080 Food delivery apps  Direct call
## 349  31           3  12.9306   77.5434   560085 Food delivery apps  Web browser
## 350  29           3  13.0641   77.5931   560092 Food delivery apps  Web browser
## 351  22           3  13.0158    77.539   560096 Food delivery apps  Web browser
## 352  24           2  12.9561   77.5921   560027        Direct call  Direct call
## 353  27           2  12.8845   77.6036   560076 Food delivery apps  Web browser
## 354  23           3  12.9369   77.6407   560095 Food delivery apps  Web browser
## 355  30           6  12.9369   77.6407   560095 Food delivery apps      Walk in
## 356  22           2  12.9369   77.6407   560095 Food delivery apps  Direct call
## 357  28           3  12.9369   77.6407   560095 Food delivery apps  Web browser
## 358  23           2  13.0158    77.539   560096 Food delivery apps  Direct call
## 359  30           1  13.0809   77.5565   560097 Food delivery apps  Direct call
## 360  21           3  13.0641   77.5931   560092 Food delivery apps  Direct call
## 361  26           6  12.9859   77.6713   560093 Food delivery apps  Direct call
## 362  25           3  12.9859   77.6713   560093 Food delivery apps  Direct call
## 363  31           1  12.9866   77.4904   560091 Food delivery apps  Direct call
## 364  23           2  12.9847   77.5491   560100 Food delivery apps      Walk in
## 365  22           4   12.985   77.5533   560010            Walk in  Direct call
## 366  27           2  12.9299   77.6848   560103 Food delivery apps      Walk in
## 367  22           3   12.977   77.5773   560009 Food delivery apps  Direct call
## 368  24           3  12.9828   77.6131   560042 Food delivery apps  Direct call
## 369  23           2  12.9766   77.5993   560001 Food delivery apps  Direct call
## 370  23           4  12.9854   77.7081   560048 Food delivery apps      Walk in
## 371  22           5   12.985   77.5533   560010 Food delivery apps  Direct call
## 372  23           2   12.977   77.5773   560009 Food delivery apps      Walk in
## 373  23           5  12.8988   77.5764   560078            Walk in  Direct call
##       Meal_P1 Meal_P2                          Perference_P1
## 1   Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 2      Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 3       Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 4      Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 5       Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 6       Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 7       Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 8      Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 9      Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 10      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 11     Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 12     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 13     Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 14      Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 15     Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 16      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 17      Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 18     Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 19     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 20     Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 21     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 22      Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 23  Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 24     Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 25      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 26     Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 27     Snacks  Dinner                  Bakery items (snacks)
## 28     Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 29      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 30      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 31      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 32     Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 33      Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 34      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 35      Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 36  Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 37     Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 38  Breakfast  Dinner         Non Veg foods (Lunch / Dinner)
## 39      Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 40     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 41      Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 42     Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 43      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 44  Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 45     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 46     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 47      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 48     Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 49      Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 50      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 51     Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 52      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 53      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 54      Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 55      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 56      Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 57     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 58     Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 59      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 60      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 61      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 62      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 63      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 64     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 65      Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 66     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 67     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 68     Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 69      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 70     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 71     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 72  Breakfast   Lunch Veg foods (Breakfast / Lunch / Dinner)
## 73     Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 74     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 75      Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 76     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 77      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 78      Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 79     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 80      Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 81  Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 82     Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 83      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 84     Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 85     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 86      Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 87  Breakfast  Dinner         Non Veg foods (Lunch / Dinner)
## 88      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 89      Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 90     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 91  Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 92      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 93     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 94      Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 95      Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 96      Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 97     Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 98     Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 99  Breakfast  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 100     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 101     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 102     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 103     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 104    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 105    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 106    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 107     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 108    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 109    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 110     Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 111     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 112    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 113 Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 114     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 115 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 116    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 117 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 118    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 119     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 120    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 121    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 122    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 123 Breakfast  Dinner         Non Veg foods (Lunch / Dinner)
## 124    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 125    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 126     Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 127 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 128     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 129     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 130    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 131 Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 132    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 133 Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 134    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 135     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 136    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 137    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 138    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 139    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 140 Breakfast  Dinner         Non Veg foods (Lunch / Dinner)
## 141 Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 142    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 143    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 144    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 145    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 146    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 147 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 148    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 149     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 150    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 151 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 152     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 153 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 154 Breakfast  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 155    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 156    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 157    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 158    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 159 Breakfast  Dinner         Non Veg foods (Lunch / Dinner)
## 160 Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 161    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 162    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 163    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 164    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 165    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 166    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 167 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 168    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 169     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 170 Breakfast  Dinner         Non Veg foods (Lunch / Dinner)
## 171    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 172 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 173     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 174     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 175    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 176    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 177 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 178    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 179 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 180     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 181 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 182 Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 183    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 184    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 185    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 186    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 187 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 188 Breakfast  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 189     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 190    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 191    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 192     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 193    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 194 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 195    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 196     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 197    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 198    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 199    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 200 Breakfast  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 201    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 202    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 203    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 204    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 205     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 206    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 207     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 208    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 209    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 210    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 211    Snacks  Dinner                                 Sweets
## 212    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 213 Breakfast  Dinner         Non Veg foods (Lunch / Dinner)
## 214     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 215    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 216    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 217    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 218     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 219    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 220    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 221     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 222    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 223    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 224    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 225    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 226    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 227     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 228 Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 229    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 230    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 231    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 232    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 233    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 234    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 235     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 236    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 237    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 238 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 239    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 240    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 241     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 242    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 243     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 244    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 245    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 246    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 247     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 248    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 249    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 250     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 251    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 252    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 253     Lunch  Snacks                                 Sweets
## 254    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 255    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 256 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 257    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 258    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 259     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 260 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 261    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 262    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 263    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 264    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 265 Breakfast  Dinner         Non Veg foods (Lunch / Dinner)
## 266     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 267    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 268 Breakfast   Lunch Veg foods (Breakfast / Lunch / Dinner)
## 269    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 270    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 271     Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 272    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 273    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 274     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 275    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 276 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 277    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 278 Breakfast   Lunch Veg foods (Breakfast / Lunch / Dinner)
## 279     Lunch  Snacks Veg foods (Breakfast / Lunch / Dinner)
## 280    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 281    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 282    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 283     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 284     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 285    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 286     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 287    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 288     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 289     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 290     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 291    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 292    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 293     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 294    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 295     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 296    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 297    Snacks  Dinner                                 Sweets
## 298    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 299 Breakfast  Dinner         Non Veg foods (Lunch / Dinner)
## 300     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 301    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 302    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 303    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 304     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 305    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 306    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 307     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 308    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 309    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 310    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 311    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 312    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 313     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 314 Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 315     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 316    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 317    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 318     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 319    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 320 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 321    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 322     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 323    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 324    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 325    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 326 Breakfast  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 327    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 328    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 329    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 330    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 331     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 332    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 333    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 334     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 335    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 336 Breakfast   Lunch         Non Veg foods (Lunch / Dinner)
## 337    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 338     Lunch  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 339    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 340    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 341    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 342     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 343    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 344    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 345    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 346     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 347    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 348    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 349     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 350    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 351    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 352    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 353    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 354    Snacks  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 355     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 356 Breakfast  Snacks         Non Veg foods (Lunch / Dinner)
## 357    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 358    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 359    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 360    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 361    Dinner  Dinner Veg foods (Breakfast / Lunch / Dinner)
## 362    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 363     Lunch  Snacks         Non Veg foods (Lunch / Dinner)
## 364    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 365     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 366     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 367     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 368    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 369    Dinner  Dinner         Non Veg foods (Lunch / Dinner)
## 370     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 371    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
## 372     Lunch  Dinner         Non Veg foods (Lunch / Dinner)
## 373    Snacks  Dinner         Non Veg foods (Lunch / Dinner)
##                               Perference_P2 Ease.and.convenient Time.saving
## 1                     Bakery items (snacks)                   3           3
## 2    Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 3                   Ice cream / Cool drinks                   5           5
## 4                     Bakery items (snacks)                   4           4
## 5    Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 6    Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 7    Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 8                   Ice cream / Cool drinks                   5           4
## 9    Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 10   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 11                    Bakery items (snacks)                   4           3
## 12   Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 13                                   Sweets                   4           4
## 14   Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 15   Veg foods (Breakfast / Lunch / Dinner)                   3           3
## 16   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 17   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 18   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 19   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 20   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 21   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 22                  Ice cream / Cool drinks                   4           4
## 23   Veg foods (Breakfast / Lunch / Dinner)                   5           2
## 24   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 25   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 26                                   Sweets                   4           4
## 27   Veg foods (Breakfast / Lunch / Dinner)                   3           4
## 28   Veg foods (Breakfast / Lunch / Dinner)                   1           1
## 29   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 30   Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 31   Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 32   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 33                  Ice cream / Cool drinks                   5           5
## 34   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 35                                   Sweets                   5           4
## 36                                   Sweets                   4           4
## 37   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 38   Veg foods (Breakfast / Lunch / Dinner)                   2           4
## 39                                   Sweets                   4           5
## 40   Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 41   Veg foods (Breakfast / Lunch / Dinner)                   4           2
## 42                    Bakery items (snacks)                   4           4
## 43                  Ice cream / Cool drinks                   4           4
## 44   Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 45   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 46   Veg foods (Breakfast / Lunch / Dinner)                   3           2
## 47   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 48   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 49                  Ice cream / Cool drinks                   5           4
## 50   Veg foods (Breakfast / Lunch / Dinner)                   3           3
## 51                  Ice cream / Cool drinks                   4           5
## 52   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 53                                   Sweets                   4           4
## 54                                   Sweets                   5           5
## 55   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 56                    Bakery items (snacks)                   5           4
## 57   Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 58   Veg foods (Breakfast / Lunch / Dinner)                   5           3
## 59                  Ice cream / Cool drinks                   5           5
## 60   Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 61   Veg foods (Breakfast / Lunch / Dinner)                   3           1
## 62                  Ice cream / Cool drinks                   5           5
## 63   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 64                  Ice cream / Cool drinks                   4           3
## 65                    Bakery items (snacks)                   3           3
## 66   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 67   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 68                                   Sweets                   5           5
## 69                                   Sweets                   2           1
## 70                                   Sweets                   4           3
## 71   Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 72                    Bakery items (snacks)                   4           4
## 73   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 74   Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 75   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 76   Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 77                  Ice cream / Cool drinks                   5           5
## 78   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 79                  Ice cream / Cool drinks                   3           4
## 80   Veg foods (Breakfast / Lunch / Dinner)                   3           3
## 81   Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 82   Veg foods (Breakfast / Lunch / Dinner)                   5           3
## 83                  Ice cream / Cool drinks                   5           3
## 84                    Bakery items (snacks)                   4           4
## 85   Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 86                                   Sweets                   5           4
## 87                  Ice cream / Cool drinks                   2           3
## 88                    Bakery items (snacks)                   4           4
## 89   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 90   Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 91   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 92   Veg foods (Breakfast / Lunch / Dinner)                   3           3
## 93   Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 94                  Ice cream / Cool drinks                   5           4
## 95                  Ice cream / Cool drinks                   5           4
## 96   Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 97                                   Sweets                   1           2
## 98                                   Sweets                   4           3
## 99   Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 100  Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 101  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 102                 Ice cream / Cool drinks                   4           3
## 103                                  Sweets                   3           4
## 104  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 105  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 106                 Ice cream / Cool drinks                   4           5
## 107  Veg foods (Breakfast / Lunch / Dinner)                   1           2
## 108  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 109  Veg foods (Breakfast / Lunch / Dinner)                   5           2
## 110                 Ice cream / Cool drinks                   5           4
## 111                                  Sweets                   4           4
## 112                 Ice cream / Cool drinks                   2           1
## 113  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 114  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 115  Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 116                                  Sweets                   2           2
## 117  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 118  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 119                 Ice cream / Cool drinks                   5           5
## 120  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 121  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 122  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 123  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 124  Veg foods (Breakfast / Lunch / Dinner)                   4           2
## 125                                  Sweets                   5           5
## 126                 Ice cream / Cool drinks                   4           3
## 127  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 128                                  Sweets                   5           3
## 129  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 130                                  Sweets                   5           5
## 131  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 132  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 133  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 134  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 135  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 136  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 137  Veg foods (Breakfast / Lunch / Dinner)                   3           3
## 138  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 139  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 140  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 141  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 142  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 143  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 144  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 145                 Ice cream / Cool drinks                   4           2
## 146                 Ice cream / Cool drinks                   5           4
## 147  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 148  Veg foods (Breakfast / Lunch / Dinner)                   2           1
## 149  Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 150  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 151  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 152  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 153  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 154                                  Sweets                   4           5
## 155  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 156  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 157  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 158                                  Sweets                   4           4
## 159  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 160  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 161  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 162  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 163  Veg foods (Breakfast / Lunch / Dinner)                   2           1
## 164  Veg foods (Breakfast / Lunch / Dinner)                   1           1
## 165  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 166  Veg foods (Breakfast / Lunch / Dinner)                   2           3
## 167  Veg foods (Breakfast / Lunch / Dinner)                   3           2
## 168  Veg foods (Breakfast / Lunch / Dinner)                   4           1
## 169  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 170  Veg foods (Breakfast / Lunch / Dinner)                   2           3
## 171  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 172  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 173  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 174  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 175                                  Sweets                   2           2
## 176  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 177  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 178                                  Sweets                   4           5
## 179                                  Sweets                   4           5
## 180                 Ice cream / Cool drinks                   2           2
## 181  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 182  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 183  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 184  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 185  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 186  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 187  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 188  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 189  Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 190  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 191  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 192  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 193  Veg foods (Breakfast / Lunch / Dinner)                   2           4
## 194  Veg foods (Breakfast / Lunch / Dinner)                   1           3
## 195  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 196                                  Sweets                   2           3
## 197  Veg foods (Breakfast / Lunch / Dinner)                   4           2
## 198  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 199  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 200                                  Sweets                   4           5
## 201                 Ice cream / Cool drinks                   4           4
## 202  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 203  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 204  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 205  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 206  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 207  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 208  Veg foods (Breakfast / Lunch / Dinner)                   4           1
## 209  Veg foods (Breakfast / Lunch / Dinner)                   4           2
## 210  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 211                 Ice cream / Cool drinks                   4           2
## 212  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 213  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 214  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 215                                  Sweets                   2           2
## 216  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 217  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 218  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 219                                  Sweets                   2           2
## 220  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 221  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 222  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 223  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 224  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 225  Veg foods (Breakfast / Lunch / Dinner)                   4           2
## 226                                  Sweets                   2           3
## 227  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 228  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 229  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 230  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 231  Veg foods (Breakfast / Lunch / Dinner)                   3           2
## 232  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 233                                  Sweets                   2           2
## 234  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 235  Veg foods (Breakfast / Lunch / Dinner)                   3           2
## 236  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 237  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 238  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 239  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 240  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 241  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 242  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 243  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 244  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 245  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 246  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 247                                  Sweets                   4           4
## 248  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 249  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 250  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 251  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 252  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 253                 Ice cream / Cool drinks                   2           2
## 254  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 255  Veg foods (Breakfast / Lunch / Dinner)                   2           4
## 256  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 257  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 258  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 259  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 260  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 261                                  Sweets                   4           4
## 262  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 263                   Bakery items (snacks)                   4           4
## 264  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 265  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 266                 Ice cream / Cool drinks                   4           4
## 267  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 268                 Ice cream / Cool drinks                   4           5
## 269  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 270  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 271                                  Sweets                   2           2
## 272  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 273  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 274  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 275  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 276  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 277  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 278                                  Sweets                   2           2
## 279                                  Sweets                   2           2
## 280  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 281  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 282  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 283                                  Sweets                   4           4
## 284  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 285  Veg foods (Breakfast / Lunch / Dinner)                   1           2
## 286                 Ice cream / Cool drinks                   5           5
## 287                   Bakery items (snacks)                   4           4
## 288  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 289  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 290  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 291                 Ice cream / Cool drinks                   5           4
## 292  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 293  Veg foods (Breakfast / Lunch / Dinner)                   3           3
## 294  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 295  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 296  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 297                 Ice cream / Cool drinks                   4           2
## 298  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 299  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 300  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 301                                  Sweets                   2           2
## 302  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 303  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 304  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 305                                  Sweets                   2           2
## 306  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 307  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 308  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 309  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 310  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 311  Veg foods (Breakfast / Lunch / Dinner)                   4           2
## 312                                  Sweets                   2           3
## 313  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 314  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 315  Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 316  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 317  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 318  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 319  Veg foods (Breakfast / Lunch / Dinner)                   2           4
## 320  Veg foods (Breakfast / Lunch / Dinner)                   1           3
## 321  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 322                                  Sweets                   2           3
## 323  Veg foods (Breakfast / Lunch / Dinner)                   4           2
## 324  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 325  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 326                                  Sweets                   4           5
## 327                 Ice cream / Cool drinks                   4           4
## 328  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 329  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 330  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 331  Veg foods (Breakfast / Lunch / Dinner)                   5           4
## 332  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 333  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 334  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 335  Veg foods (Breakfast / Lunch / Dinner)                   2           4
## 336  Veg foods (Breakfast / Lunch / Dinner)                   1           3
## 337  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 338                                  Sweets                   2           3
## 339  Veg foods (Breakfast / Lunch / Dinner)                   4           2
## 340  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 341  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 342  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 343                                  Sweets                   2           2
## 344  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 345  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 346  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 347                                  Sweets                   2           2
## 348  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 349  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 350  Veg foods (Breakfast / Lunch / Dinner)                   2           2
## 351  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 352  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 353  Veg foods (Breakfast / Lunch / Dinner)                   4           2
## 354                                  Sweets                   2           3
## 355  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 356  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 357  Veg foods (Breakfast / Lunch / Dinner)                   4           5
## 358  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 359  Veg foods (Breakfast / Lunch / Dinner)                   3           2
## 360  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 361                                  Sweets                   2           2
## 362  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 363  Veg foods (Breakfast / Lunch / Dinner)                   3           2
## 364  Veg foods (Breakfast / Lunch / Dinner)                   4           3
## 365  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 366  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 367  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 368                 Ice cream / Cool drinks                   5           4
## 369  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 370  Veg foods (Breakfast / Lunch / Dinner)                   3           3
## 371  Veg foods (Breakfast / Lunch / Dinner)                   4           4
## 372  Veg foods (Breakfast / Lunch / Dinner)                   5           5
## 373                   Bakery items (snacks)                   4           3
##     More.restaurant.choices Easy.Payment.option More.Offers.and.Discount
## 1                         3                   3                        3
## 2                         5                   5                        5
## 3                         5                   3                        3
## 4                         5                   4                        5
## 5                         4                   4                        4
## 6                         3                   4                        4
## 7                         4                   5                        4
## 8                         4                   4                        4
## 9                         5                   4                        4
## 10                        5                   5                        4
## 11                        4                   4                        4
## 12                        5                   5                        5
## 13                        5                   4                        3
## 14                        5                   5                        3
## 15                        3                   4                        3
## 16                        4                   2                        2
## 17                        5                   5                        5
## 18                        1                   4                        1
## 19                        4                   4                        4
## 20                        4                   5                        4
## 21                        4                   4                        4
## 22                        4                   4                        2
## 23                        4                   5                        5
## 24                        4                   4                        2
## 25                        4                   4                        4
## 26                        4                   4                        2
## 27                        4                   3                        3
## 28                        1                   1                        2
## 29                        4                   4                        4
## 30                        4                   4                        4
## 31                        4                   3                        4
## 32                        4                   4                        5
## 33                        4                   2                        2
## 34                        4                   4                        3
## 35                        5                   5                        5
## 36                        4                   3                        2
## 37                        4                   4                        4
## 38                        4                   4                        4
## 39                        4                   2                        3
## 40                        5                   5                        4
## 41                        4                   4                        4
## 42                        4                   4                        2
## 43                        4                   4                        4
## 44                        5                   5                        4
## 45                        4                   3                        4
## 46                        3                   2                        3
## 47                        4                   2                        2
## 48                        4                   4                        5
## 49                        4                   3                        4
## 50                        3                   3                        3
## 51                        3                   5                        4
## 52                        4                   4                        4
## 53                        5                   4                        4
## 54                        5                   5                        5
## 55                        3                   3                        4
## 56                        5                   5                        4
## 57                        3                   3                        2
## 58                        5                   5                        5
## 59                        5                   5                        5
## 60                        5                   5                        4
## 61                        1                   1                        1
## 62                        5                   5                        1
## 63                        5                   5                        5
## 64                        4                   4                        3
## 65                        2                   3                        2
## 66                        5                   3                        3
## 67                        5                   3                        3
## 68                        5                   5                        5
## 69                        4                   3                        2
## 70                        5                   5                        5
## 71                        5                   2                        3
## 72                        5                   5                        5
## 73                        5                   5                        5
## 74                        3                   5                        3
## 75                        4                   4                        4
## 76                        5                   5                        5
## 77                        5                   5                        5
## 78                        5                   5                        4
## 79                        5                   5                        2
## 80                        3                   3                        3
## 81                        3                   3                        5
## 82                        4                   5                        5
## 83                        4                   4                        4
## 84                        4                   4                        4
## 85                        5                   4                        5
## 86                        5                   5                        5
## 87                        2                   2                        2
## 88                        2                   5                        1
## 89                        2                   4                        3
## 90                        5                   5                        3
## 91                        5                   5                        5
## 92                        4                   2                        2
## 93                        5                   4                        5
## 94                        4                   3                        4
## 95                        4                   3                        4
## 96                        5                   5                        3
## 97                        2                   2                        2
## 98                        5                   5                        5
## 99                        4                   5                        4
## 100                       5                   3                        5
## 101                       5                   4                        3
## 102                       4                   2                        4
## 103                       4                   4                        3
## 104                       5                   4                        2
## 105                       5                   5                        5
## 106                       4                   3                        4
## 107                       2                   2                        2
## 108                       5                   5                        5
## 109                       4                   5                        3
## 110                       4                   3                        4
## 111                       3                   4                        4
## 112                       1                   1                        2
## 113                       4                   5                        4
## 114                       2                   1                        2
## 115                       5                   5                        4
## 116                       2                   2                        1
## 117                       5                   5                        4
## 118                       4                   4                        3
## 119                       5                   5                        5
## 120                       4                   4                        3
## 121                       5                   3                        3
## 122                       4                   5                        5
## 123                       4                   5                        5
## 124                       4                   3                        2
## 125                       5                   5                        5
## 126                       2                   3                        3
## 127                       4                   5                        5
## 128                       4                   4                        4
## 129                       4                   4                        4
## 130                       5                   5                        5
## 131                       2                   2                        3
## 132                       5                   5                        5
## 133                       4                   5                        5
## 134                       4                   5                        5
## 135                       4                   4                        3
## 136                       3                   3                        4
## 137                       3                   3                        4
## 138                       4                   5                        5
## 139                       5                   3                        3
## 140                       4                   5                        5
## 141                       5                   4                        5
## 142                       5                   3                        3
## 143                       4                   5                        5
## 144                       5                   5                        4
## 145                       3                   2                        3
## 146                       5                   4                        5
## 147                       5                   4                        5
## 148                       2                   1                        2
## 149                       5                   5                        5
## 150                       4                   5                        5
## 151                       4                   5                        4
## 152                       4                   4                        4
## 153                       1                   2                        1
## 154                       4                   3                        2
## 155                       5                   4                        5
## 156                       1                   2                        2
## 157                       4                   5                        4
## 158                       4                   4                        3
## 159                       4                   4                        4
## 160                       5                   4                        5
## 161                       4                   5                        5
## 162                       4                   4                        4
## 163                       2                   1                        2
## 164                       2                   1                        2
## 165                       4                   4                        4
## 166                       4                   4                        2
## 167                       3                   3                        2
## 168                       3                   2                        4
## 169                       3                   2                        4
## 170                       2                   2                        3
## 171                       4                   5                        5
## 172                       4                   5                        4
## 173                       4                   4                        4
## 174                       4                   4                        3
## 175                       2                   2                        3
## 176                       4                   4                        4
## 177                       4                   4                        4
## 178                       4                   5                        4
## 179                       4                   4                        5
## 180                       3                   2                        1
## 181                       3                   4                        4
## 182                       3                   4                        4
## 183                       4                   5                        5
## 184                       5                   4                        3
## 185                       4                   4                        4
## 186                       1                   2                        2
## 187                       4                   5                        4
## 188                       4                   3                        3
## 189                       3                   3                        4
## 190                       4                   4                        5
## 191                       5                   4                        5
## 192                       4                   4                        5
## 193                       4                   2                        1
## 194                       1                   1                        1
## 195                       5                   4                        4
## 196                       2                   3                        1
## 197                       4                   3                        4
## 198                       4                   4                        4
## 199                       3                   2                        3
## 200                       4                   4                        5
## 201                       4                   3                        2
## 202                       5                   5                        3
## 203                       4                   4                        4
## 204                       4                   3                        3
## 205                       4                   4                        3
## 206                       5                   4                        4
## 207                       3                   5                        3
## 208                       2                   2                        2
## 209                       2                   2                        3
## 210                       3                   3                        4
## 211                       4                   3                        3
## 212                       4                   5                        5
## 213                       4                   3                        4
## 214                       5                   4                        3
## 215                       3                   4                        2
## 216                       4                   5                        4
## 217                       3                   2                        4
## 218                       4                   4                        5
## 219                       2                   3                        4
## 220                       5                   3                        5
## 221                       4                   4                        3
## 222                       2                   1                        2
## 223                       4                   3                        3
## 224                       3                   3                        3
## 225                       4                   3                        5
## 226                       3                   2                        2
## 227                       2                   3                        3
## 228                       4                   5                        5
## 229                       4                   4                        4
## 230                       4                   5                        4
## 231                       2                   2                        2
## 232                       5                   4                        3
## 233                       2                   1                        1
## 234                       5                   4                        5
## 235                       2                   2                        2
## 236                       4                   4                        5
## 237                       4                   4                        5
## 238                       5                   4                        4
## 239                       5                   4                        5
## 240                       5                   4                        5
## 241                       2                   1                        2
## 242                       4                   4                        5
## 243                       4                   4                        4
## 244                       3                   2                        2
## 245                       4                   5                        5
## 246                       3                   2                        1
## 247                       5                   4                        3
## 248                       3                   3                        2
## 249                       1                   2                        2
## 250                       5                   4                        5
## 251                       5                   4                        5
## 252                       5                   4                        5
## 253                       1                   1                        2
## 254                       4                   4                        4
## 255                       2                   4                        3
## 256                       3                   4                        5
## 257                       1                   2                        2
## 258                       1                   2                        1
## 259                       4                   5                        4
## 260                       5                   4                        3
## 261                       5                   4                        4
## 262                       5                   3                        3
## 263                       5                   4                        4
## 264                       4                   3                        4
## 265                       4                   2                        2
## 266                       5                   4                        4
## 267                       3                   4                        4
## 268                       4                   5                        5
## 269                       3                   2                        2
## 270                       5                   4                        4
## 271                       2                   1                        1
## 272                       5                   5                        4
## 273                       4                   4                        4
## 274                       2                   1                        1
## 275                       5                   2                        2
## 276                       2                   1                        2
## 277                       2                   1                        2
## 278                       2                   1                        2
## 279                       2                   2                        3
## 280                       3                   1                        2
## 281                       5                   5                        4
## 282                       4                   5                        4
## 283                       5                   4                        4
## 284                       1                   2                        2
## 285                       2                   2                        1
## 286                       5                   3                        3
## 287                       5                   4                        5
## 288                       4                   4                        4
## 289                       3                   4                        4
## 290                       4                   5                        4
## 291                       4                   4                        4
## 292                       5                   4                        4
## 293                       3                   3                        3
## 294                       4                   4                        4
## 295                       5                   5                        4
## 296                       3                   3                        4
## 297                       4                   3                        3
## 298                       4                   5                        5
## 299                       4                   3                        4
## 300                       5                   4                        3
## 301                       3                   4                        2
## 302                       4                   5                        4
## 303                       3                   2                        4
## 304                       4                   4                        5
## 305                       2                   3                        4
## 306                       5                   3                        5
## 307                       4                   4                        3
## 308                       2                   1                        2
## 309                       4                   3                        3
## 310                       3                   3                        3
## 311                       4                   3                        5
## 312                       3                   2                        2
## 313                       2                   3                        3
## 314                       4                   5                        5
## 315                       3                   3                        4
## 316                       4                   4                        5
## 317                       5                   4                        5
## 318                       4                   4                        5
## 319                       4                   2                        1
## 320                       1                   1                        1
## 321                       5                   4                        4
## 322                       2                   3                        1
## 323                       4                   3                        4
## 324                       4                   4                        4
## 325                       3                   2                        3
## 326                       4                   4                        5
## 327                       4                   3                        2
## 328                       5                   5                        3
## 329                       4                   4                        4
## 330                       4                   3                        3
## 331                       3                   3                        4
## 332                       4                   4                        5
## 333                       5                   4                        5
## 334                       4                   4                        5
## 335                       4                   2                        1
## 336                       1                   1                        1
## 337                       5                   4                        4
## 338                       2                   3                        1
## 339                       4                   3                        4
## 340                       4                   4                        4
## 341                       3                   2                        3
## 342                       5                   4                        3
## 343                       3                   4                        2
## 344                       4                   5                        4
## 345                       3                   2                        4
## 346                       4                   4                        5
## 347                       2                   3                        4
## 348                       5                   3                        5
## 349                       4                   4                        3
## 350                       2                   1                        2
## 351                       4                   3                        3
## 352                       3                   3                        3
## 353                       4                   3                        5
## 354                       3                   2                        2
## 355                       2                   3                        3
## 356                       4                   5                        5
## 357                       4                   4                        4
## 358                       4                   5                        4
## 359                       2                   2                        2
## 360                       5                   4                        3
## 361                       2                   1                        1
## 362                       5                   4                        5
## 363                       2                   2                        2
## 364                       4                   4                        5
## 365                       4                   4                        4
## 366                       3                   4                        4
## 367                       4                   5                        4
## 368                       4                   4                        4
## 369                       5                   4                        4
## 370                       3                   3                        3
## 371                       4                   4                        4
## 372                       5                   5                        4
## 373                       4                   4                        4
##     Good.Food.quality Good.Tracking.system Self.Cooking Health.Concern
## 1                   3                    3            3              3
## 2                   3                    4            5              5
## 3                   2                    3            2              3
## 4                   4                    4            4              5
## 5                   3                    3            4              5
## 6                   3                    4            2              3
## 7                   3                    4            2              4
## 8                   4                    4            4              4
## 9                   3                    4            4              4
## 10                  4                    5            4              5
## 11                  2                    4            3              4
## 12                  5                    5            2              5
## 13                  3                    3            4              5
## 14                  4                    5            5              5
## 15                  3                    4            2              3
## 16                  2                    4            3              3
## 17                  5                    5            3              4
## 18                  3                    4            3              1
## 19                  4                    4            2              2
## 20                  4                    4            4              3
## 21                  4                    4            2              5
## 22                  4                    4            3              4
## 23                  4                    4            5              5
## 24                  3                    3            3              4
## 25                  4                    4            2              4
## 26                  3                    4            2              5
## 27                  3                    3            3              3
## 28                  3                    3            3              3
## 29                  3                    4            4              3
## 30                  3                    3            3              4
## 31                  2                    3            4              4
## 32                  5                    4            4              5
## 33                  2                    5            2              4
## 34                  3                    4            1              2
## 35                  5                    5            4              5
## 36                  4                    4            4              2
## 37                  3                    2            4              5
## 38                  3                    3            4              3
## 39                  4                    3            4              5
## 40                  4                    4            4              4
## 41                  3                    3            5              5
## 42                  3                    4            5              5
## 43                  2                    3            2              2
## 44                  3                    2            5              5
## 45                  3                    4            3              5
## 46                  3                    4            3              2
## 47                  2                    4            3              3
## 48                  5                    4            4              5
## 49                  3                    3            4              3
## 50                  3                    3            3              3
## 51                  3                    3            2              4
## 52                  4                    4            1              1
## 53                  4                    5            3              3
## 54                  5                    5            5              3
## 55                  3                    3            5              4
## 56                  3                    3            4              4
## 57                  3                    3            5              4
## 58                  3                    4            2              3
## 59                  4                    4            3              3
## 60                  3                    4            4              3
## 61                  1                    3            1              1
## 62                  3                    4            5              5
## 63                  3                    4            5              5
## 64                  3                    4            4              4
## 65                  1                    1            2              3
## 66                  5                    5            3              2
## 67                  5                    5            3              2
## 68                  5                    4            4              5
## 69                  2                    4            2              3
## 70                  4                    4            5              4
## 71                  2                    3            4              4
## 72                  3                    3            2              3
## 73                  3                    5            1              3
## 74                  3                    5            4              5
## 75                  4                    4            4              5
## 76                  5                    5            2              5
## 77                  5                    5            3              3
## 78                  4                    4            4              4
## 79                  5                    5            2              4
## 80                  3                    1            1              1
## 81                  3                    4            3              3
## 82                  3                    4            3              2
## 83                  3                    5            3              2
## 84                  3                    3            3              3
## 85                  3                    4            5              5
## 86                  5                    5            4              5
## 87                  1                    3            1              2
## 88                  2                    5            4              4
## 89                  2                    3            4              3
## 90                  5                    4            5              5
## 91                  5                    5            5              5
## 92                  3                    2            3              5
## 93                  3                    4            5              5
## 94                  3                    3            4              3
## 95                  3                    3            4              3
## 96                  4                    5            4              3
## 97                  1                    2            5              5
## 98                  4                    4            5              4
## 99                  3                    4            3              4
## 100                 4                    3            3              5
## 101                 4                    4            1              4
## 102                 4                    3            1              3
## 103                 4                    5            2              4
## 104                 4                    5            2              5
## 105                 3                    4            3              5
## 106                 5                    5            4              3
## 107                 2                    2            3              4
## 108                 3                    4            3              5
## 109                 3                    4            3              4
## 110                 3                    3            4              3
## 111                 3                    2            4              3
## 112                 3                    1            4              4
## 113                 5                    4            4              4
## 114                 1                    2            4              4
## 115                 4                    5            4              2
## 116                 2                    1            4              5
## 117                 5                    5            2              2
## 118                 3                    4            4              4
## 119                 5                    5            2              2
## 120                 3                    4            4              4
## 121                 5                    5            3              2
## 122                 4                    5            1              2
## 123                 5                    4            4              5
## 124                 2                    4            2              1
## 125                 3                    4            3              4
## 126                 3                    3            3              5
## 127                 4                    5            2              2
## 128                 3                    4            4              3
## 129                 4                    4            4              5
## 130                 4                    5            5              4
## 131                 2                    4            4              5
## 132                 5                    5            4              2
## 133                 4                    5            2              2
## 134                 4                    5            4              3
## 135                 4                    3            3              5
## 136                 2                    3            4              4
## 137                 2                    4            2              3
## 138                 4                    5            4              3
## 139                 5                    5            3              2
## 140                 5                    5            3              2
## 141                 5                    5            2              1
## 142                 5                    5            3              2
## 143                 2                    2            2              2
## 144                 3                    3            4              4
## 145                 2                    1            4              4
## 146                 5                    5            2              4
## 147                 5                    5            2              1
## 148                 1                    2            4              5
## 149                 4                    5            4              3
## 150                 5                    4            2              1
## 151                 4                    4            4              4
## 152                 4                    4            3              4
## 153                 2                    2            4              3
## 154                 4                    5            4              4
## 155                 4                    5            2              2
## 156                 2                    2            4              4
## 157                 5                    5            2              2
## 158                 3                    4            2              2
## 159                 4                    4            2              2
## 160                 4                    5            2              1
## 161                 5                    5            2              2
## 162                 5                    4            2              2
## 163                 2                    2            4              4
## 164                 1                    1            4              5
## 165                 4                    3            2              2
## 166                 4                    4            2              2
## 167                 2                    3            4              4
## 168                 2                    3            4              4
## 169                 2                    3            4              5
## 170                 3                    2            4              4
## 171                 4                    4            4              4
## 172                 4                    5            2              2
## 173                 4                    4            3              4
## 174                 2                    4            4              4
## 175                 3                    2            4              4
## 176                 5                    4            4              4
## 177                 4                    4            2              2
## 178                 5                    4            2              3
## 179                 4                    4            2              3
## 180                 2                    3            4              4
## 181                 4                    4            2              2
## 182                 4                    4            1              1
## 183                 5                    5            4              2
## 184                 4                    3            2              4
## 185                 5                    4            4              4
## 186                 2                    1            4              4
## 187                 4                    5            2              2
## 188                 3                    3            2              4
## 189                 3                    4            4              5
## 190                 4                    5            2              2
## 191                 4                    5            2              2
## 192                 4                    5            2              2
## 193                 2                    5            4              5
## 194                 1                    1            2              2
## 195                 5                    4            4              4
## 196                 4                    4            4              4
## 197                 4                    5            4              4
## 198                 4                    4            2              2
## 199                 2                    4            4              4
## 200                 4                    5            2              2
## 201                 3                    3            4              4
## 202                 3                    5            2              3
## 203                 3                    3            2              2
## 204                 4                    5            2              2
## 205                 4                    4            4              4
## 206                 3                    4            2              2
## 207                 3                    4            1              2
## 208                 4                    3            2              3
## 209                 4                    4            2              2
## 210                 4                    4            2              2
## 211                 4                    4            2              3
## 212                 5                    5            4              2
## 213                 3                    3            4              4
## 214                 4                    5            2              2
## 215                 3                    4            4              4
## 216                 3                    2            2              2
## 217                 4                    4            2              2
## 218                 4                    3            4              3
## 219                 4                    4            4              2
## 220                 4                    4            2              2
## 221                 4                    4            3              2
## 222                 2                    1            4              3
## 223                 4                    5            4              5
## 224                 3                    3            1              2
## 225                 3                    4            2              2
## 226                 3                    1            4              4
## 227                 4                    3            4              4
## 228                 5                    5            2              2
## 229                 4                    5            2              2
## 230                 4                    5            3              3
## 231                 4                    4            2              4
## 232                 4                    3            2              2
## 233                 2                    4            4              4
## 234                 5                    5            4              2
## 235                 4                    4            4              4
## 236                 4                    5            2              2
## 237                 5                    5            2              2
## 238                 5                    4            2              2
## 239                 4                    4            2              2
## 240                 5                    5            2              2
## 241                 1                    4            4              4
## 242                 5                    5            2              3
## 243                 5                    4            2              2
## 244                 4                    2            4              4
## 245                 5                    4            2              2
## 246                 4                    4            4              4
## 247                 3                    4            2              2
## 248                 4                    4            2              2
## 249                 2                    1            2              1
## 250                 4                    5            4              4
## 251                 5                    5            2              2
## 252                 4                    5            2              3
## 253                 1                    2            4              4
## 254                 5                    4            2              3
## 255                 4                    4            2              3
## 256                 5                    4            2              2
## 257                 3                    2            4              4
## 258                 1                    1            2              2
## 259                 3                    4            3              2
## 260                 4                    5            4              3
## 261                 5                    4            4              5
## 262                 5                    5            3              2
## 263                 4                    5            4              3
## 264                 4                    4            4              2
## 265                 4                    4            4              4
## 266                 5                    5            2              3
## 267                 2                    4            2              4
## 268                 5                    5            2              4
## 269                 1                    2            4              4
## 270                 5                    5            2              2
## 271                 1                    1            4              4
## 272                 5                    5            2              4
## 273                 4                    4            2              2
## 274                 2                    2            4              4
## 275                 2                    4            4              4
## 276                 1                    1            4              4
## 277                 2                    2            2              3
## 278                 2                    1            4              4
## 279                 2                    2            4              4
## 280                 3                    2            1              4
## 281                 5                    5            2              2
## 282                 4                    4            2              1
## 283                 5                    5            2              3
## 284                 1                    2            4              4
## 285                 4                    4            4              4
## 286                 2                    3            2              3
## 287                 4                    4            4              5
## 288                 3                    3            4              5
## 289                 3                    4            2              3
## 290                 3                    4            2              4
## 291                 4                    4            4              4
## 292                 3                    4            4              4
## 293                 3                    3            4              4
## 294                 3                    4            4              5
## 295                 4                    5            4              5
## 296                 4                    4            2              2
## 297                 4                    4            2              3
## 298                 5                    5            4              2
## 299                 3                    3            4              4
## 300                 4                    5            2              2
## 301                 3                    4            4              4
## 302                 3                    2            2              2
## 303                 4                    4            2              2
## 304                 4                    3            4              3
## 305                 4                    4            4              2
## 306                 4                    4            2              2
## 307                 4                    4            3              2
## 308                 2                    1            4              3
## 309                 4                    5            4              5
## 310                 3                    3            1              2
## 311                 3                    4            2              2
## 312                 3                    1            4              4
## 313                 4                    3            4              4
## 314                 5                    5            2              2
## 315                 3                    4            4              5
## 316                 4                    5            2              2
## 317                 4                    5            2              2
## 318                 4                    5            2              2
## 319                 2                    5            4              5
## 320                 1                    1            2              2
## 321                 5                    4            4              4
## 322                 4                    4            4              4
## 323                 4                    5            4              4
## 324                 4                    4            2              2
## 325                 2                    4            4              4
## 326                 4                    5            2              2
## 327                 3                    3            4              4
## 328                 3                    5            2              3
## 329                 3                    3            2              2
## 330                 4                    5            2              2
## 331                 3                    4            4              5
## 332                 4                    5            2              2
## 333                 4                    5            2              2
## 334                 4                    5            2              2
## 335                 2                    5            4              5
## 336                 1                    1            2              2
## 337                 5                    4            4              4
## 338                 4                    4            4              4
## 339                 4                    5            4              4
## 340                 4                    4            2              2
## 341                 2                    4            4              4
## 342                 4                    5            2              2
## 343                 3                    4            4              4
## 344                 3                    2            2              2
## 345                 4                    4            2              2
## 346                 4                    3            4              3
## 347                 4                    4            4              2
## 348                 4                    4            2              2
## 349                 4                    4            3              2
## 350                 2                    1            4              3
## 351                 4                    5            4              5
## 352                 3                    3            1              2
## 353                 3                    4            2              2
## 354                 3                    1            4              4
## 355                 4                    3            4              4
## 356                 5                    5            2              2
## 357                 4                    5            2              2
## 358                 4                    5            3              3
## 359                 4                    4            2              4
## 360                 4                    3            2              2
## 361                 2                    4            4              4
## 362                 5                    5            4              2
## 363                 4                    4            4              4
## 364                 4                    5            2              2
## 365                 3                    3            4              5
## 366                 3                    4            2              3
## 367                 3                    4            2              4
## 368                 4                    4            4              4
## 369                 3                    4            4              4
## 370                 3                    3            4              4
## 371                 3                    4            4              5
## 372                 4                    5            4              5
## 373                 2                    4            3              4
##     Late.Delivery Poor.Hygiene Bad.past.experience Unavailability Unaffordable
## 1               3            3                   3              3            3
## 2               4            5                   5              5            5
## 3               3            4                   4              4            4
## 4               3            4                   2              2            3
## 5               5            4                   5              4            2
## 6               4            4                   4              4            4
## 7               2            4                   2              5            1
## 8               4            3                   3              3            3
## 9               3            4                   3              3            2
## 10              2            4                   5              5            3
## 11              3            4                   2              2            3
## 12              3            3                   3              2            2
## 13              2            5                   5              5            3
## 14              2            2                   2              3            2
## 15              2            3                   3              3            2
## 16              3            5                   3              2            1
## 17              1            5                   3              3            1
## 18              3            1                   1              1            1
## 19              3            3                   2              2            2
## 20              2            4                   5              4            2
## 21              1            4                   5              5            1
## 22              4            4                   4              4            2
## 23              4            5                   2              2            2
## 24              4            3                   3              4            3
## 25              2            4                   3              4            3
## 26              3            4                   3              2            3
## 27              2            2                   2              2            2
## 28              3            4                   3              3            3
## 29              2            4                   3              5            2
## 30              4            3                   3              3            2
## 31              4            2                   3              4            3
## 32              4            4                   3              3            3
## 33              5            2                   5              2            4
## 34              1            1                   1              1            1
## 35              5            2                   3              2            5
## 36              4            3                   4              4            4
## 37              4            3                   4              4            2
## 38              3            3                   3              3            3
## 39              4            5                   5              3            5
## 40              4            3                   3              5            3
## 41              2            4                   2              2            5
## 42              3            4                   3              4            4
## 43              4            4                   4              2            2
## 44              5            5                   4              3            5
## 45              3            5                   4              4            3
## 46              2            4                   3              3            3
## 47              3            5                   3              2            1
## 48              4            4                   3              3            3
## 49              4            4                   3              4            2
## 50              3            3                   3              3            3
## 51              4            5                   4              4            2
## 52              1            1                   1              1            1
## 53              2            3                   2              2            2
## 54              2            5                   4              5            4
## 55              3            4                   3              3            3
## 56              5            4                   5              3            4
## 57              3            3                   2              2            1
## 58              5            3                   2              2            4
## 59              3            5                   5              5            4
## 60              4            4                   3              1            3
## 61              3            3                   3              3            3
## 62              5            5                   5              5            3
## 63              4            5                   3              4            1
## 64              5            4                   3              4            4
## 65              2            2                   1              2            3
## 66              3            5                   4              3            2
## 67              3            5                   4              3            2
## 68              4            5                   4              3            2
## 69              4            3                   4              3            5
## 70              3            3                   2              2            2
## 71              3            3                   2              2            2
## 72              4            5                   4              4            4
## 73              4            3                   1              4            1
## 74              3            4                   2              4            4
## 75              4            4                   4              4            4
## 76              3            3                   3              2            2
## 77              1            3                   3              3            3
## 78              3            4                   4              2            2
## 79              3            3                   2              4            3
## 80              2            1                   2              2            1
## 81              3            3                   4              3            2
## 82              4            4                   4              5            3
## 83              3            2                   3              3            2
## 84              3            4                   4              4            1
## 85              1            1                   2              3            1
## 86              5            2                   3              2            5
## 87              3            1                   2              2            3
## 88              4            5                   2              4            4
## 89              4            4                   4              4            5
## 90              5            4                   3              4            5
## 91              4            3                   5              5            5
## 92              5            4                   5              3            2
## 93              1            1                   2              3            1
## 94              4            4                   3              4            2
## 95              4            4                   3              4            2
## 96              3            3                   2              2            4
## 97              5            1                   5              2            5
## 98              3            3                   2              2            2
## 99              4            4                   3              4            2
## 100             4            2                   2              2            2
## 101             5            4                   4              3            2
## 102             4            3                   2              4            3
## 103             4            3                   4              2            4
## 104             4            4                   4              3            4
## 105             4            5                   5              5            3
## 106             4            2                   2              2            3
## 107             3            3                   3              3            3
## 108             4            5                   5              5            3
## 109             4            2                   3              4            5
## 110             4            4                   3              4            2
## 111             2            3                   2              4            4
## 112             5            5                   3              4            5
## 113             2            2                   2              1            1
## 114             5            5                   5              4            5
## 115             3            3                   2              2            1
## 116             5            5                   4              5            5
## 117             4            2                   2              1            1
## 118             4            3                   3              4            3
## 119             4            2                   2              4            4
## 120             4            3                   3              4            3
## 121             3            5                   4              3            2
## 122             4            2                   1              1            1
## 123             4            4                   2              2            2
## 124             4            2                   4              2            2
## 125             4            3                   4              4            3
## 126             4            3                   4              5            5
## 127             4            2                   3              2            2
## 128             4            4                   4              5            4
## 129             4            4                   4              5            4
## 130             2            3                   2              1            2
## 131             4            5                   4              5            2
## 132             2            2                   2              1            2
## 133             4            2                   2              2            1
## 134             2            3                   3              4            1
## 135             3            5                   4              3            3
## 136             4            3                   3              4            3
## 137             4            2                   3              2            3
## 138             2            3                   3              4            1
## 139             3            5                   4              3            2
## 140             4            2                   2              2            1
## 141             2            1                   2              2            4
## 142             3            5                   4              3            2
## 143             4            2                   2              1            1
## 144             2            4                   2              2            1
## 145             5            5                   4              2            2
## 146             2            2                   2              1            2
## 147             3            1                   1              1            1
## 148             5            5                   5              5            5
## 149             5            2                   3              4            5
## 150             3            2                   1              2            1
## 151             2            2                   2              1            2
## 152             2            4                   3              2            1
## 153             4            4                   4              2            2
## 154             2            5                   5              5            5
## 155             3            2                   2              1            1
## 156             4            3                   4              3            4
## 157             1            2                   2              1            2
## 158             3            2                   2              1            1
## 159             2            2                   2              2            2
## 160             2            2                   2              2            2
## 161             2            2                   1              1            2
## 162             1            2                   2              2            1
## 163             5            4                   4              5            4
## 164             4            4                   2              2            5
## 165             2            1                   3              2            2
## 166             3            4                   4              2            2
## 167             4            3                   4              4            4
## 168             4            4                   4              4            4
## 169             3            4                   3              4            1
## 170             5            4                   4              5            4
## 171             2            2                   2              1            1
## 172             2            3                   2              2            2
## 173             4            5                   4              4            4
## 174             4            5                   4              4            5
## 175             4            5                   4              2            2
## 176             4            4                   4              2            2
## 177             2            2                   1              1            1
## 178             2            3                   2              2            3
## 179             2            3                   3              2            2
## 180             5            4                   4              3            1
## 181             2            1                   1              1            1
## 182             1            1                   1              1            1
## 183             2            3                   2              4            2
## 184             4            2                   2              4            2
## 185             4            2                   2              2            2
## 186             5            4                   5              5            4
## 187             4            2                   3              2            2
## 188             2            2                   2              2            1
## 189             3            5                   4              4            2
## 190             1            2                   2              2            2
## 191             1            2                   1              1            1
## 192             4            2                   2              1            1
## 193             2            3                   4              1            1
## 194             1            1                   1              1            1
## 195             3            2                   2              1            2
## 196             4            4                   2              2            2
## 197             4            5                   4              2            4
## 198             1            2                   2              2            2
## 199             4            4                   4              4            4
## 200             2            3                   4              2            2
## 201             3            3                   3              2            3
## 202             3            3                   3              3            3
## 203             4            2                   4              4            3
## 204             3            3                   2              3            4
## 205             2            3                   2              2            2
## 206             3            2                   3              2            3
## 207             3            3                   4              4            3
## 208             4            4                   3              2            2
## 209             4            3                   2              4            2
## 210             4            3                   3              3            2
## 211             4            2                   2              1            1
## 212             4            2                   2              1            1
## 213             2            2                   2              2            2
## 214             4            2                   2              3            2
## 215             4            3                   3              4            4
## 216             3            4                   4              3            2
## 217             2            3                   2              2            1
## 218             4            4                   2              2            2
## 219             2            2                   2              3            4
## 220             2            2                   2              4            2
## 221             2            2                   3              2            2
## 222             4            3                   4              3            4
## 223             4            4                   5              4            5
## 224             3            2                   2              3            2
## 225             4            2                   2              2            3
## 226             4            4                   3              2            2
## 227             2            3                   2              2            2
## 228             1            1                   1              1            1
## 229             1            2                   2              1            1
## 230             3            2                   2              2            2
## 231             4            2                   4              2            3
## 232             2            1                   1              1            1
## 233             4            5                   4              4            2
## 234             1            4                   2              1            2
## 235             4            3                   2              2            5
## 236             1            2                   1              1            2
## 237             2            1                   4              1            1
## 238             5            4                   4              2            2
## 239             4            2                   2              3            1
## 240             1            2                   1              2            1
## 241             5            4                   4              4            4
## 242             4            5                   2              2            1
## 243             4            2                   1              2            2
## 244             4            4                   2              4            2
## 245             4            4                   2              2            2
## 246             4            4                   4              3            4
## 247             3            2                   3              2            1
## 248             1            2                   2              4            2
## 249             4            2                   2              3            4
## 250             3            2                   2              2            2
## 251             4            2                   4              4            2
## 252             4            3                   3              2            2
## 253             4            4                   4              4            4
## 254             4            2                   1              2            4
## 255             3            4                   3              2            2
## 256             3            4                   2              2            2
## 257             4            4                   3              3            2
## 258             3            4                   4              4            4
## 259             2            3                   4              2            2
## 260             3            2                   2              2            2
## 261             4            4                   2              2            2
## 262             3            5                   4              3            2
## 263             3            3                   2              2            2
## 264             4            2                   4              3            4
## 265             4            2                   2              2            2
## 266             3            4                   4              4            2
## 267             4            2                   2              1            1
## 268             4            2                   2              1            4
## 269             4            4                   2              4            2
## 270             4            2                   4              1            4
## 271             5            2                   2              2            2
## 272             4            2                   2              1            1
## 273             3            2                   2              1            1
## 274             4            4                   2              2            2
## 275             4            4                   2              1            1
## 276             4            2                   4              4            2
## 277             4            3                   4              4            1
## 278             4            4                   4              4            1
## 279             4            1                   2              3            2
## 280             4            3                   2              2            2
## 281             4            2                   1              1            2
## 282             2            1                   2              3            3
## 283             4            3                   2              2            2
## 284             4            4                   4              5            1
## 285             4            3                   4              4            2
## 286             3            4                   4              4            4
## 287             3            4                   2              2            3
## 288             5            4                   5              4            2
## 289             4            4                   4              4            4
## 290             2            4                   2              5            1
## 291             4            3                   3              3            3
## 292             3            4                   3              3            2
## 293             3            3                   3              3            3
## 294             4            5                   4              4            4
## 295             2            4                   5              5            3
## 296             4            3                   3              3            2
## 297             4            2                   2              1            1
## 298             4            2                   2              1            1
## 299             2            2                   2              2            2
## 300             4            2                   2              3            2
## 301             4            3                   3              4            4
## 302             3            4                   4              3            2
## 303             2            3                   2              2            1
## 304             4            4                   2              2            2
## 305             2            2                   2              3            4
## 306             2            2                   2              4            2
## 307             2            2                   3              2            2
## 308             4            3                   4              3            4
## 309             4            4                   5              4            5
## 310             3            2                   2              3            2
## 311             4            2                   2              2            3
## 312             4            4                   3              2            2
## 313             2            3                   2              2            2
## 314             1            1                   1              1            1
## 315             3            5                   4              4            2
## 316             1            2                   2              2            2
## 317             1            2                   1              1            1
## 318             4            2                   2              1            1
## 319             2            3                   4              1            1
## 320             1            1                   1              1            1
## 321             3            2                   2              1            2
## 322             4            4                   2              2            2
## 323             4            5                   4              2            4
## 324             1            2                   2              2            2
## 325             4            4                   4              4            4
## 326             2            3                   4              2            2
## 327             3            3                   3              2            3
## 328             3            3                   3              3            3
## 329             4            2                   4              4            3
## 330             3            3                   2              3            4
## 331             3            5                   4              4            2
## 332             1            2                   2              2            2
## 333             1            2                   1              1            1
## 334             4            2                   2              1            1
## 335             2            3                   4              1            1
## 336             1            1                   1              1            1
## 337             3            2                   2              1            2
## 338             4            4                   2              2            2
## 339             4            5                   4              2            4
## 340             1            2                   2              2            2
## 341             4            4                   4              4            4
## 342             4            2                   2              3            2
## 343             4            3                   3              4            4
## 344             3            4                   4              3            2
## 345             2            3                   2              2            1
## 346             4            4                   2              2            2
## 347             2            2                   2              3            4
## 348             2            2                   2              4            2
## 349             2            2                   3              2            2
## 350             4            3                   4              3            4
## 351             4            4                   5              4            5
## 352             3            2                   2              3            2
## 353             4            2                   2              2            3
## 354             4            4                   3              2            2
## 355             2            3                   2              2            2
## 356             1            1                   1              1            1
## 357             1            2                   2              1            1
## 358             3            2                   2              2            2
## 359             4            2                   4              2            3
## 360             2            1                   1              1            1
## 361             4            5                   4              4            2
## 362             1            4                   2              1            2
## 363             4            3                   2              2            5
## 364             1            2                   1              1            2
## 365             5            4                   5              4            2
## 366             4            4                   4              4            4
## 367             2            4                   2              5            1
## 368             4            3                   3              3            3
## 369             3            4                   3              3            2
## 370             3            3                   3              3            3
## 371             4            5                   4              4            4
## 372             2            4                   5              5            3
## 373             3            4                   2              2            3
##     Long.delivery.time Delay.of.delivery.person.getting.assigned
## 1                    4                                         4
## 2                    5                                         5
## 3                    4                                         4
## 4                    4                                         4
## 5                    5                                         5
## 6                    5                                         5
## 7                    3                                         2
## 8                    4                                         4
## 9                    4                                         4
## 10                   5                                         5
## 11                   4                                         3
## 12                   4                                         4
## 13                   4                                         4
## 14                   3                                         4
## 15                   2                                         2
## 16                   2                                         2
## 17                   5                                         1
## 18                   3                                         3
## 19                   3                                         3
## 20                   2                                         4
## 21                   4                                         2
## 22                   3                                         3
## 23                   3                                         2
## 24                   4                                         4
## 25                   2                                         2
## 26                   2                                         2
## 27                   2                                         2
## 28                   4                                         4
## 29                   4                                         3
## 30                   4                                         4
## 31                   4                                         5
## 32                   4                                         4
## 33                   5                                         5
## 34                   4                                         4
## 35                   3                                         3
## 36                   4                                         2
## 37                   4                                         3
## 38                   4                                         4
## 39                   4                                         5
## 40                   5                                         4
## 41                   4                                         4
## 42                   4                                         4
## 43                   4                                         2
## 44                   5                                         4
## 45                   4                                         3
## 46                   4                                         3
## 47                   2                                         2
## 48                   4                                         4
## 49                   3                                         3
## 50                   3                                         3
## 51                   5                                         5
## 52                   4                                         4
## 53                   4                                         3
## 54                   5                                         5
## 55                   3                                         3
## 56                   4                                         5
## 57                   4                                         4
## 58                   3                                         5
## 59                   2                                         2
## 60                   4                                         3
## 61                   2                                         3
## 62                   4                                         4
## 63                   5                                         5
## 64                   3                                         3
## 65                   2                                         1
## 66                   4                                         4
## 67                   4                                         4
## 68                   2                                         4
## 69                   3                                         4
## 70                   2                                         2
## 71                   2                                         2
## 72                   4                                         4
## 73                   5                                         4
## 74                   2                                         2
## 75                   4                                         4
## 76                   4                                         4
## 77                   5                                         5
## 78                   4                                         4
## 79                   5                                         3
## 80                   3                                         3
## 81                   4                                         3
## 82                   4                                         5
## 83                   3                                         3
## 84                   4                                         1
## 85                   3                                         1
## 86                   3                                         3
## 87                   4                                         4
## 88                   4                                         5
## 89                   3                                         4
## 90                   4                                         3
## 91                   5                                         5
## 92                   5                                         4
## 93                   3                                         1
## 94                   3                                         3
## 95                   3                                         3
## 96                   4                                         4
## 97                   4                                         3
## 98                   2                                         2
## 99                   5                                         4
## 100                  4                                         3
## 101                  4                                         4
## 102                  3                                         4
## 103                  4                                         3
## 104                  4                                         3
## 105                  5                                         5
## 106                  5                                         3
## 107                  4                                         4
## 108                  5                                         5
## 109                  5                                         5
## 110                  3                                         3
## 111                  4                                         4
## 112                  4                                         3
## 113                  4                                         4
## 114                  4                                         5
## 115                  2                                         4
## 116                  4                                         5
## 117                  4                                         5
## 118                  3                                         4
## 119                  4                                         5
## 120                  3                                         4
## 121                  4                                         4
## 122                  2                                         1
## 123                  4                                         5
## 124                  4                                         4
## 125                  5                                         5
## 126                  5                                         4
## 127                  4                                         5
## 128                  5                                         4
## 129                  5                                         5
## 130                  4                                         2
## 131                  4                                         4
## 132                  4                                         4
## 133                  4                                         5
## 134                  3                                         4
## 135                  4                                         4
## 136                  4                                         3
## 137                  4                                         2
## 138                  3                                         4
## 139                  4                                         4
## 140                  4                                         2
## 141                  4                                         4
## 142                  4                                         4
## 143                  4                                         5
## 144                  5                                         5
## 145                  4                                         5
## 146                  3                                         4
## 147                  2                                         2
## 148                  2                                         2
## 149                  2                                         2
## 150                  2                                         3
## 151                  4                                         5
## 152                  4                                         4
## 153                  4                                         4
## 154                  2                                         2
## 155                  3                                         4
## 156                  2                                         2
## 157                  4                                         4
## 158                  4                                         5
## 159                  4                                         4
## 160                  4                                         4
## 161                  3                                         3
## 162                  4                                         5
## 163                  2                                         3
## 164                  4                                         5
## 165                  4                                         4
## 166                  2                                         3
## 167                  3                                         4
## 168                  4                                         4
## 169                  4                                         3
## 170                  2                                         2
## 171                  3                                         2
## 172                  3                                         3
## 173                  4                                         4
## 174                  4                                         2
## 175                  4                                         3
## 176                  4                                         4
## 177                  4                                         5
## 178                  2                                         3
## 179                  3                                         4
## 180                  4                                         4
## 181                  4                                         4
## 182                  4                                         4
## 183                  4                                         3
## 184                  1                                         1
## 185                  4                                         4
## 186                  4                                         4
## 187                  2                                         3
## 188                  2                                         2
## 189                  2                                         2
## 190                  2                                         2
## 191                  2                                         2
## 192                  4                                         5
## 193                  2                                         4
## 194                  1                                         1
## 195                  2                                         3
## 196                  2                                         4
## 197                  4                                         4
## 198                  4                                         3
## 199                  2                                         3
## 200                  2                                         3
## 201                  3                                         4
## 202                  3                                         3
## 203                  2                                         4
## 204                  4                                         3
## 205                  4                                         3
## 206                  4                                         3
## 207                  5                                         4
## 208                  5                                         5
## 209                  4                                         3
## 210                  2                                         3
## 211                  5                                         5
## 212                  2                                         2
## 213                  4                                         2
## 214                  4                                         3
## 215                  2                                         3
## 216                  2                                         2
## 217                  4                                         3
## 218                  2                                         3
## 219                  4                                         3
## 220                  2                                         4
## 221                  2                                         2
## 222                  3                                         4
## 223                  2                                         2
## 224                  4                                         4
## 225                  4                                         3
## 226                  2                                         3
## 227                  4                                         3
## 228                  1                                         1
## 229                  2                                         4
## 230                  2                                         1
## 231                  4                                         3
## 232                  2                                         3
## 233                  4                                         3
## 234                  4                                         4
## 235                  4                                         4
## 236                  4                                         4
## 237                  4                                         4
## 238                  4                                         4
## 239                  4                                         3
## 240                  4                                         4
## 241                  5                                         4
## 242                  4                                         4
## 243                  2                                         2
## 244                  2                                         4
## 245                  4                                         4
## 246                  3                                         4
## 247                  4                                         4
## 248                  2                                         2
## 249                  2                                         1
## 250                  2                                         4
## 251                  2                                         2
## 252                  4                                         4
## 253                  4                                         4
## 254                  2                                         2
## 255                  2                                         2
## 256                  3                                         3
## 257                  5                                         4
## 258                  2                                         3
## 259                  4                                         3
## 260                  2                                         3
## 261                  2                                         2
## 262                  4                                         4
## 263                  4                                         4
## 264                  2                                         2
## 265                  2                                         2
## 266                  4                                         3
## 267                  4                                         2
## 268                  4                                         4
## 269                  4                                         2
## 270                  4                                         5
## 271                  4                                         4
## 272                  2                                         2
## 273                  4                                         4
## 274                  4                                         5
## 275                  3                                         2
## 276                  4                                         4
## 277                  5                                         5
## 278                  4                                         4
## 279                  2                                         3
## 280                  2                                         3
## 281                  2                                         2
## 282                  4                                         4
## 283                  4                                         5
## 284                  4                                         4
## 285                  2                                         3
## 286                  4                                         4
## 287                  4                                         4
## 288                  5                                         5
## 289                  5                                         5
## 290                  3                                         2
## 291                  4                                         4
## 292                  4                                         4
## 293                  4                                         4
## 294                  5                                         5
## 295                  5                                         5
## 296                  2                                         3
## 297                  5                                         5
## 298                  2                                         2
## 299                  4                                         2
## 300                  4                                         3
## 301                  2                                         3
## 302                  2                                         2
## 303                  4                                         3
## 304                  2                                         3
## 305                  4                                         3
## 306                  2                                         4
## 307                  2                                         2
## 308                  3                                         4
## 309                  2                                         2
## 310                  4                                         4
## 311                  4                                         3
## 312                  2                                         3
## 313                  4                                         3
## 314                  1                                         1
## 315                  2                                         2
## 316                  2                                         2
## 317                  2                                         2
## 318                  4                                         5
## 319                  2                                         4
## 320                  1                                         1
## 321                  2                                         3
## 322                  2                                         4
## 323                  4                                         4
## 324                  4                                         3
## 325                  2                                         3
## 326                  2                                         3
## 327                  3                                         4
## 328                  3                                         3
## 329                  2                                         4
## 330                  4                                         3
## 331                  2                                         2
## 332                  2                                         2
## 333                  2                                         2
## 334                  4                                         5
## 335                  2                                         4
## 336                  1                                         1
## 337                  2                                         3
## 338                  2                                         4
## 339                  4                                         4
## 340                  4                                         3
## 341                  2                                         3
## 342                  4                                         3
## 343                  2                                         3
## 344                  2                                         2
## 345                  4                                         3
## 346                  2                                         3
## 347                  4                                         3
## 348                  2                                         4
## 349                  2                                         2
## 350                  3                                         4
## 351                  2                                         2
## 352                  4                                         4
## 353                  4                                         3
## 354                  2                                         3
## 355                  4                                         3
## 356                  1                                         1
## 357                  2                                         4
## 358                  2                                         1
## 359                  4                                         3
## 360                  2                                         3
## 361                  4                                         3
## 362                  4                                         4
## 363                  4                                         4
## 364                  4                                         4
## 365                  5                                         5
## 366                  5                                         5
## 367                  3                                         2
## 368                  4                                         4
## 369                  4                                         4
## 370                  4                                         4
## 371                  5                                         5
## 372                  5                                         5
## 373                  4                                         3
##     Delay.of.delivery.person.picking.up.food Wrong.order.delivered Missing.item
## 1                                          4                     4            4
## 2                                          5                     5            5
## 3                                          4                     5            4
## 4                                          4                     2            2
## 5                                          3                     3            3
## 6                                          5                     4            5
## 7                                          2                     5            5
## 8                                          4                     3            4
## 9                                          4                     4            4
## 10                                         4                     5            5
## 11                                         3                     2            1
## 12                                         4                     1            2
## 13                                         3                     4            4
## 14                                         5                     5            5
## 15                                         2                     4            4
## 16                                         2                     4            2
## 17                                         5                     3            3
## 18                                         3                     4            1
## 19                                         4                     2            3
## 20                                         4                     4            5
## 21                                         2                     5            5
## 22                                         4                     4            4
## 23                                         2                     2            4
## 24                                         3                     3            2
## 25                                         2                     4            4
## 26                                         2                     5            5
## 27                                         2                     2            2
## 28                                         5                     5            5
## 29                                         3                     4            5
## 30                                         4                     4            4
## 31                                         1                     4            4
## 32                                         4                     3            3
## 33                                         5                     3            3
## 34                                         4                     5            4
## 35                                         4                     3            3
## 36                                         4                     4            3
## 37                                         4                     4            5
## 38                                         3                     3            4
## 39                                         4                     3            4
## 40                                         5                     5            5
## 41                                         4                     5            5
## 42                                         3                     4            2
## 43                                         4                     4            4
## 44                                         5                     3            2
## 45                                         3                     5            5
## 46                                         2                     3            3
## 47                                         2                     4            2
## 48                                         4                     3            3
## 49                                         3                     3            3
## 50                                         3                     3            3
## 51                                         4                     5            5
## 52                                         4                     1            1
## 53                                         3                     4            4
## 54                                         2                     5            3
## 55                                         4                     4            4
## 56                                         4                     4            4
## 57                                         4                     3            3
## 58                                         4                     5            5
## 59                                         2                     5            5
## 60                                         3                     4            2
## 61                                         3                     1            1
## 62                                         5                     5            5
## 63                                         4                     2            5
## 64                                         3                     3            3
## 65                                         3                     3            2
## 66                                         4                     5            4
## 67                                         4                     5            4
## 68                                         3                     2            5
## 69                                         3                     1            3
## 70                                         2                     4            3
## 71                                         2                     5            5
## 72                                         4                     3            4
## 73                                         4                     5            5
## 74                                         2                     1            1
## 75                                         4                     2            3
## 76                                         4                     1            2
## 77                                         3                     3            3
## 78                                         4                     4            3
## 79                                         4                     2            3
## 80                                         3                     3            3
## 81                                         3                     4            4
## 82                                         5                     5            5
## 83                                         3                     3            2
## 84                                         1                     1            1
## 85                                         1                     3            3
## 86                                         4                     3            3
## 87                                         3                     4            3
## 88                                         3                     4            4
## 89                                         4                     3            2
## 90                                         4                     5            3
## 91                                         5                     5            5
## 92                                         3                     3            3
## 93                                         1                     3            3
## 94                                         3                     3            3
## 95                                         3                     3            3
## 96                                         3                     4            3
## 97                                         4                     4            3
## 98                                         2                     4            3
## 99                                         3                     4            3
## 100                                        3                     3            3
## 101                                        5                     4            3
## 102                                        3                     2            4
## 103                                        5                     4            3
## 104                                        4                     5            4
## 105                                        5                     4            5
## 106                                        4                     1            2
## 107                                        4                     2            3
## 108                                        5                     4            5
## 109                                        5                     2            2
## 110                                        3                     3            3
## 111                                        2                     3            4
## 112                                        4                     4            5
## 113                                        3                     4            3
## 114                                        4                     5            5
## 115                                        4                     2            2
## 116                                        5                     5            4
## 117                                        4                     3            1
## 118                                        4                     4            5
## 119                                        4                     4            4
## 120                                        4                     4            5
## 121                                        4                     5            4
## 122                                        4                     2            2
## 123                                        5                     2            5
## 124                                        4                     4            5
## 125                                        5                     2            2
## 126                                        4                     5            5
## 127                                        4                     4            3
## 128                                        4                     4            4
## 129                                        5                     2            5
## 130                                        2                     4            4
## 131                                        4                     5            5
## 132                                        2                     2            1
## 133                                        5                     2            2
## 134                                        4                     5            5
## 135                                        4                     2            3
## 136                                        4                     2            2
## 137                                        3                     3            2
## 138                                        4                     5            5
## 139                                        4                     5            4
## 140                                        4                     2            2
## 141                                        5                     5            4
## 142                                        4                     5            4
## 143                                        4                     2            2
## 144                                        5                     4            5
## 145                                        4                     4            5
## 146                                        2                     2            2
## 147                                        4                     4            4
## 148                                        3                     4            3
## 149                                        2                     2            2
## 150                                        4                     3            2
## 151                                        4                     4            2
## 152                                        4                     1            1
## 153                                        4                     2            2
## 154                                        2                     2            4
## 155                                        3                     3            2
## 156                                        3                     2            1
## 157                                        4                     4            4
## 158                                        4                     1            1
## 159                                        4                     2            2
## 160                                        4                     3            4
## 161                                        3                     1            1
## 162                                        4                     1            2
## 163                                        2                     4            4
## 164                                        4                     4            5
## 165                                        3                     4            4
## 166                                        4                     2            2
## 167                                        3                     1            4
## 168                                        4                     4            4
## 169                                        3                     5            5
## 170                                        1                     2            3
## 171                                        3                     2            2
## 172                                        4                     2            2
## 173                                        4                     4            5
## 174                                        4                     1            2
## 175                                        3                     2            4
## 176                                        5                     1            2
## 177                                        4                     1            2
## 178                                        3                     3            4
## 179                                        4                     2            2
## 180                                        3                     1            2
## 181                                        5                     2            2
## 182                                        4                     2            2
## 183                                        3                     1            2
## 184                                        1                     2            2
## 185                                        4                     2            2
## 186                                        4                     2            2
## 187                                        3                     1            1
## 188                                        2                     4            4
## 189                                        2                     4            4
## 190                                        4                     2            2
## 191                                        4                     2            2
## 192                                        4                     1            1
## 193                                        4                     2            2
## 194                                        2                     1            1
## 195                                        4                     2            1
## 196                                        4                     1            3
## 197                                        4                     2            2
## 198                                        4                     3            2
## 199                                        4                     2            2
## 200                                        2                     4            2
## 201                                        3                     3            3
## 202                                        3                     3            3
## 203                                        4                     3            2
## 204                                        4                     3            3
## 205                                        3                     1            2
## 206                                        4                     3            4
## 207                                        4                     4            3
## 208                                        5                     2            2
## 209                                        4                     1            4
## 210                                        3                     2            3
## 211                                        5                     2            4
## 212                                        2                     1            1
## 213                                        3                     3            2
## 214                                        3                     2            2
## 215                                        3                     2            2
## 216                                        2                     2            2
## 217                                        4                     2            2
## 218                                        2                     4            4
## 219                                        4                     2            2
## 220                                        4                     2            2
## 221                                        2                     3            2
## 222                                        4                     1            1
## 223                                        3                     2            2
## 224                                        4                     4            5
## 225                                        4                     5            4
## 226                                        4                     2            1
## 227                                        4                     2            2
## 228                                        1                     1            1
## 229                                        3                     2            2
## 230                                        1                     2            2
## 231                                        4                     4            2
## 232                                        4                     2            2
## 233                                        4                     4            2
## 234                                        4                     3            2
## 235                                        4                     2            2
## 236                                        3                     4            4
## 237                                        5                     2            2
## 238                                        5                     4            5
## 239                                        2                     2            2
## 240                                        4                     2            1
## 241                                        4                     2            3
## 242                                        5                     2            2
## 243                                        2                     2            2
## 244                                        4                     5            5
## 245                                        5                     2            2
## 246                                        4                     3            4
## 247                                        2                     2            2
## 248                                        2                     2            2
## 249                                        2                     1            2
## 250                                        2                     1            1
## 251                                        2                     1            1
## 252                                        4                     2            2
## 253                                        4                     4            4
## 254                                        1                     2            3
## 255                                        2                     2            2
## 256                                        2                     3            2
## 257                                        3                     2            2
## 258                                        4                     4            5
## 259                                        3                     2            2
## 260                                        2                     2            1
## 261                                        3                     2            5
## 262                                        4                     5            4
## 263                                        5                     2            2
## 264                                        1                     2            1
## 265                                        2                     4            4
## 266                                        4                     5            5
## 267                                        2                     4            3
## 268                                        4                     2            2
## 269                                        2                     2            2
## 270                                        4                     4            5
## 271                                        4                     4            5
## 272                                        2                     1            1
## 273                                        5                     4            5
## 274                                        5                     5            5
## 275                                        3                     1            2
## 276                                        4                     2            1
## 277                                        5                     1            1
## 278                                        4                     4            5
## 279                                        4                     1            1
## 280                                        3                     2            2
## 281                                        2                     1            2
## 282                                        2                     2            2
## 283                                        4                     1            1
## 284                                        4                     4            4
## 285                                        3                     4            2
## 286                                        4                     5            4
## 287                                        4                     2            2
## 288                                        3                     3            3
## 289                                        5                     4            5
## 290                                        2                     5            5
## 291                                        4                     3            4
## 292                                        4                     4            4
## 293                                        4                     3            4
## 294                                        5                     5            5
## 295                                        4                     5            5
## 296                                        3                     2            3
## 297                                        5                     2            4
## 298                                        2                     1            1
## 299                                        3                     3            2
## 300                                        3                     2            2
## 301                                        3                     2            2
## 302                                        2                     2            2
## 303                                        4                     2            2
## 304                                        2                     4            4
## 305                                        4                     2            2
## 306                                        4                     2            2
## 307                                        2                     3            2
## 308                                        4                     1            1
## 309                                        3                     2            2
## 310                                        4                     4            5
## 311                                        4                     5            4
## 312                                        4                     2            1
## 313                                        4                     2            2
## 314                                        1                     1            1
## 315                                        2                     4            4
## 316                                        4                     2            2
## 317                                        4                     2            2
## 318                                        4                     1            1
## 319                                        4                     2            2
## 320                                        2                     1            1
## 321                                        4                     2            1
## 322                                        4                     1            3
## 323                                        4                     2            2
## 324                                        4                     3            2
## 325                                        4                     2            2
## 326                                        2                     4            2
## 327                                        3                     3            3
## 328                                        3                     3            3
## 329                                        4                     3            2
## 330                                        4                     3            3
## 331                                        2                     4            4
## 332                                        4                     2            2
## 333                                        4                     2            2
## 334                                        4                     1            1
## 335                                        4                     2            2
## 336                                        2                     1            1
## 337                                        4                     2            1
## 338                                        4                     1            3
## 339                                        4                     2            2
## 340                                        4                     3            2
## 341                                        4                     2            2
## 342                                        3                     2            2
## 343                                        3                     2            2
## 344                                        2                     2            2
## 345                                        4                     2            2
## 346                                        2                     4            4
## 347                                        4                     2            2
## 348                                        4                     2            2
## 349                                        2                     3            2
## 350                                        4                     1            1
## 351                                        3                     2            2
## 352                                        4                     4            5
## 353                                        4                     5            4
## 354                                        4                     2            1
## 355                                        4                     2            2
## 356                                        1                     1            1
## 357                                        3                     2            2
## 358                                        1                     2            2
## 359                                        4                     4            2
## 360                                        4                     2            2
## 361                                        4                     4            2
## 362                                        4                     3            2
## 363                                        4                     2            2
## 364                                        3                     4            4
## 365                                        3                     3            3
## 366                                        5                     4            5
## 367                                        2                     5            5
## 368                                        4                     3            4
## 369                                        4                     4            4
## 370                                        4                     3            4
## 371                                        5                     5            5
## 372                                        4                     5            5
## 373                                        3                     2            1
##     Order.placed.by.mistake Influence.of.time          Order.Time
## 1                         4                 1 Weekend (Sat & Sun)
## 2                         5                 1   Anytime (Mon Sun)
## 3                         3                 1   Anytime (Mon Sun)
## 4                         3                 1   Anytime (Mon Sun)
## 5                         2                 1 Weekend (Sat & Sun)
## 6                         5                 1   Anytime (Mon Sun)
## 7                         5                 0   Anytime (Mon Sun)
## 8                         4                 1 Weekend (Sat & Sun)
## 9                         5                 1   Anytime (Mon Sun)
## 10                        2                 2 Weekend (Sat & Sun)
## 11                        1                 1 Weekend (Sat & Sun)
## 12                        1                 0 Weekend (Sat & Sun)
## 13                        2                 1   Anytime (Mon Sun)
## 14                        3                 2   Anytime (Mon Sun)
## 15                        4                 0   Anytime (Mon Sun)
## 16                        4                 1   Anytime (Mon Sun)
## 17                        3                 1   Anytime (Mon Sun)
## 18                        4                 2   Anytime (Mon Sun)
## 19                        3                 1 Weekend (Sat & Sun)
## 20                        4                 1   Anytime (Mon Sun)
## 21                        1                 1  Weekdays (Mon Fri)
## 22                        3                 1  Weekdays (Mon Fri)
## 23                        4                 0   Anytime (Mon Sun)
## 24                        2                 1   Anytime (Mon Sun)
## 25                        4                 1   Anytime (Mon Sun)
## 26                        4                 0   Anytime (Mon Sun)
## 27                        2                 2 Weekend (Sat & Sun)
## 28                        4                 1 Weekend (Sat & Sun)
## 29                        1                 1 Weekend (Sat & Sun)
## 30                        4                 1   Anytime (Mon Sun)
## 31                        2                 1   Anytime (Mon Sun)
## 32                        2                 1 Weekend (Sat & Sun)
## 33                        3                 1 Weekend (Sat & Sun)
## 34                        1                 1   Anytime (Mon Sun)
## 35                        3                 1   Anytime (Mon Sun)
## 36                        4                 1  Weekdays (Mon Fri)
## 37                        5                 1 Weekend (Sat & Sun)
## 38                        3                 1 Weekend (Sat & Sun)
## 39                        5                 1  Weekdays (Mon Fri)
## 40                        5                 1 Weekend (Sat & Sun)
## 41                        4                 1   Anytime (Mon Sun)
## 42                        2                 1   Anytime (Mon Sun)
## 43                        4                 1   Anytime (Mon Sun)
## 44                        4                 1   Anytime (Mon Sun)
## 45                        5                 2   Anytime (Mon Sun)
## 46                        2                 1 Weekend (Sat & Sun)
## 47                        4                 1   Anytime (Mon Sun)
## 48                        2                 1 Weekend (Sat & Sun)
## 49                        3                 1  Weekdays (Mon Fri)
## 50                        3                 2   Anytime (Mon Sun)
## 51                        1                 1 Weekend (Sat & Sun)
## 52                        1                 1   Anytime (Mon Sun)
## 53                        5                 1 Weekend (Sat & Sun)
## 54                        5                 1   Anytime (Mon Sun)
## 55                        4                 2   Anytime (Mon Sun)
## 56                        4                 1 Weekend (Sat & Sun)
## 57                        2                 1 Weekend (Sat & Sun)
## 58                        4                 1   Anytime (Mon Sun)
## 59                        4                 2 Weekend (Sat & Sun)
## 60                        4                 2   Anytime (Mon Sun)
## 61                        3                 0 Weekend (Sat & Sun)
## 62                        2                 2 Weekend (Sat & Sun)
## 63                        3                 2   Anytime (Mon Sun)
## 64                        3                 1 Weekend (Sat & Sun)
## 65                        3                 2   Anytime (Mon Sun)
## 66                        3                 1 Weekend (Sat & Sun)
## 67                        3                 1 Weekend (Sat & Sun)
## 68                        4                 1 Weekend (Sat & Sun)
## 69                        1                 1   Anytime (Mon Sun)
## 70                        1                 1   Anytime (Mon Sun)
## 71                        5                 0 Weekend (Sat & Sun)
## 72                        2                 1   Anytime (Mon Sun)
## 73                        3                 1   Anytime (Mon Sun)
## 74                        1                 1   Anytime (Mon Sun)
## 75                        4                 1   Anytime (Mon Sun)
## 76                        1                 0 Weekend (Sat & Sun)
## 77                        3                 1 Weekend (Sat & Sun)
## 78                        1                 1   Anytime (Mon Sun)
## 79                        2                 1 Weekend (Sat & Sun)
## 80                        3                 1 Weekend (Sat & Sun)
## 81                        3                 1 Weekend (Sat & Sun)
## 82                        2                 1 Weekend (Sat & Sun)
## 83                        2                 1   Anytime (Mon Sun)
## 84                        1                 0   Anytime (Mon Sun)
## 85                        3                 1   Anytime (Mon Sun)
## 86                        3                 1   Anytime (Mon Sun)
## 87                        4                 0   Anytime (Mon Sun)
## 88                        3                 0  Weekdays (Mon Fri)
## 89                        1                 1 Weekend (Sat & Sun)
## 90                        4                 1  Weekdays (Mon Fri)
## 91                        5                 1   Anytime (Mon Sun)
## 92                        2                 1 Weekend (Sat & Sun)
## 93                        3                 1   Anytime (Mon Sun)
## 94                        3                 1  Weekdays (Mon Fri)
## 95                        3                 1  Weekdays (Mon Fri)
## 96                        2                 0 Weekend (Sat & Sun)
## 97                        4                 2   Anytime (Mon Sun)
## 98                        1                 1   Anytime (Mon Sun)
## 99                        1                 1 Weekend (Sat & Sun)
## 100                       1                 1 Weekend (Sat & Sun)
## 101                       4                 1   Anytime (Mon Sun)
## 102                       3                 1   Anytime (Mon Sun)
## 103                       4                 1   Anytime (Mon Sun)
## 104                       3                 1 Weekend (Sat & Sun)
## 105                       3                 1 Weekend (Sat & Sun)
## 106                       2                 1   Anytime (Mon Sun)
## 107                       1                 1   Anytime (Mon Sun)
## 108                       3                 1 Weekend (Sat & Sun)
## 109                       2                 1 Weekend (Sat & Sun)
## 110                       3                 1  Weekdays (Mon Fri)
## 111                       4                 1   Anytime (Mon Sun)
## 112                       4                 2   Anytime (Mon Sun)
## 113                       4                 1   Anytime (Mon Sun)
## 114                       4                 1   Anytime (Mon Sun)
## 115                       2                 1   Anytime (Mon Sun)
## 116                       5                 1   Anytime (Mon Sun)
## 117                       1                 1   Anytime (Mon Sun)
## 118                       3                 1 Weekend (Sat & Sun)
## 119                       5                 1   Anytime (Mon Sun)
## 120                       3                 1 Weekend (Sat & Sun)
## 121                       3                 1 Weekend (Sat & Sun)
## 122                       2                 0   Anytime (Mon Sun)
## 123                       2                 1   Anytime (Mon Sun)
## 124                       5                 1   Anytime (Mon Sun)
## 125                       2                 1   Anytime (Mon Sun)
## 126                       4                 2   Anytime (Mon Sun)
## 127                       4                 1   Anytime (Mon Sun)
## 128                       4                 1 Weekend (Sat & Sun)
## 129                       3                 1   Anytime (Mon Sun)
## 130                       5                 1   Anytime (Mon Sun)
## 131                       5                 1   Anytime (Mon Sun)
## 132                       2                 0  Weekdays (Mon Fri)
## 133                       1                 1   Anytime (Mon Sun)
## 134                       4                 1   Anytime (Mon Sun)
## 135                       2                 1   Anytime (Mon Sun)
## 136                       2                 1 Weekend (Sat & Sun)
## 137                       4                 1   Anytime (Mon Sun)
## 138                       4                 1   Anytime (Mon Sun)
## 139                       3                 1 Weekend (Sat & Sun)
## 140                       1                 1   Anytime (Mon Sun)
## 141                       5                 1   Anytime (Mon Sun)
## 142                       3                 1 Weekend (Sat & Sun)
## 143                       2                 1   Anytime (Mon Sun)
## 144                       1                 1   Anytime (Mon Sun)
## 145                       1                 1   Anytime (Mon Sun)
## 146                       2                 1   Anytime (Mon Sun)
## 147                       1                 1   Anytime (Mon Sun)
## 148                       2                 1   Anytime (Mon Sun)
## 149                       4                 1   Anytime (Mon Sun)
## 150                       2                 0   Anytime (Mon Sun)
## 151                       1                 1   Anytime (Mon Sun)
## 152                       1                 1   Anytime (Mon Sun)
## 153                       1                 1   Anytime (Mon Sun)
## 154                       5                 2   Anytime (Mon Sun)
## 155                       2                 1   Anytime (Mon Sun)
## 156                       1                 1   Anytime (Mon Sun)
## 157                       4                 0   Anytime (Mon Sun)
## 158                       1                 1   Anytime (Mon Sun)
## 159                       2                 0 Weekend (Sat & Sun)
## 160                       4                 1   Anytime (Mon Sun)
## 161                       1                 1   Anytime (Mon Sun)
## 162                       2                 1 Weekend (Sat & Sun)
## 163                       4                 1   Anytime (Mon Sun)
## 164                       5                 1  Weekdays (Mon Fri)
## 165                       4                 1   Anytime (Mon Sun)
## 166                       2                 1   Anytime (Mon Sun)
## 167                       4                 1 Weekend (Sat & Sun)
## 168                       4                 1   Anytime (Mon Sun)
## 169                       5                 2 Weekend (Sat & Sun)
## 170                       1                 1   Anytime (Mon Sun)
## 171                       2                 2 Weekend (Sat & Sun)
## 172                       1                 1   Anytime (Mon Sun)
## 173                       2                 1   Anytime (Mon Sun)
## 174                       2                 1   Anytime (Mon Sun)
## 175                       2                 0 Weekend (Sat & Sun)
## 176                       2                 1   Anytime (Mon Sun)
## 177                       2                 2   Anytime (Mon Sun)
## 178                       3                 1   Anytime (Mon Sun)
## 179                       1                 2  Weekdays (Mon Fri)
## 180                       4                 1   Anytime (Mon Sun)
## 181                       2                 0   Anytime (Mon Sun)
## 182                       2                 1 Weekend (Sat & Sun)
## 183                       2                 1   Anytime (Mon Sun)
## 184                       2                 1   Anytime (Mon Sun)
## 185                       2                 2   Anytime (Mon Sun)
## 186                       2                 1   Anytime (Mon Sun)
## 187                       1                 1   Anytime (Mon Sun)
## 188                       1                 2   Anytime (Mon Sun)
## 189                       4                 1   Anytime (Mon Sun)
## 190                       1                 0   Anytime (Mon Sun)
## 191                       2                 1   Anytime (Mon Sun)
## 192                       1                 1 Weekend (Sat & Sun)
## 193                       2                 1   Anytime (Mon Sun)
## 194                       1                 1   Anytime (Mon Sun)
## 195                       1                 1   Anytime (Mon Sun)
## 196                       4                 1   Anytime (Mon Sun)
## 197                       2                 0   Anytime (Mon Sun)
## 198                       2                 0   Anytime (Mon Sun)
## 199                       2                 1   Anytime (Mon Sun)
## 200                       3                 1   Anytime (Mon Sun)
## 201                       3                 1   Anytime (Mon Sun)
## 202                       3                 1 Weekend (Sat & Sun)
## 203                       3                 1   Anytime (Mon Sun)
## 204                       4                 1 Weekend (Sat & Sun)
## 205                       3                 0   Anytime (Mon Sun)
## 206                       3                 1   Anytime (Mon Sun)
## 207                       3                 2 Weekend (Sat & Sun)
## 208                       2                 1   Anytime (Mon Sun)
## 209                       4                 1   Anytime (Mon Sun)
## 210                       2                 1   Anytime (Mon Sun)
## 211                       4                 1   Anytime (Mon Sun)
## 212                       1                 1   Anytime (Mon Sun)
## 213                       3                 2   Anytime (Mon Sun)
## 214                       1                 1   Anytime (Mon Sun)
## 215                       2                 2   Anytime (Mon Sun)
## 216                       2                 1   Anytime (Mon Sun)
## 217                       2                 1 Weekend (Sat & Sun)
## 218                       5                 1 Weekend (Sat & Sun)
## 219                       1                 1   Anytime (Mon Sun)
## 220                       2                 1   Anytime (Mon Sun)
## 221                       2                 0   Anytime (Mon Sun)
## 222                       1                 1   Anytime (Mon Sun)
## 223                       2                 1   Anytime (Mon Sun)
## 224                       3                 1 Weekend (Sat & Sun)
## 225                       3                 0   Anytime (Mon Sun)
## 226                       1                 1   Anytime (Mon Sun)
## 227                       2                 1 Weekend (Sat & Sun)
## 228                       1                 0   Anytime (Mon Sun)
## 229                       2                 2 Weekend (Sat & Sun)
## 230                       1                 1   Anytime (Mon Sun)
## 231                       2                 1   Anytime (Mon Sun)
## 232                       1                 1   Anytime (Mon Sun)
## 233                       2                 1   Anytime (Mon Sun)
## 234                       2                 2   Anytime (Mon Sun)
## 235                       2                 1 Weekend (Sat & Sun)
## 236                       5                 1   Anytime (Mon Sun)
## 237                       2                 1   Anytime (Mon Sun)
## 238                       5                 1   Anytime (Mon Sun)
## 239                       2                 1   Anytime (Mon Sun)
## 240                       1                 2   Anytime (Mon Sun)
## 241                       3                 1   Anytime (Mon Sun)
## 242                       2                 0   Anytime (Mon Sun)
## 243                       2                 1 Weekend (Sat & Sun)
## 244                       5                 1 Weekend (Sat & Sun)
## 245                       2                 1   Anytime (Mon Sun)
## 246                       4                 1   Anytime (Mon Sun)
## 247                       2                 2   Anytime (Mon Sun)
## 248                       3                 0   Anytime (Mon Sun)
## 249                       2                 1   Anytime (Mon Sun)
## 250                       1                 1   Anytime (Mon Sun)
## 251                       1                 1   Anytime (Mon Sun)
## 252                       2                 1   Anytime (Mon Sun)
## 253                       4                 1   Anytime (Mon Sun)
## 254                       2                 1   Anytime (Mon Sun)
## 255                       2                 0   Anytime (Mon Sun)
## 256                       3                 1   Anytime (Mon Sun)
## 257                       1                 1  Weekdays (Mon Fri)
## 258                       4                 1 Weekend (Sat & Sun)
## 259                       2                 1   Anytime (Mon Sun)
## 260                       1                 0   Anytime (Mon Sun)
## 261                       2                 1   Anytime (Mon Sun)
## 262                       3                 1 Weekend (Sat & Sun)
## 263                       2                 1   Anytime (Mon Sun)
## 264                       1                 2 Weekend (Sat & Sun)
## 265                       4                 1   Anytime (Mon Sun)
## 266                       5                 1 Weekend (Sat & Sun)
## 267                       2                 1   Anytime (Mon Sun)
## 268                       2                 1   Anytime (Mon Sun)
## 269                       1                 2   Anytime (Mon Sun)
## 270                       4                 1   Anytime (Mon Sun)
## 271                       5                 1   Anytime (Mon Sun)
## 272                       2                 0   Anytime (Mon Sun)
## 273                       4                 1   Anytime (Mon Sun)
## 274                       5                 1 Weekend (Sat & Sun)
## 275                       2                 1   Anytime (Mon Sun)
## 276                       1                 1  Weekdays (Mon Fri)
## 277                       1                 1   Anytime (Mon Sun)
## 278                       5                 1 Weekend (Sat & Sun)
## 279                       1                 1   Anytime (Mon Sun)
## 280                       2                 1 Weekend (Sat & Sun)
## 281                       2                 1   Anytime (Mon Sun)
## 282                       2                 2 Weekend (Sat & Sun)
## 283                       1                 1   Anytime (Mon Sun)
## 284                       1                 1   Anytime (Mon Sun)
## 285                       2                 1  Weekdays (Mon Fri)
## 286                       3                 1   Anytime (Mon Sun)
## 287                       3                 1   Anytime (Mon Sun)
## 288                       2                 1 Weekend (Sat & Sun)
## 289                       5                 1   Anytime (Mon Sun)
## 290                       5                 0   Anytime (Mon Sun)
## 291                       4                 1 Weekend (Sat & Sun)
## 292                       5                 1   Anytime (Mon Sun)
## 293                       4                 1 Weekend (Sat & Sun)
## 294                       5                 1   Anytime (Mon Sun)
## 295                       2                 2 Weekend (Sat & Sun)
## 296                       2                 1   Anytime (Mon Sun)
## 297                       4                 1   Anytime (Mon Sun)
## 298                       1                 1   Anytime (Mon Sun)
## 299                       3                 2   Anytime (Mon Sun)
## 300                       1                 1   Anytime (Mon Sun)
## 301                       2                 2   Anytime (Mon Sun)
## 302                       2                 1   Anytime (Mon Sun)
## 303                       2                 1 Weekend (Sat & Sun)
## 304                       5                 1 Weekend (Sat & Sun)
## 305                       1                 1   Anytime (Mon Sun)
## 306                       2                 1   Anytime (Mon Sun)
## 307                       2                 0   Anytime (Mon Sun)
## 308                       1                 1   Anytime (Mon Sun)
## 309                       2                 1   Anytime (Mon Sun)
## 310                       3                 1 Weekend (Sat & Sun)
## 311                       3                 0   Anytime (Mon Sun)
## 312                       1                 1   Anytime (Mon Sun)
## 313                       2                 1 Weekend (Sat & Sun)
## 314                       1                 0   Anytime (Mon Sun)
## 315                       4                 1   Anytime (Mon Sun)
## 316                       1                 0   Anytime (Mon Sun)
## 317                       2                 1   Anytime (Mon Sun)
## 318                       1                 1 Weekend (Sat & Sun)
## 319                       2                 1   Anytime (Mon Sun)
## 320                       1                 1   Anytime (Mon Sun)
## 321                       1                 1   Anytime (Mon Sun)
## 322                       4                 1   Anytime (Mon Sun)
## 323                       2                 0   Anytime (Mon Sun)
## 324                       2                 0   Anytime (Mon Sun)
## 325                       2                 1   Anytime (Mon Sun)
## 326                       3                 1   Anytime (Mon Sun)
## 327                       3                 1   Anytime (Mon Sun)
## 328                       3                 1 Weekend (Sat & Sun)
## 329                       3                 1   Anytime (Mon Sun)
## 330                       4                 1 Weekend (Sat & Sun)
## 331                       4                 1   Anytime (Mon Sun)
## 332                       1                 0   Anytime (Mon Sun)
## 333                       2                 1   Anytime (Mon Sun)
## 334                       1                 1 Weekend (Sat & Sun)
## 335                       2                 1   Anytime (Mon Sun)
## 336                       1                 1   Anytime (Mon Sun)
## 337                       1                 1   Anytime (Mon Sun)
## 338                       4                 1   Anytime (Mon Sun)
## 339                       2                 0   Anytime (Mon Sun)
## 340                       2                 0   Anytime (Mon Sun)
## 341                       2                 1   Anytime (Mon Sun)
## 342                       1                 1   Anytime (Mon Sun)
## 343                       2                 2   Anytime (Mon Sun)
## 344                       2                 1   Anytime (Mon Sun)
## 345                       2                 1 Weekend (Sat & Sun)
## 346                       5                 1 Weekend (Sat & Sun)
## 347                       1                 1   Anytime (Mon Sun)
## 348                       2                 1   Anytime (Mon Sun)
## 349                       2                 0   Anytime (Mon Sun)
## 350                       1                 1   Anytime (Mon Sun)
## 351                       2                 1   Anytime (Mon Sun)
## 352                       3                 1 Weekend (Sat & Sun)
## 353                       3                 0   Anytime (Mon Sun)
## 354                       1                 1   Anytime (Mon Sun)
## 355                       2                 1 Weekend (Sat & Sun)
## 356                       1                 0   Anytime (Mon Sun)
## 357                       2                 2 Weekend (Sat & Sun)
## 358                       1                 1   Anytime (Mon Sun)
## 359                       2                 1   Anytime (Mon Sun)
## 360                       1                 1   Anytime (Mon Sun)
## 361                       2                 1   Anytime (Mon Sun)
## 362                       2                 2   Anytime (Mon Sun)
## 363                       2                 1 Weekend (Sat & Sun)
## 364                       5                 1   Anytime (Mon Sun)
## 365                       2                 1 Weekend (Sat & Sun)
## 366                       5                 1   Anytime (Mon Sun)
## 367                       5                 0   Anytime (Mon Sun)
## 368                       4                 1 Weekend (Sat & Sun)
## 369                       5                 1   Anytime (Mon Sun)
## 370                       4                 1 Weekend (Sat & Sun)
## 371                       5                 1   Anytime (Mon Sun)
## 372                       2                 2 Weekend (Sat & Sun)
## 373                       1                 1 Weekend (Sat & Sun)
##        Maximum.wait.time Residence.in.busy.location Google.Maps.Accuracy
## 1             30 minutes                          4                    3
## 2             30 minutes                          5                    3
## 3             45 minutes                          4                    5
## 4             30 minutes                          2                    4
## 5             30 minutes                          4                    4
## 6             45 minutes                          3                    4
## 7             45 minutes                          4                    5
## 8             45 minutes                          4                    4
## 9             30 minutes                          2                    2
## 10            45 minutes                          5                    2
## 11            30 minutes                          4                    4
## 12            30 minutes                          4                    3
## 13            45 minutes                          3                    5
## 14            30 minutes                          5                    5
## 15            60 minutes                          3                    3
## 16            45 minutes                          2                    4
## 17            45 minutes                          5                    5
## 18            45 minutes                          3                    2
## 19  More than 60 minutes                          1                    1
## 20            45 minutes                          4                    4
## 21            45 minutes                          5                    5
## 22            30 minutes                          3                    3
## 23            45 minutes                          4                    5
## 24            30 minutes                          3                    3
## 25            45 minutes                          3                    4
## 26            45 minutes                          2                    5
## 27            30 minutes                          3                    3
## 28            15 minutes                          4                    3
## 29            45 minutes                          5                    4
## 30            30 minutes                          4                    4
## 31            30 minutes                          4                    2
## 32            15 minutes                          4                    4
## 33            15 minutes                          4                    4
## 34            45 minutes                          1                    5
## 35            45 minutes                          3                    4
## 36            60 minutes                          4                    4
## 37            45 minutes                          3                    4
## 38            45 minutes                          4                    3
## 39  More than 60 minutes                          4                    5
## 40            30 minutes                          4                    4
## 41            30 minutes                          4                    4
## 42            30 minutes                          4                    5
## 43            30 minutes                          3                    4
## 44            30 minutes                          4                    5
## 45            45 minutes                          4                    5
## 46            30 minutes                          3                    2
## 47            45 minutes                          2                    4
## 48            15 minutes                          4                    4
## 49            45 minutes                          3                    3
## 50            45 minutes                          3                    3
## 51            30 minutes                          5                    4
## 52            30 minutes                          4                    4
## 53            45 minutes                          4                    4
## 54            30 minutes                          2                    3
## 55            60 minutes                          4                    4
## 56            60 minutes                          4                    5
## 57            45 minutes                          4                    3
## 58            30 minutes                          3                    5
## 59            60 minutes                          4                    4
## 60            30 minutes                          5                    4
## 61            60 minutes                          2                    2
## 62            30 minutes                          5                    5
## 63            45 minutes                          2                    1
## 64            60 minutes                          3                    3
## 65            30 minutes                          1                    2
## 66            45 minutes                          3                    3
## 67            45 minutes                          3                    3
## 68            30 minutes                          4                    3
## 69            30 minutes                          5                    5
## 70            45 minutes                          5                    5
## 71            45 minutes                          3                    2
## 72            30 minutes                          4                    4
## 73            30 minutes                          3                    3
## 74            45 minutes                          4                    5
## 75            45 minutes                          4                    4
## 76            30 minutes                          4                    3
## 77            30 minutes                          5                    5
## 78            45 minutes                          3                    1
## 79            45 minutes                          4                    5
## 80            45 minutes                          3                    3
## 81            60 minutes                          4                    3
## 82            30 minutes                          4                    4
## 83            45 minutes                          4                    4
## 84  More than 60 minutes                          3                    3
## 85            45 minutes                          3                    4
## 86            45 minutes                          3                    4
## 87            60 minutes                          4                    3
## 88            45 minutes                          4                    5
## 89  More than 60 minutes                          4                    4
## 90            15 minutes                          4                    5
## 91            30 minutes                          5                    5
## 92            30 minutes                          4                    2
## 93            45 minutes                          3                    4
## 94            45 minutes                          3                    3
## 95            45 minutes                          3                    3
## 96            60 minutes                          4                    4
## 97            30 minutes                          4                    3
## 98            45 minutes                          5                    5
## 99            45 minutes                          3                    5
## 100           45 minutes                          5                    4
## 101           30 minutes                          4                    3
## 102           15 minutes                          4                    4
## 103           45 minutes                          4                    3
## 104           45 minutes                          1                    4
## 105           30 minutes                          5                    3
## 106           45 minutes                          4                    4
## 107           30 minutes                          4                    4
## 108           30 minutes                          5                    3
## 109           45 minutes                          1                    1
## 110           45 minutes                          3                    3
## 111           30 minutes                          4                    3
## 112           15 minutes                          4                    5
## 113           45 minutes                          4                    3
## 114           15 minutes                          2                    1
## 115           60 minutes                          4                    4
## 116           30 minutes                          2                    4
## 117           30 minutes                          4                    5
## 118           30 minutes                          2                    4
## 119           30 minutes                          5                    4
## 120           30 minutes                          2                    4
## 121           45 minutes                          3                    3
## 122           60 minutes                          4                    5
## 123           30 minutes                          4                    4
## 124           15 minutes                          4                    5
## 125           45 minutes                          2                    4
## 126           30 minutes                          3                    2
## 127           45 minutes                          4                    5
## 128           45 minutes                          2                    3
## 129           30 minutes                          4                    5
## 130           45 minutes                          3                    4
## 131           45 minutes                          4                    5
## 132           30 minutes                          4                    4
## 133           45 minutes                          4                    5
## 134           45 minutes                          5                    5
## 135           30 minutes                          4                    3
## 136           30 minutes                          3                    3
## 137           30 minutes                          2                    3
## 138           45 minutes                          5                    5
## 139           45 minutes                          3                    3
## 140           30 minutes                          4                    5
## 141           30 minutes                          4                    5
## 142           45 minutes                          3                    3
## 143           30 minutes                          4                    5
## 144           60 minutes                          4                    5
## 145           15 minutes                          4                    5
## 146           45 minutes                          4                    4
## 147           45 minutes                          4                    5
## 148           15 minutes                          4                    5
## 149           45 minutes                          4                    4
## 150 More than 60 minutes                          4                    5
## 151           30 minutes                          4                    5
## 152           15 minutes                          4                    5
## 153           15 minutes                          2                    5
## 154           45 minutes                          5                    3
## 155           45 minutes                          4                    3
## 156           15 minutes                          4                    5
## 157 More than 60 minutes                          4                    5
## 158           30 minutes                          4                    5
## 159           45 minutes                          4                    5
## 160           30 minutes                          2                    2
## 161           30 minutes                          4                    5
## 162           45 minutes                          3                    2
## 163           45 minutes                          4                    5
## 164           60 minutes                          4                    4
## 165           30 minutes                          4                    4
## 166           30 minutes                          4                    4
## 167           45 minutes                          4                    5
## 168           45 minutes                          4                    4
## 169           45 minutes                          5                    4
## 170           15 minutes                          4                    3
## 171           60 minutes                          4                    2
## 172           45 minutes                          4                    5
## 173           30 minutes                          4                    4
## 174           60 minutes                          4                    5
## 175           30 minutes                          4                    4
## 176           45 minutes                          4                    4
## 177           45 minutes                          3                    2
## 178           30 minutes                          2                    2
## 179           60 minutes                          4                    3
## 180           45 minutes                          4                    4
## 181 More than 60 minutes                          4                    4
## 182           30 minutes                          4                    5
## 183           15 minutes                          4                    4
## 184           45 minutes                          5                    5
## 185 More than 60 minutes                          4                    4
## 186           30 minutes                          4                    5
## 187           45 minutes                          4                    5
## 188           30 minutes                          4                    5
## 189           45 minutes                          5                    5
## 190           45 minutes                          4                    5
## 191           45 minutes                          4                    5
## 192           45 minutes                          4                    5
## 193           15 minutes                          4                    4
## 194           15 minutes                          1                    1
## 195           30 minutes                          4                    5
## 196           15 minutes                          4                    4
## 197           60 minutes                          4                    4
## 198           60 minutes                          4                    5
## 199           30 minutes                          4                    5
## 200           30 minutes                          4                    3
## 201           45 minutes                          3                    3
## 202           45 minutes                          3                    3
## 203           45 minutes                          4                    4
## 204           30 minutes                          4                    4
## 205           60 minutes                          4                    4
## 206           45 minutes                          4                    3
## 207           30 minutes                          3                    3
## 208           45 minutes                          2                    2
## 209           45 minutes                          2                    2
## 210           30 minutes                          4                    3
## 211           45 minutes                          4                    3
## 212           45 minutes                          4                    3
## 213           30 minutes                          4                    5
## 214           30 minutes                          4                    3
## 215           45 minutes                          4                    4
## 216           30 minutes                          4                    3
## 217 More than 60 minutes                          4                    3
## 218           45 minutes                          4                    3
## 219           30 minutes                          4                    3
## 220           30 minutes                          4                    4
## 221           30 minutes                          4                    3
## 222           45 minutes                          3                    4
## 223           30 minutes                          4                    5
## 224           30 minutes                          4                    4
## 225           30 minutes                          4                    5
## 226           15 minutes                          4                    4
## 227           45 minutes                          4                    3
## 228 More than 60 minutes                          4                    4
## 229           60 minutes                          4                    5
## 230           30 minutes                          4                    4
## 231           15 minutes                          4                    4
## 232           30 minutes                          4                    4
## 233           30 minutes                          4                    3
## 234           60 minutes                          4                    2
## 235           15 minutes                          4                    2
## 236           30 minutes                          4                    5
## 237           45 minutes                          4                    5
## 238           30 minutes                          4                    5
## 239           45 minutes                          4                    5
## 240 More than 60 minutes                          4                    4
## 241           30 minutes                          2                    2
## 242 More than 60 minutes                          2                    4
## 243           45 minutes                          4                    5
## 244           45 minutes                          4                    3
## 245           30 minutes                          4                    5
## 246           15 minutes                          4                    3
## 247           60 minutes                          4                    4
## 248 More than 60 minutes                          2                    2
## 249           30 minutes                          2                    4
## 250           45 minutes                          4                    4
## 251           30 minutes                          4                    4
## 252           45 minutes                          4                    4
## 253           15 minutes                          4                    4
## 254           30 minutes                          4                    4
## 255           60 minutes                          4                    4
## 256 More than 60 minutes                          4                    4
## 257           15 minutes                          4                    3
## 258           30 minutes                          4                    3
## 259           45 minutes                          4                    4
## 260           60 minutes                          4                    5
## 261           30 minutes                          4                    5
## 262           45 minutes                          3                    3
## 263           45 minutes                          4                    5
## 264           45 minutes                          4                    4
## 265           45 minutes                          4                    5
## 266           30 minutes                          4                    4
## 267           45 minutes                          4                    5
## 268           45 minutes                          2                    2
## 269           60 minutes                          2                    2
## 270           60 minutes                          4                    4
## 271           15 minutes                          4                    4
## 272           60 minutes                          4                    5
## 273           30 minutes                          4                    5
## 274           15 minutes                          4                    5
## 275           45 minutes                          4                    5
## 276           15 minutes                          2                    5
## 277           45 minutes                          4                    4
## 278           30 minutes                          4                    2
## 279           45 minutes                          4                    4
## 280           45 minutes                          4                    4
## 281           45 minutes                          2                    2
## 282           45 minutes                          2                    3
## 283           45 minutes                          2                    2
## 284           30 minutes                          1                    4
## 285           15 minutes                          2                    2
## 286           45 minutes                          4                    5
## 287           30 minutes                          2                    4
## 288           30 minutes                          4                    4
## 289           45 minutes                          3                    4
## 290           45 minutes                          4                    5
## 291           45 minutes                          4                    4
## 292           30 minutes                          2                    2
## 293           45 minutes                          4                    4
## 294           45 minutes                          4                    4
## 295           45 minutes                          5                    2
## 296           30 minutes                          4                    3
## 297           45 minutes                          4                    3
## 298           45 minutes                          4                    3
## 299           30 minutes                          4                    5
## 300           30 minutes                          4                    3
## 301           45 minutes                          4                    4
## 302           30 minutes                          4                    3
## 303 More than 60 minutes                          4                    3
## 304           45 minutes                          4                    3
## 305           30 minutes                          4                    3
## 306           30 minutes                          4                    4
## 307           30 minutes                          4                    3
## 308           45 minutes                          3                    4
## 309           30 minutes                          4                    5
## 310           30 minutes                          4                    4
## 311           30 minutes                          4                    5
## 312           15 minutes                          4                    4
## 313           45 minutes                          4                    3
## 314 More than 60 minutes                          4                    4
## 315           45 minutes                          5                    5
## 316           45 minutes                          4                    5
## 317           45 minutes                          4                    5
## 318           45 minutes                          4                    5
## 319           15 minutes                          4                    4
## 320           15 minutes                          1                    1
## 321           30 minutes                          4                    5
## 322           15 minutes                          4                    4
## 323           60 minutes                          4                    4
## 324           60 minutes                          4                    5
## 325           30 minutes                          4                    5
## 326           30 minutes                          4                    3
## 327           45 minutes                          3                    3
## 328           45 minutes                          3                    3
## 329           45 minutes                          4                    4
## 330           30 minutes                          4                    4
## 331           45 minutes                          5                    5
## 332           45 minutes                          4                    5
## 333           45 minutes                          4                    5
## 334           45 minutes                          4                    5
## 335           15 minutes                          4                    4
## 336           15 minutes                          1                    1
## 337           30 minutes                          4                    5
## 338           15 minutes                          4                    4
## 339           60 minutes                          4                    4
## 340           60 minutes                          4                    5
## 341           30 minutes                          4                    5
## 342           30 minutes                          4                    3
## 343           45 minutes                          4                    4
## 344           30 minutes                          4                    3
## 345 More than 60 minutes                          4                    3
## 346           45 minutes                          4                    3
## 347           30 minutes                          4                    3
## 348           30 minutes                          4                    4
## 349           30 minutes                          4                    3
## 350           45 minutes                          3                    4
## 351           30 minutes                          4                    5
## 352           30 minutes                          4                    4
## 353           30 minutes                          4                    5
## 354           15 minutes                          4                    4
## 355           45 minutes                          4                    3
## 356 More than 60 minutes                          4                    4
## 357           60 minutes                          4                    5
## 358           30 minutes                          4                    4
## 359           15 minutes                          4                    4
## 360           30 minutes                          4                    4
## 361           30 minutes                          4                    3
## 362           60 minutes                          4                    2
## 363           15 minutes                          4                    2
## 364           30 minutes                          4                    5
## 365           30 minutes                          4                    4
## 366           45 minutes                          3                    4
## 367           45 minutes                          4                    5
## 368           45 minutes                          4                    4
## 369           30 minutes                          2                    2
## 370           45 minutes                          4                    4
## 371           45 minutes                          4                    4
## 372           45 minutes                          5                    2
## 373           30 minutes                          4                    4
##     Good.Road.Condition Low.quantity.low.time Delivery.person.ability
## 1                     3                     3                       3
## 2                     2                     1                       4
## 3                     3                     3                       4
## 4                     4                     3                       4
## 5                     4                     4                       4
## 6                     3                     3                       3
## 7                     2                     4                       5
## 8                     4                     3                       2
## 9                     3                     4                       4
## 10                    4                     2                       5
## 11                    3                     2                       4
## 12                    2                     5                       4
## 13                    5                     2                       4
## 14                    3                     2                       5
## 15                    4                     4                       4
## 16                    3                     4                       3
## 17                    4                     1                       5
## 18                    3                     3                       3
## 19                    2                     2                       1
## 20                    5                     2                       4
## 21                    5                     1                       2
## 22                    3                     3                       3
## 23                    5                     5                       5
## 24                    3                     3                       3
## 25                    4                     4                       4
## 26                    2                     2                       5
## 27                    3                     2                       3
## 28                    4                     4                       3
## 29                    4                     5                       2
## 30                    4                     3                       4
## 31                    4                     4                       4
## 32                    4                     4                       4
## 33                    2                     4                       5
## 34                    5                     1                       5
## 35                    3                     2                       4
## 36                    1                     4                       3
## 37                    4                     2                       4
## 38                    4                     3                       3
## 39                    5                     3                       4
## 40                    3                     3                       5
## 41                    4                     3                       5
## 42                    5                     1                       4
## 43                    4                     2                       4
## 44                    4                     5                       4
## 45                    4                     2                       4
## 46                    3                     2                       3
## 47                    3                     4                       3
## 48                    4                     4                       4
## 49                    3                     3                       3
## 50                    3                     3                       3
## 51                    4                     4                       4
## 52                    4                     4                       4
## 53                    3                     3                       4
## 54                    2                     3                       5
## 55                    5                     3                       3
## 56                    4                     3                       4
## 57                    2                     4                       4
## 58                    5                     5                       5
## 59                    4                     2                       5
## 60                    3                     4                       3
## 61                    3                     1                       1
## 62                    5                     2                       3
## 63                    3                     1                       5
## 64                    3                     3                       3
## 65                    3                     2                       2
## 66                    3                     3                       3
## 67                    3                     3                       3
## 68                    4                     1                       4
## 69                    2                     1                       5
## 70                    5                     2                       4
## 71                    3                     2                       3
## 72                    4                     4                       4
## 73                    5                     4                       3
## 74                    5                     1                       5
## 75                    4                     3                       5
## 76                    2                     5                       4
## 77                    3                     5                       5
## 78                    5                     4                       4
## 79                    5                     1                       5
## 80                    3                     5                       3
## 81                    3                     3                       3
## 82                    4                     2                       2
## 83                    3                     2                       4
## 84                    4                     1                       4
## 85                    1                     3                       4
## 86                    3                     2                       4
## 87                    3                     2                       3
## 88                    4                     3                       4
## 89                    3                     3                       2
## 90                    4                     3                       4
## 91                    3                     1                       5
## 92                    4                     2                       4
## 93                    1                     3                       4
## 94                    3                     3                       3
## 95                    3                     3                       3
## 96                    3                     4                       4
## 97                    4                     4                       3
## 98                    5                     2                       4
## 99                    5                     2                       5
## 100                   3                     2                       3
## 101                   4                     5                       4
## 102                   5                     3                       4
## 103                   5                     5                       3
## 104                   5                     4                       4
## 105                   4                     3                       3
## 106                   3                     4                       4
## 107                   4                     4                       5
## 108                   4                     3                       3
## 109                   5                     1                       1
## 110                   3                     3                       3
## 111                   4                     4                       3
## 112                   4                     3                       4
## 113                   4                     2                       4
## 114                   1                     4                       4
## 115                   4                     4                       2
## 116                   5                     5                       5
## 117                   4                     5                       4
## 118                   4                     4                       4
## 119                   4                     2                       5
## 120                   4                     4                       4
## 121                   3                     3                       3
## 122                   5                     4                       4
## 123                   5                     2                       2
## 124                   4                     5                       4
## 125                   4                     2                       4
## 126                   2                     3                       3
## 127                   4                     4                       4
## 128                   2                     2                       2
## 129                   5                     4                       4
## 130                   4                     4                       4
## 131                   5                     5                       4
## 132                   5                     4                       5
## 133                   5                     4                       4
## 134                   5                     1                       5
## 135                   3                     1                       3
## 136                   4                     3                       4
## 137                   2                     4                       3
## 138                   5                     1                       5
## 139                   3                     3                       3
## 140                   4                     4                       5
## 141                   4                     5                       4
## 142                   3                     3                       3
## 143                   4                     3                       3
## 144                   4                     5                       4
## 145                   4                     5                       5
## 146                   5                     5                       5
## 147                   5                     4                       5
## 148                   5                     5                       5
## 149                   4                     1                       4
## 150                   4                     4                       4
## 151                   4                     5                       4
## 152                   4                     4                       5
## 153                   4                     4                       3
## 154                   2                     3                       4
## 155                   2                     2                       2
## 156                   4                     5                       4
## 157                   4                     5                       4
## 158                   4                     4                       4
## 159                   4                     4                       5
## 160                   3                     3                       3
## 161                   4                     4                       5
## 162                   2                     1                       4
## 163                   3                     3                       4
## 164                   5                     4                       5
## 165                   4                     3                       3
## 166                   3                     4                       4
## 167                   4                     3                       4
## 168                   3                     2                       4
## 169                   4                     1                       1
## 170                   4                     4                       4
## 171                   3                     4                       3
## 172                   4                     5                       4
## 173                   4                     4                       4
## 174                   4                     4                       5
## 175                   5                     4                       3
## 176                   5                     4                       4
## 177                   3                     3                       2
## 178                   3                     4                       4
## 179                   3                     2                       2
## 180                   5                     4                       4
## 181                   5                     4                       4
## 182                   4                     4                       4
## 183                   5                     4                       5
## 184                   5                     5                       5
## 185                   5                     4                       3
## 186                   4                     5                       4
## 187                   4                     4                       4
## 188                   5                     4                       4
## 189                   5                     4                       4
## 190                   4                     4                       5
## 191                   4                     3                       4
## 192                   4                     4                       2
## 193                   5                     4                       4
## 194                   1                     1                       2
## 195                   4                     4                       4
## 196                   2                     4                       3
## 197                   4                     4                       5
## 198                   4                     4                       4
## 199                   4                     4                       5
## 200                   4                     4                       3
## 201                   4                     4                       4
## 202                   3                     2                       3
## 203                   2                     2                       3
## 204                   5                     3                       4
## 205                   4                     3                       2
## 206                   4                     4                       3
## 207                   3                     4                       3
## 208                   2                     3                       4
## 209                   4                     2                       3
## 210                   3                     4                       3
## 211                   4                     3                       3
## 212                   3                     4                       3
## 213                   4                     3                       4
## 214                   4                     3                       2
## 215                   3                     2                       2
## 216                   4                     4                       5
## 217                   4                     3                       4
## 218                   4                     5                       5
## 219                   3                     4                       3
## 220                   5                     4                       4
## 221                   4                     3                       2
## 222                   4                     4                       5
## 223                   4                     3                       4
## 224                   4                     3                       3
## 225                   4                     4                       5
## 226                   5                     4                       5
## 227                   4                     4                       5
## 228                   5                     4                       2
## 229                   4                     4                       5
## 230                   5                     4                       4
## 231                   5                     4                       4
## 232                   5                     4                       4
## 233                   4                     3                       4
## 234                   2                     4                       2
## 235                   2                     3                       4
## 236                   5                     4                       4
## 237                   4                     4                       5
## 238                   4                     5                       5
## 239                   4                     5                       5
## 240                   5                     2                       2
## 241                   2                     2                       1
## 242                   3                     4                       4
## 243                   2                     4                       5
## 244                   4                     4                       4
## 245                   4                     4                       4
## 246                   2                     4                       4
## 247                   5                     4                       4
## 248                   2                     1                       2
## 249                   2                     3                       2
## 250                   5                     4                       5
## 251                   5                     4                       5
## 252                   5                     4                       4
## 253                   5                     4                       2
## 254                   5                     4                       4
## 255                   5                     3                       3
## 256                   4                     3                       2
## 257                   4                     3                       2
## 258                   4                     4                       5
## 259                   5                     4                       5
## 260                   4                     4                       5
## 261                   4                     3                       4
## 262                   3                     3                       3
## 263                   4                     3                       4
## 264                   5                     5                       5
## 265                   4                     3                       4
## 266                   2                     2                       2
## 267                   4                     5                       5
## 268                   2                     2                       2
## 269                   2                     2                       3
## 270                   5                     4                       5
## 271                   3                     4                       4
## 272                   4                     4                       3
## 273                   4                     4                       4
## 274                   4                     2                       2
## 275                   4                     1                       1
## 276                   2                     2                       2
## 277                   5                     5                       5
## 278                   2                     2                       4
## 279                   4                     2                       3
## 280                   5                     4                       4
## 281                   2                     1                       3
## 282                   4                     2                       2
## 283                   2                     2                       2
## 284                   2                     2                       2
## 285                   3                     4                       4
## 286                   3                     3                       4
## 287                   4                     3                       4
## 288                   4                     4                       4
## 289                   3                     3                       3
## 290                   2                     4                       5
## 291                   4                     3                       2
## 292                   3                     4                       4
## 293                   4                     2                       2
## 294                   5                     3                       4
## 295                   4                     2                       5
## 296                   3                     4                       3
## 297                   4                     3                       3
## 298                   3                     4                       3
## 299                   4                     3                       4
## 300                   4                     3                       2
## 301                   3                     2                       2
## 302                   4                     4                       5
## 303                   4                     3                       4
## 304                   4                     5                       5
## 305                   3                     4                       3
## 306                   5                     4                       4
## 307                   4                     3                       2
## 308                   4                     4                       5
## 309                   4                     3                       4
## 310                   4                     3                       3
## 311                   4                     4                       5
## 312                   5                     4                       5
## 313                   4                     4                       5
## 314                   5                     4                       2
## 315                   5                     4                       4
## 316                   4                     4                       5
## 317                   4                     3                       4
## 318                   4                     4                       2
## 319                   5                     4                       4
## 320                   1                     1                       2
## 321                   4                     4                       4
## 322                   2                     4                       3
## 323                   4                     4                       5
## 324                   4                     4                       4
## 325                   4                     4                       5
## 326                   4                     4                       3
## 327                   4                     4                       4
## 328                   3                     2                       3
## 329                   2                     2                       3
## 330                   5                     3                       4
## 331                   5                     4                       4
## 332                   4                     4                       5
## 333                   4                     3                       4
## 334                   4                     4                       2
## 335                   5                     4                       4
## 336                   1                     1                       2
## 337                   4                     4                       4
## 338                   2                     4                       3
## 339                   4                     4                       5
## 340                   4                     4                       4
## 341                   4                     4                       5
## 342                   4                     3                       2
## 343                   3                     2                       2
## 344                   4                     4                       5
## 345                   4                     3                       4
## 346                   4                     5                       5
## 347                   3                     4                       3
## 348                   5                     4                       4
## 349                   4                     3                       2
## 350                   4                     4                       5
## 351                   4                     3                       4
## 352                   4                     3                       3
## 353                   4                     4                       5
## 354                   5                     4                       5
## 355                   4                     4                       5
## 356                   5                     4                       2
## 357                   4                     4                       5
## 358                   5                     4                       4
## 359                   5                     4                       4
## 360                   5                     4                       4
## 361                   4                     3                       4
## 362                   2                     4                       2
## 363                   2                     3                       4
## 364                   5                     4                       4
## 365                   4                     4                       4
## 366                   3                     3                       3
## 367                   2                     4                       5
## 368                   4                     3                       2
## 369                   3                     4                       4
## 370                   4                     2                       2
## 371                   5                     3                       4
## 372                   4                     2                       5
## 373                   3                     2                       4
##     Influence.of.rating Less.Delivery.time High.Quality.of.package
## 1                     1                  4                       4
## 2                     1                  5                       5
## 3                     1                  3                       5
## 4                     1                  5                       3
## 5                     1                  3                       3
## 6                     1                  3                       5
## 7                     1                  5                       5
## 8                     2                  4                       3
## 9                     2                  3                       3
## 10                    1                  3                       5
## 11                    2                  2                       1
## 12                    1                  3                       3
## 13                    1                  4                       3
## 14                    1                  4                       4
## 15                    0                  1                       1
## 16                    1                  3                       5
## 17                    1                  2                       5
## 18                    1                  2                       5
## 19                    1                  3                       5
## 20                    1                  5                       5
## 21                    1                  5                       3
## 22                    1                  3                       3
## 23                    2                  4                       3
## 24                    1                  2                       2
## 25                    1                  4                       3
## 26                    1                  2                       3
## 27                    2                  3                       3
## 28                    0                  3                       5
## 29                    1                  3                       3
## 30                    1                  4                       4
## 31                    1                  5                       2
## 32                    1                  3                       3
## 33                    1                  5                       5
## 34                    1                  4                       5
## 35                    2                  3                       5
## 36                    1                  3                       3
## 37                    1                  5                       5
## 38                    1                  4                       4
## 39                    1                  3                       3
## 40                    1                  5                       5
## 41                    1                  3                       3
## 42                    1                  3                       5
## 43                    1                  3                       3
## 44                    0                  5                       4
## 45                    1                  4                       5
## 46                    1                  4                       2
## 47                    1                  3                       5
## 48                    1                  3                       3
## 49                    1                  2                       4
## 50                    2                  3                       3
## 51                    1                  2                       3
## 52                    1                  4                       4
## 53                    1                  3                       3
## 54                    1                  5                       5
## 55                    1                  5                       3
## 56                    1                  2                       4
## 57                    2                  3                       3
## 58                    1                  3                       5
## 59                    2                  5                       5
## 60                    0                  5                       5
## 61                    1                  5                       5
## 62                    1                  5                       5
## 63                    1                  4                       4
## 64                    1                  3                       3
## 65                    1                  2                       3
## 66                    1                  3                       3
## 67                    1                  3                       3
## 68                    1                  3                       2
## 69                    1                  5                       5
## 70                    1                  5                       5
## 71                    0                  4                       5
## 72                    0                  3                       5
## 73                    0                  3                       5
## 74                    1                  3                       5
## 75                    1                  3                       5
## 76                    1                  3                       3
## 77                    1                  5                       5
## 78                    1                  3                       3
## 79                    1                  3                       5
## 80                    2                  5                       5
## 81                    1                  3                       5
## 82                    1                  3                       5
## 83                    2                  5                       5
## 84                    2                  1                       2
## 85                    1                  3                       3
## 86                    2                  3                       5
## 87                    0                  3                       4
## 88                    0                  2                       5
## 89                    1                  4                       3
## 90                    1                  5                       3
## 91                    1                  5                       5
## 92                    1                  3                       3
## 93                    1                  3                       3
## 94                    1                  2                       4
## 95                    1                  2                       4
## 96                    0                  3                       3
## 97                    1                  3                       3
## 98                    1                  5                       5
## 99                    1                  5                       5
## 100                   1                  5                       3
## 101                   1                  3                       5
## 102                   0                  3                       3
## 103                   1                  5                       5
## 104                   1                  3                       4
## 105                   1                  3                       4
## 106                   1                  3                       4
## 107                   1                  4                       3
## 108                   1                  3                       4
## 109                   1                  3                       3
## 110                   1                  2                       4
## 111                   1                  5                       5
## 112                   1                  5                       5
## 113                   1                  3                       5
## 114                   1                  5                       5
## 115                   1                  3                       4
## 116                   1                  3                       5
## 117                   1                  3                       5
## 118                   0                  3                       3
## 119                   1                  5                       5
## 120                   0                  3                       3
## 121                   1                  3                       3
## 122                   0                  3                       3
## 123                   1                  3                       5
## 124                   0                  3                       5
## 125                   1                  3                       3
## 126                   1                  3                       5
## 127                   0                  2                       2
## 128                   1                  3                       4
## 129                   1                  3                       3
## 130                   1                  3                       3
## 131                   2                  3                       3
## 132                   0                  3                       5
## 133                   0                  3                       3
## 134                   1                  5                       5
## 135                   0                  5                       5
## 136                   1                  4                       3
## 137                   1                  2                       4
## 138                   1                  5                       5
## 139                   1                  3                       3
## 140                   1                  3                       5
## 141                   1                  3                       5
## 142                   1                  3                       3
## 143                   1                  3                       3
## 144                   1                  3                       5
## 145                   1                  3                       5
## 146                   1                  3                       5
## 147                   1                  3                       5
## 148                   1                  3                       5
## 149                   1                  5                       5
## 150                   0                  3                       3
## 151                   1                  3                       3
## 152                   2                  3                       5
## 153                   1                  3                       3
## 154                   1                  5                       5
## 155                   1                  3                       5
## 156                   1                  3                       5
## 157                   2                  2                       2
## 158                   1                  3                       5
## 159                   1                  3                       5
## 160                   2                  3                       4
## 161                   1                  3                       5
## 162                   1                  3                       5
## 163                   1                  3                       3
## 164                   0                  3                       2
## 165                   1                  3                       5
## 166                   1                  3                       3
## 167                   1                  3                       4
## 168                   2                  3                       4
## 169                   1                  2                       5
## 170                   1                  3                       5
## 171                   1                  3                       4
## 172                   1                  5                       5
## 173                   1                  3                       5
## 174                   1                  3                       3
## 175                   0                  2                       4
## 176                   1                  3                       3
## 177                   0                  3                       3
## 178                   1                  3                       3
## 179                   0                  4                       4
## 180                   2                  3                       4
## 181                   1                  4                       3
## 182                   1                  3                       3
## 183                   1                  3                       3
## 184                   1                  3                       3
## 185                   0                  4                       4
## 186                   1                  3                       3
## 187                   1                  3                       3
## 188                   1                  5                       3
## 189                   1                  3                       5
## 190                   1                  3                       3
## 191                   0                  2                       4
## 192                   1                  3                       4
## 193                   2                  3                       4
## 194                   0                  2                       1
## 195                   1                  3                       3
## 196                   1                  2                       4
## 197                   1                  3                       3
## 198                   0                  4                       4
## 199                   1                  4                       3
## 200                   1                  3                       3
## 201                   1                  3                       4
## 202                   0                  1                       2
## 203                   0                  4                       2
## 204                   1                  5                       5
## 205                   1                  3                       4
## 206                   0                  3                       4
## 207                   2                  3                       5
## 208                   1                  3                       4
## 209                   1                  3                       4
## 210                   0                  3                       4
## 211                   1                  3                       4
## 212                   2                  4                       2
## 213                   1                  3                       5
## 214                   1                  3                       2
## 215                   2                  3                       3
## 216                   1                  3                       4
## 217                   0                  4                       2
## 218                   1                  3                       3
## 219                   2                  3                       3
## 220                   0                  4                       4
## 221                   1                  3                       3
## 222                   1                  3                       5
## 223                   1                  3                       5
## 224                   1                  3                       3
## 225                   1                  3                       4
## 226                   2                  3                       3
## 227                   1                  3                       3
## 228                   2                  3                       3
## 229                   1                  5                       5
## 230                   1                  3                       3
## 231                   1                  3                       3
## 232                   1                  3                       3
## 233                   1                  3                       4
## 234                   0                  4                       2
## 235                   1                  3                       4
## 236                   1                  3                       4
## 237                   1                  3                       3
## 238                   1                  2                       2
## 239                   1                  3                       3
## 240                   0                  2                       2
## 241                   1                  3                       4
## 242                   1                  3                       3
## 243                   1                  5                       5
## 244                   1                  3                       3
## 245                   2                  5                       5
## 246                   1                  3                       3
## 247                   1                  3                       4
## 248                   1                  5                       5
## 249                   1                  3                       3
## 250                   2                  3                       3
## 251                   1                  3                       3
## 252                   1                  3                       3
## 253                   1                  3                       3
## 254                   2                  2                       2
## 255                   1                  3                       5
## 256                   1                  3                       3
## 257                   1                  3                       4
## 258                   1                  3                       3
## 259                   1                  3                       3
## 260                   1                  3                       3
## 261                   1                  3                       3
## 262                   1                  3                       3
## 263                   1                  3                       5
## 264                   1                  4                       2
## 265                   1                  3                       3
## 266                   1                  3                       3
## 267                   1                  3                       5
## 268                   1                  3                       5
## 269                   2                  3                       4
## 270                   1                  3                       5
## 271                   1                  3                       3
## 272                   1                  3                       5
## 273                   1                  3                       4
## 274                   1                  3                       5
## 275                   2                  4                       3
## 276                   1                  5                       5
## 277                   1                  3                       3
## 278                   1                  3                       3
## 279                   1                  3                       3
## 280                   1                  3                       3
## 281                   1                  2                       4
## 282                   1                  5                       3
## 283                   0                  2                       4
## 284                   1                  3                       4
## 285                   1                  3                       3
## 286                   1                  3                       5
## 287                   1                  5                       3
## 288                   1                  3                       3
## 289                   1                  3                       5
## 290                   1                  5                       5
## 291                   2                  4                       3
## 292                   2                  3                       3
## 293                   1                  4                       5
## 294                   1                  3                       5
## 295                   1                  3                       5
## 296                   0                  3                       4
## 297                   1                  3                       4
## 298                   2                  4                       2
## 299                   1                  3                       5
## 300                   1                  3                       2
## 301                   2                  3                       3
## 302                   1                  3                       4
## 303                   0                  4                       2
## 304                   1                  3                       3
## 305                   2                  3                       3
## 306                   0                  4                       4
## 307                   1                  3                       3
## 308                   1                  3                       5
## 309                   1                  3                       5
## 310                   1                  3                       3
## 311                   1                  3                       4
## 312                   2                  3                       3
## 313                   1                  3                       3
## 314                   2                  3                       3
## 315                   1                  3                       5
## 316                   1                  3                       3
## 317                   0                  2                       4
## 318                   1                  3                       4
## 319                   2                  3                       4
## 320                   0                  2                       1
## 321                   1                  3                       3
## 322                   1                  2                       4
## 323                   1                  3                       3
## 324                   0                  4                       4
## 325                   1                  4                       3
## 326                   1                  3                       3
## 327                   1                  3                       4
## 328                   0                  1                       2
## 329                   0                  4                       2
## 330                   1                  5                       5
## 331                   1                  3                       5
## 332                   1                  3                       3
## 333                   0                  2                       4
## 334                   1                  3                       4
## 335                   2                  3                       4
## 336                   0                  2                       1
## 337                   1                  3                       3
## 338                   1                  2                       4
## 339                   1                  3                       3
## 340                   0                  4                       4
## 341                   1                  4                       3
## 342                   1                  3                       2
## 343                   2                  3                       3
## 344                   1                  3                       4
## 345                   0                  4                       2
## 346                   1                  3                       3
## 347                   2                  3                       3
## 348                   0                  4                       4
## 349                   1                  3                       3
## 350                   1                  3                       5
## 351                   1                  3                       5
## 352                   1                  3                       3
## 353                   1                  3                       4
## 354                   2                  3                       3
## 355                   1                  3                       3
## 356                   2                  3                       3
## 357                   1                  5                       5
## 358                   1                  3                       3
## 359                   1                  3                       3
## 360                   1                  3                       3
## 361                   1                  3                       4
## 362                   0                  4                       2
## 363                   1                  3                       4
## 364                   1                  3                       4
## 365                   1                  3                       3
## 366                   1                  3                       5
## 367                   1                  5                       5
## 368                   2                  4                       3
## 369                   2                  3                       3
## 370                   1                  4                       5
## 371                   1                  3                       5
## 372                   1                  3                       5
## 373                   2                  2                       1
##     Number.of.calls Politeness Freshness Temperature Good.Taste Good.Quantity
## 1                 4          4         4           4          4             4
## 2                 5          5         5           5          5             5
## 3                 4          5         5           3          5             4
## 4                 4          5         5           5          5             3
## 5                 4          3         3           3          5             5
## 6                 5          5         5           5          5             5
## 7                 1          3         5           5          5             5
## 8                 4          2         3           4          5             5
## 9                 3          3         3           3          3             3
## 10                3          5         5           3          5             5
## 11                2          4         4           4          4             2
## 12                2          4         5           5          5             5
## 13                4          3         5           3          5             5
## 14                4          3         5           5          5             5
## 15                1          2         5           4          3             3
## 16                2          3         5           5          5             3
## 17                3          5         5           5          5             5
## 18                2          2         5           5          5             5
## 19                3          3         5           3          5             3
## 20                4          3         5           4          5             5
## 21                2          2         5           3          3             3
## 22                3          3         3           3          3             3
## 23                4          4         4           3          3             3
## 24                2          2         2           2          2             2
## 25                3          3         3           3          3             3
## 26                5          5         3           3          5             5
## 27                4          4         3           3          3             3
## 28                4          3         3           5          5             5
## 29                3          5         5           3          5             5
## 30                2          4         4           4          4             4
## 31                5          4         3           4          5             3
## 32                4          3         5           5          5             5
## 33                4          3         5           3          5             3
## 34                5          4         5           5          5             3
## 35                3          5         5           3          5             5
## 36                2          3         4           3          2             3
## 37                4          3         5           3          5             5
## 38                2          4         4           4          4             4
## 39                4          3         3           4          3             3
## 40                2          5         5           3          5             5
## 41                4          3         5           3          3             3
## 42                3          5         5           5          5             5
## 43                2          4         5           3          3             3
## 44                3          4         5           5          3             4
## 45                1          3         5           3          5             5
## 46                4          2         2           1          2             2
## 47                2          3         5           5          5             3
## 48                4          3         5           5          5             5
## 49                2          2         3           3          3             3
## 50                1          3         5           5          5             5
## 51                3          3         5           3          5             3
## 52                4          4         4           4          4             4
## 53                3          3         3           3          3             3
## 54                4          5         5           4          5             4
## 55                4          3         5           3          5             5
## 56                1          2         5           5          3             5
## 57                4          3         3           3          3             3
## 58                3          3         5           5          5             5
## 59                5          5         5           5          5             5
## 60                3          3         5           3          5             5
## 61                2          5         5           5          5             5
## 62                4          5         5           5          5             5
## 63                5          5         5           3          5             4
## 64                3          3         3           3          3             3
## 65                3          4         4           5          5             5
## 66                4          4         5           5          5             5
## 67                4          4         5           5          5             5
## 68                4          5         5           5          5             3
## 69                1          2         5           4          5             3
## 70                3          5         5           5          5             5
## 71                3          3         5           3          5             5
## 72                2          3         5           5          5             5
## 73                4          5         5           5          5             5
## 74                5          5         5           3          5             5
## 75                2          3         5           5          5             5
## 76                2          4         5           5          5             5
## 77                5          5         5           5          5             5
## 78                4          5         5           3          5             5
## 79                1          4         3           5          5             3
## 80                2          5         5           3          5             5
## 81                1          4         5           4          3             5
## 82                4          4         3           5          5             5
## 83                2          3         5           3          5             5
## 84                1          5         2           2          2             2
## 85                3          5         5           5          5             5
## 86                3          5         5           3          5             5
## 87                2          2         3           2          3             2
## 88                2          3         2           5          3             3
## 89                3          3         3           5          3             2
## 90                5          3         4           3          3             4
## 91                5          2         5           5          5             5
## 92                2          4         3           4          3             3
## 93                3          5         5           5          5             5
## 94                2          2         3           3          3             3
## 95                2          2         3           3          3             3
## 96                4          3         2           2          2             3
## 97                3          5         3           5          3             2
## 98                3          5         5           5          5             5
## 99                3          5         3           5          5             5
## 100               4          3         5           5          3             3
## 101               3          4         3           4          3             3
## 102               4          3         3           2          3             4
## 103               5          5         3           3          3             3
## 104               3          3         3           4          5             3
## 105               3          4         3           3          3             3
## 106               3          3         5           3          4             3
## 107               5          5         3           4          5             5
## 108               3          4         3           3          3             3
## 109               3          5         5           5          5             5
## 110               2          2         3           3          3             3
## 111               5          5         4           3          5             2
## 112               5          5         3           3          4             3
## 113               5          5         2           4          3             5
## 114               5          5         3           4          4             2
## 115               3          4         4           4          5             5
## 116               5          5         5           5          5             5
## 117               5          5         2           4          3             5
## 118               4          5         5           3          3             3
## 119               3          5         5           3          5             5
## 120               4          5         5           3          3             3
## 121               4          4         5           5          5             5
## 122               2          3         3           5          3             5
## 123               5          5         3           3          3             3
## 124               5          3         3           5          3             3
## 125               2          2         5           3          3             3
## 126               2          4         5           5          5             5
## 127               2          2         2           2          2             2
## 128               3          4         5           3          3             3
## 129               3          3         5           5          5             5
## 130               2          2         5           5          5             5
## 131               5          5         4           4          3             4
## 132               5          5         3           5          5             5
## 133               5          5         2           4          4             2
## 134               5          5         5           5          5             5
## 135               5          3         5           5          5             5
## 136               3          4         4           2          4             3
## 137               3          2         4           3          5             3
## 138               5          5         5           5          5             5
## 139               4          4         5           5          5             5
## 140               3          5         3           3          3             3
## 141               3          5         4           2          4             3
## 142               4          4         5           5          5             5
## 143               5          3         3           3          5             2
## 144               3          5         4           2          3             3
## 145               3          5         5           5          5             5
## 146               3          4         3           3          4             3
## 147               5          5         3           3          3             3
## 148               3          5         3           3          3             3
## 149               1          5         5           3          5             5
## 150               4          3         4           4          4             4
## 151               3          3         3           5          3             3
## 152               3          5         3           3          3             5
## 153               3          3         2           4          3             3
## 154               5          5         5           5          5             5
## 155               3          5         2           2          2             2
## 156               3          3         4           3          3             3
## 157               4          2         1           2          1             2
## 158               3          3         4           3          4             3
## 159               3          3         3           5          3             3
## 160               4          3         4           4          4             4
## 161               3          3         3           3          3             3
## 162               3          4         3           3          5             3
## 163               3          3         3           5          5             3
## 164               2          2         2           4          3             5
## 165               3          5         2           4          4             3
## 166               5          3         4           3          3             4
## 167               4          4         2           4          3             4
## 168               3          4         5           5          3             3
## 169               1          3         5           3          5             4
## 170               5          3         3           5          3             3
## 171               4          5         3           4          4             3
## 172               4          3         3           2          3             2
## 173               4          3         3           3          5             5
## 174               5          3         3           3          5             3
## 175               4          3         3           4          4             3
## 176               3          3         3           3          3             3
## 177               5          3         3           4          3             3
## 178               3          3         4           3          3             3
## 179               2          2         3           3          4             4
## 180               3          3         2           4          3             3
## 181               4          3         5           5          5             5
## 182               3          3         3           5          3             3
## 183               5          3         3           3          3             3
## 184               3          5         3           3          3             3
## 185               2          4         3           3          5             5
## 186               3          4         4           2          3             3
## 187               5          3         3           5          3             3
## 188               4          2         5           3          5             5
## 189               5          5         5           3          5             3
## 190               3          3         2           4          3             3
## 191               2          2         3           3          3             3
## 192               4          3         3           5          5             3
## 193               3          3         5           5          5             5
## 194               1          1         1           2          1             1
## 195               3          5         2           4          3             5
## 196               4          5         2           4          3             3
## 197               5          5         4           3          3             3
## 198               3          3         2           4          3             3
## 199               3          3         3           5          5             5
## 200               5          3         2           4          3             5
## 201               4          3         3           3          3             3
## 202               1          1         5           5          5             5
## 203               4          3         4           4          3             3
## 204               5          5         5           5          5             5
## 205               4          3         3           4          4             3
## 206               4          2         3           4          3             3
## 207               3          4         5           3          5             3
## 208               3          3         2           3          3             4
## 209               4          3         2           4          4             2
## 210               2          2         2           4          4             4
## 211               3          4         2           4          3             5
## 212               2          4         2           3          5             5
## 213               5          5         5           5          5             5
## 214               3          4         4           3          3             5
## 215               5          3         3           3          3             3
## 216               3          4         3           3          3             3
## 217               4          2         2           4          4             2
## 218               5          3         2           4          3             3
## 219               3          4         4           3          3             3
## 220               2          2         2           2          4             4
## 221               5          3         4           3          3             4
## 222               3          5         4           3          3             5
## 223               3          5         3           5          5             3
## 224               4          3         5           5          5             5
## 225               3          4         4           3          4             4
## 226               5          3         4           4          3             3
## 227               5          5         5           5          5             5
## 228               5          5         5           5          5             5
## 229               5          5         3           3          3             5
## 230               4          3         4           3          3             3
## 231               5          3         3           3          4             3
## 232               3          3         3           3          3             3
## 233               3          3         3           5          5             5
## 234               2          2         2           2          1             2
## 235               3          5         5           5          5             5
## 236               3          3         3           3          5             5
## 237               5          3         5           5          5             5
## 238               4          2         3           4          2             2
## 239               3          3         3           3          3             3
## 240               2          2         2           2          5             5
## 241               5          4         3           5          5             5
## 242               3          3         5           3          5             5
## 243               5          5         3           3          3             3
## 244               3          3         5           3          5             5
## 245               5          5         3           5          3             5
## 246               3          3         4           3          3             5
## 247               2          4         3           3          3             3
## 248               5          5         5           5          5             5
## 249               4          3         4           4          3             3
## 250               2          3         2           4          3             3
## 251               3          3         5           5          5             5
## 252               4          3         2           4          3             5
## 253               5          5         3           5          5             5
## 254               4          2         3           4          4             4
## 255               2          4         2           4          2             5
## 256               5          3         3           3          5             3
## 257               4          3         3           4          3             4
## 258               5          3         5           5          5             5
## 259               4          3         3           5          5             3
## 260               5          3         3           3          3             3
## 261               3          5         5           5          5             5
## 262               4          4         5           5          5             5
## 263               3          5         3           5          5             5
## 264               4          3         3           5          3             5
## 265               5          5         2           4          3             5
## 266               5          3         5           5          5             5
## 267               3          3         4           3          3             5
## 268               3          3         2           4          3             5
## 269               2          2         2           4          4             3
## 270               5          3         4           3          3             3
## 271               5          3         5           5          5             5
## 272               3          3         3           3          5             3
## 273               3          3         2           4          5             5
## 274               5          5         4           3          5             3
## 275               3          2         2           5          3             3
## 276               5          5         5           5          5             5
## 277               3          3         3           3          3             3
## 278               5          5         5           5          5             5
## 279               5          5         3           3          5             5
## 280               3          3         5           5          5             5
## 281               3          3         3           4          3             3
## 282               4          3         4           3          3             5
## 283               2          1         1           1          2             2
## 284               3          4         3           5          3             5
## 285               5          5         3           5          5             5
## 286               4          5         5           3          5             4
## 287               4          5         5           5          5             3
## 288               4          3         3           3          5             5
## 289               5          5         5           5          5             5
## 290               1          3         5           5          5             5
## 291               4          2         3           4          5             5
## 292               3          3         3           3          3             3
## 293               4          4         4           4          5             5
## 294               3          3         5           5          5             5
## 295               3          5         5           3          5             5
## 296               2          2         2           4          4             4
## 297               3          4         2           4          3             5
## 298               2          4         2           3          5             5
## 299               5          5         5           5          5             5
## 300               3          4         4           3          3             5
## 301               5          3         3           3          3             3
## 302               3          4         3           3          3             3
## 303               4          2         2           4          4             2
## 304               5          3         2           4          3             3
## 305               3          4         4           3          3             3
## 306               2          2         2           2          4             4
## 307               5          3         4           3          3             4
## 308               3          5         4           3          3             5
## 309               3          5         3           5          5             3
## 310               4          3         5           5          5             5
## 311               3          4         4           3          4             4
## 312               5          3         4           4          3             3
## 313               5          5         5           5          5             5
## 314               5          5         5           5          5             5
## 315               5          5         5           3          5             3
## 316               3          3         2           4          3             3
## 317               2          2         3           3          3             3
## 318               4          3         3           5          5             3
## 319               3          3         5           5          5             5
## 320               1          1         1           2          1             1
## 321               3          5         2           4          3             5
## 322               4          5         2           4          3             3
## 323               5          5         4           3          3             3
## 324               3          3         2           4          3             3
## 325               3          3         3           5          5             5
## 326               5          3         2           4          3             5
## 327               4          3         3           3          3             3
## 328               1          1         5           5          5             5
## 329               4          3         4           4          3             3
## 330               5          5         5           5          5             5
## 331               5          5         5           3          5             3
## 332               3          3         2           4          3             3
## 333               2          2         3           3          3             3
## 334               4          3         3           5          5             3
## 335               3          3         5           5          5             5
## 336               1          1         1           2          1             1
## 337               3          5         2           4          3             5
## 338               4          5         2           4          3             3
## 339               5          5         4           3          3             3
## 340               3          3         2           4          3             3
## 341               3          3         3           5          5             5
## 342               3          4         4           3          3             5
## 343               5          3         3           3          3             3
## 344               3          4         3           3          3             3
## 345               4          2         2           4          4             2
## 346               5          3         2           4          3             3
## 347               3          4         4           3          3             3
## 348               2          2         2           2          4             4
## 349               5          3         4           3          3             4
## 350               3          5         4           3          3             5
## 351               3          5         3           5          5             3
## 352               4          3         5           5          5             5
## 353               3          4         4           3          4             4
## 354               5          3         4           4          3             3
## 355               5          5         5           5          5             5
## 356               5          5         5           5          5             5
## 357               5          5         3           3          3             5
## 358               4          3         4           3          3             3
## 359               5          3         3           3          4             3
## 360               3          3         3           3          3             3
## 361               3          3         3           5          5             5
## 362               2          2         2           2          1             2
## 363               3          5         5           5          5             5
## 364               3          3         3           3          5             5
## 365               4          3         3           3          5             5
## 366               5          5         5           5          5             5
## 367               1          3         5           5          5             5
## 368               4          2         3           4          5             5
## 369               3          3         3           3          3             3
## 370               4          4         4           4          5             5
## 371               3          3         5           5          5             5
## 372               3          5         5           3          5             5
## 373               2          4         4           4          4             2
##     Output
## 1        1
## 2        1
## 3        1
## 4        1
## 5        1
## 6        1
## 7        1
## 8        1
## 9        1
## 10       1
## 11       1
## 12       1
## 13       1
## 14       1
## 15       1
## 16       1
## 17       1
## 18       1
## 19       1
## 20       1
## 21       1
## 22       1
## 23       1
## 24       1
## 25       1
## 26       1
## 27       1
## 28       1
## 29       1
## 30       1
## 31       1
## 32       1
## 33       1
## 34       1
## 35       0
## 36       1
## 37       1
## 38       1
## 39       1
## 40       1
## 41       1
## 42       1
## 43       1
## 44       1
## 45       1
## 46       1
## 47       1
## 48       1
## 49       1
## 50       1
## 51       1
## 52       1
## 53       1
## 54       1
## 55       1
## 56       1
## 57       1
## 58       1
## 59       1
## 60       1
## 61       1
## 62       1
## 63       1
## 64       1
## 65       1
## 66       1
## 67       1
## 68       1
## 69       1
## 70       0
## 71       1
## 72       1
## 73       1
## 74       1
## 75       1
## 76       1
## 77       1
## 78       1
## 79       1
## 80       1
## 81       1
## 82       1
## 83       1
## 84       1
## 85       1
## 86       0
## 87       0
## 88       0
## 89       0
## 90       1
## 91       1
## 92       1
## 93       1
## 94       1
## 95       1
## 96       0
## 97       0
## 98       0
## 99       1
## 100      1
## 101      1
## 102      1
## 103      0
## 104      0
## 105      1
## 106      1
## 107      1
## 108      1
## 109      1
## 110      1
## 111      1
## 112      0
## 113      1
## 114      0
## 115      1
## 116      0
## 117      1
## 118      1
## 119      1
## 120      1
## 121      1
## 122      1
## 123      1
## 124      0
## 125      1
## 126      0
## 127      1
## 128      1
## 129      0
## 130      1
## 131      1
## 132      1
## 133      1
## 134      1
## 135      1
## 136      1
## 137      1
## 138      1
## 139      1
## 140      1
## 141      1
## 142      1
## 143      1
## 144      1
## 145      0
## 146      1
## 147      1
## 148      0
## 149      1
## 150      1
## 151      1
## 152      0
## 153      0
## 154      1
## 155      1
## 156      0
## 157      1
## 158      1
## 159      1
## 160      1
## 161      1
## 162      1
## 163      0
## 164      0
## 165      1
## 166      0
## 167      0
## 168      1
## 169      1
## 170      0
## 171      1
## 172      1
## 173      1
## 174      1
## 175      0
## 176      1
## 177      0
## 178      1
## 179      1
## 180      1
## 181      1
## 182      1
## 183      1
## 184      1
## 185      1
## 186      0
## 187      1
## 188      1
## 189      1
## 190      1
## 191      1
## 192      1
## 193      0
## 194      1
## 195      1
## 196      0
## 197      0
## 198      1
## 199      0
## 200      1
## 201      1
## 202      1
## 203      1
## 204      0
## 205      1
## 206      1
## 207      1
## 208      0
## 209      0
## 210      1
## 211      1
## 212      1
## 213      1
## 214      1
## 215      0
## 216      1
## 217      1
## 218      1
## 219      0
## 220      1
## 221      1
## 222      0
## 223      1
## 224      1
## 225      1
## 226      0
## 227      1
## 228      1
## 229      1
## 230      1
## 231      0
## 232      1
## 233      0
## 234      1
## 235      0
## 236      1
## 237      1
## 238      1
## 239      1
## 240      1
## 241      0
## 242      1
## 243      0
## 244      0
## 245      1
## 246      0
## 247      1
## 248      1
## 249      0
## 250      0
## 251      1
## 252      1
## 253      0
## 254      1
## 255      1
## 256      1
## 257      1
## 258      0
## 259      1
## 260      1
## 261      1
## 262      1
## 263      1
## 264      1
## 265      0
## 266      1
## 267      1
## 268      1
## 269      1
## 270      1
## 271      0
## 272      1
## 273      1
## 274      0
## 275      1
## 276      0
## 277      0
## 278      0
## 279      0
## 280      0
## 281      1
## 282      1
## 283      1
## 284      0
## 285      0
## 286      1
## 287      1
## 288      1
## 289      1
## 290      1
## 291      1
## 292      1
## 293      1
## 294      1
## 295      1
## 296      1
## 297      1
## 298      1
## 299      1
## 300      1
## 301      0
## 302      1
## 303      1
## 304      1
## 305      0
## 306      1
## 307      1
## 308      0
## 309      1
## 310      1
## 311      1
## 312      0
## 313      1
## 314      1
## 315      1
## 316      1
## 317      1
## 318      1
## 319      0
## 320      1
## 321      1
## 322      0
## 323      0
## 324      1
## 325      0
## 326      1
## 327      1
## 328      1
## 329      1
## 330      0
## 331      1
## 332      1
## 333      1
## 334      1
## 335      0
## 336      1
## 337      1
## 338      0
## 339      0
## 340      1
## 341      0
## 342      1
## 343      0
## 344      1
## 345      1
## 346      1
## 347      0
## 348      1
## 349      1
## 350      0
## 351      1
## 352      1
## 353      1
## 354      0
## 355      1
## 356      1
## 357      1
## 358      1
## 359      0
## 360      1
## 361      0
## 362      1
## 363      0
## 364      1
## 365      1
## 366      1
## 367      1
## 368      1
## 369      1
## 370      1
## 371      1
## 372      1
## 373      1

2.4.2 Feature selection

df$Age <- as.numeric(as.character(df$Age))
# Create an age histogram
ggplot(df, aes(x = Age)) +
  geom_histogram(binwidth = 0.45,fill = "lightblue", color = "black") +
  geom_vline(aes(xintercept = mean(Age)), color = "red", linetype = "solid", size = 1) +
  geom_vline(aes(xintercept = median(Age)), color = "green", linetype = "dashed", size = 1) +
  labs(title = "Age Distribution") +
  labs(x = "Age", y = "Number") +
  annotate("text", x = mean(df$Age), y = 10, label = paste0("Mean: ", round(mean(df$Age), 2)), color = "red") +
  annotate("text", x = median(df$Age), y = 8, label = paste0("Median: ", round(median(df$Age), 2)), color = "green") +
  theme_minimal()
## Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
## ℹ Please use `linewidth` instead.
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
## generated.

#The age of most respondents is 22-25, with a Mean is 24.57 and a Median is 24, the youngest respondent is 18 and the oldest is 32. From this result, according to DR.Armstrong in his book "The 12 Stages Of Life", our respondent is in the Adolescence (Ages 12-20) stage and Early Adulthood (Ages 20-35) stage.
df <- df[df$Age >= 12 & df$Age <= 35, ]

df <- df[df$Medium_P1!= 'Walk in',]
df6 <- df 
df6 <- df6[df6$Medium_P2 != ' Walk in',]
df <- df6

3. EDA

By drawing charts and graphs to better understand the distribution, trends, and relationships of data.

3.1 What Features Influence Respondents Using Online Food Delivery?

influence = c('Ease.and.convenient','Time.saving', 'More.restaurant.choices', 'Easy.Payment.option',
       'More.Offers.and.Discount', 'Good.Food.quality', 'Good.Tracking.system')

df_subset_inf <- df[influence]
df_long_inf <- gather(df_subset_inf, Column, Number, influence)
## Warning: Using an external vector in selections was deprecated in tidyselect 1.1.0.
## ℹ Please use `all_of()` or `any_of()` instead.
##   # Was:
##   data %>% select(influence)
## 
##   # Now:
##   data %>% select(all_of(influence))
## 
## See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>.
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
## generated.
count_data_inf <- df_long_inf %>%
  group_by(Column, Number,.drop = TRUE) %>%
  summarise(Count = n(),.groups = 'keep')

ggplot(count_data_inf, aes(x = Count, y = Column, fill = as.factor(Number))) +
  geom_bar(stat = "identity", width = 0.7) +
  labs(x = "Count", y = "Column", title = "Distribution of Numbers 1-5") +
  scale_fill_discrete(name = "Number") +
  theme(axis.text.y = element_text(hjust = 0.5))

3.2 What Conditions Keep Respondents From Using Online Food Delivery?

cancelation = c('Long.delivery.time', 'Delay.of.delivery.person.getting.assigned',
       'Delay.of.delivery.person.picking.up.food', 'Wrong.order.delivered',
       'Missing.item', 'Order.placed.by.mistake')

df_subset_cancel <- df[cancelation]
df_long_cancel <- gather(df_subset_cancel, Column, Number, cancelation)
## Warning: Using an external vector in selections was deprecated in tidyselect 1.1.0.
## ℹ Please use `all_of()` or `any_of()` instead.
##   # Was:
##   data %>% select(cancelation)
## 
##   # Now:
##   data %>% select(all_of(cancelation))
## 
## See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>.
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
## generated.
count_data_cancel <- df_long_cancel %>%
  group_by(Column, Number,.drop = TRUE) %>%
  summarise(Count = n(),.groups = 'keep')

ggplot(count_data_cancel, aes(x = Count, y = Column, fill = as.factor(Number))) +
  geom_bar(stat = "identity", width = 0.7) +
  labs(x = "Count", y = "Column", title = "Distribution of Numbers 1-5") +
  scale_fill_discrete(name = "Number") +
  theme(axis.text.y = element_text(hjust = 0.5))

3.3 What Event Make Respondents Cancel the Online Food Delivery?

delivery1 = c('Influence.of.time',
       'Order.Time', 'Maximum.wait.time')

par(mfrow = c(3, 3))

for (i in 1:length(delivery1)) {
  column <- delivery1[i]
 print( ggplot(df, aes(x = get(column))) +
    geom_bar(fill = "lightpink", color = "black") +
    labs(title = paste("Does", column, "\nlead to cancellation?")) +
    theme_minimal() )
}

par(mfrow = c(1, 1))
delivery2 = c( 'Residence.in.busy.location',
       'Google.Maps.Accuracy', 'Good.Road.Condition', 'Low.quantity.low.time',
       'Delivery.person.ability', 'Less.Delivery.time', 'Number.of.calls', 'Politeness')

df_subset_del <- df[delivery2]
df_long_del <- gather(df_subset_del, Column, Number, delivery2)
## Warning: Using an external vector in selections was deprecated in tidyselect 1.1.0.
## ℹ Please use `all_of()` or `any_of()` instead.
##   # Was:
##   data %>% select(delivery2)
## 
##   # Now:
##   data %>% select(all_of(delivery2))
## 
## See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>.
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
## generated.
count_data_del <- df_long_del %>%
  group_by(Column, Number,.drop = TRUE) %>%
  summarise(Count = n(),.groups = 'keep')


ggplot(count_data_del, aes(x = Count, y = Column, fill = as.factor(Number))) +
  geom_bar(stat = "identity", width = 0.7) +
  labs(x = "Count", y = "Column", title = "Distribution of Numbers 1-5") +
  scale_fill_discrete(name = "Number") +
  theme(axis.text.y = element_text(hjust = 0.5))

4. Data modeling

data = read.csv("deliverydata_cleaned.csv")

4.1 Model preparation

4.1.1 Data conversion

We can convert the specified column data to numeric data for the plot.

influence = c('Ease.and.convenient','Time.saving', 'More.restaurant.choices', 'Easy.Payment.option','More.Offers.and.Discount', 'Good.Food.quality', 'Good.Tracking.system')    

not_purchase = c('Self.Cooking', 'Health.Concern', 'Late.Delivery', 'Poor.Hygiene',
                 'Bad.past.experience', 'Unavailability', 'Unaffordable')    

cancelation = c('Long.delivery.time', 'Delay.of.delivery.person.getting.assigned',
                'Delay.of.delivery.person.picking.up.food', 'Wrong.order.delivered',
                'Missing.item', 'Order.placed.by.mistake')   

delivery = c('Influence.of.time', 'Order.Time', 'Maximum.wait.time','Residence.in.busy.location', 
             'Google.Maps.Accuracy', 'Good.Road.Condition', 'Low.quantity.low.time',
             'Delivery.person.ability', 'Less.Delivery.time', 'Number.of.calls', 'Politeness') 
food = c('High.Quality.of.package', 'Freshness', 'Temperature', 'Good.Taste', 'Good.Quantity')
selected_columns <- c(influence, not_purchase, cancelation, delivery, food)

trans_col <- c('Order.Time','Maximum.wait.time')

# Check if the column name exists in the data
for (col in trans_col) {
  if (!col %in% names(data)) {
    print(paste("Column not found:", col))
  }
}

# Convert the specified column to a factor and then to a numeric value
for (col in trans_col) {
  if (col %in% names(data)) {
    data[[col]] <- as.numeric(factor(data[[col]]))
  }
}

# Select the specified columns from the original data and create a new data frame
df1 <- data[selected_columns]
# Check the structure of the new data frame
str(df1)
## 'data.frame':    250 obs. of  36 variables:
##  $ Ease.and.convenient                      : int  3 5 5 5 5 4 4 4 5 4 ...
##  $ Time.saving                              : int  3 5 5 5 4 4 4 4 5 4 ...
##  $ More.restaurant.choices                  : int  3 5 5 4 4 5 1 4 4 4 ...
##  $ Easy.Payment.option                      : int  3 5 3 5 4 4 4 4 5 4 ...
##  $ More.Offers.and.Discount                 : int  3 5 3 4 4 4 1 4 4 4 ...
##  $ Good.Food.quality                        : int  3 3 2 3 4 3 3 4 4 4 ...
##  $ Good.Tracking.system                     : int  3 4 3 4 4 4 4 4 4 4 ...
##  $ Self.Cooking                             : int  3 5 2 2 4 4 3 2 4 2 ...
##  $ Health.Concern                           : int  3 5 3 4 4 4 1 2 3 5 ...
##  $ Late.Delivery                            : int  3 4 3 2 4 3 3 3 2 1 ...
##  $ Poor.Hygiene                             : int  3 5 4 4 3 4 1 3 4 4 ...
##  $ Bad.past.experience                      : int  3 5 4 2 3 3 1 2 5 5 ...
##  $ Unavailability                           : int  3 5 4 5 3 3 1 2 4 5 ...
##  $ Unaffordable                             : int  3 5 4 1 3 2 1 2 2 1 ...
##  $ Long.delivery.time                       : int  4 5 4 3 4 4 3 3 2 4 ...
##  $ Delay.of.delivery.person.getting.assigned: int  4 5 4 2 4 4 3 3 4 2 ...
##  $ Delay.of.delivery.person.picking.up.food : int  4 5 4 2 4 4 3 4 4 2 ...
##  $ Wrong.order.delivered                    : int  4 5 5 5 3 4 4 2 4 5 ...
##  $ Missing.item                             : int  4 5 4 5 4 4 1 3 5 5 ...
##  $ Order.placed.by.mistake                  : int  4 5 3 5 4 5 4 3 4 1 ...
##  $ Influence.of.time                        : int  1 1 1 0 1 1 2 1 1 1 ...
##  $ Order.Time                               : num  3 1 1 1 3 1 1 3 1 2 ...
##  $ Maximum.wait.time                        : num  2 2 3 3 3 2 3 5 3 3 ...
##  $ Residence.in.busy.location               : int  4 5 4 4 4 2 3 1 4 5 ...
##  $ Google.Maps.Accuracy                     : int  3 3 5 5 4 2 2 1 4 5 ...
##  $ Good.Road.Condition                      : int  3 2 3 2 4 3 3 2 5 5 ...
##  $ Low.quantity.low.time                    : int  3 1 3 4 3 4 3 2 2 1 ...
##  $ Delivery.person.ability                  : int  3 4 4 5 2 4 3 1 4 2 ...
##  $ Less.Delivery.time                       : int  4 5 3 5 4 3 2 3 5 5 ...
##  $ Number.of.calls                          : int  4 5 4 1 4 3 2 3 4 2 ...
##  $ Politeness                               : int  4 5 5 3 2 3 2 3 3 2 ...
##  $ High.Quality.of.package                  : int  4 5 5 5 3 3 5 5 5 3 ...
##  $ Freshness                                : int  4 5 5 5 3 3 5 5 5 5 ...
##  $ Temperature                              : int  4 5 3 5 4 3 5 3 4 3 ...
##  $ Good.Taste                               : int  4 5 5 5 5 3 5 5 5 3 ...
##  $ Good.Quantity                            : int  4 5 4 5 5 3 5 3 5 3 ...

4.1.2 Features Correlation

cor_matrix <- cor(df1, use = "complete.obs")  
long_cor_matrix <- melt(cor_matrix)
heatmap_plot <- ggplot(long_cor_matrix, aes(x = Var1, y = Var2, fill = value)) +
  geom_tile(color = "white") +
  scale_fill_gradient2(
    low = "blue", high = "red", mid = "white", midpoint = 0,
    breaks = seq(-1, 1, by = 0.1),
    labels = seq(-1, 1, by = 0.1)
  ) +
  theme_minimal() +
  theme(
    axis.text.x = element_text(angle = 90, vjust = 0.5, size = 7),
    axis.text.y = element_text(angle = 0, size = 7),
    axis.title = element_blank(),
    plot.margin = ggplot2::margin(t = 0.05, r = 0.05, b = 0.05, l = 0.05, unit = "cm")
  ) +
  coord_fixed()

print(heatmap_plot)

As can be seen from the heat map, there is a correlation between the indicators.We need to further identify the weights of the metrics that affect the KPIs for delivery orders.

4.2 Determine indicator weights

There are various ways to determine indicator weights, such as hierarchical analysis, random forest, principal component analysis, entropy weighting, etc. Among them, the hierarchical analysis method relies on expert judgement and pairwise comparisons and is highly subjective. The weight assessment of random forests relies on specific prediction tasks or target variables. Principal component analysis is suitable for exploring the structure of the data, but does not provide a direct weight assignment. Entropy weighting is suitable for situations where the data’s own informativeness and distributional characteristics are critical for weight assignment. Therefore, taking into account the overall consideration we choose the entropy weighting method to determine the weights of each indicator.

4.2.1 Normalise indicator data

normalize1 <- function(x) {
  return((x - min(x, na.rm = TRUE)) / (max(x, na.rm = TRUE) - min(x, na.rm = TRUE)))
} #For normalisation of positive indicators

normalize2 <- function(x) {
  return((max(x, na.rm = TRUE) - x) / (max(x, na.rm = TRUE) - min(x, na.rm = TRUE)))
}  #For normalisation of negative indicators
df1[influence] <- lapply(df1[influence], normalize1) # All of 'influence' are positive indicators.
df1[not_purchase] <- (lapply(df1[not_purchase], normalize2)) 
df1[cancelation] <- lapply(df1[cancelation], normalize2) 
# All of 'not_purchase' and all of 'cancelation' are negative indicators.
delivery_special <- c('Influence.of.time','Order.Time','Maximum.wait.time','Residence.in.busy.location') 
df1[delivery] <- lapply(names(df1[delivery]), function(colname) {
  if (colname %in% delivery_special) {
    return(normalize1(df1[[colname]]))
  } else {
    return(normalize2(df1[[colname]]))
  }
}) 
df1[food] <- lapply(df1[food], normalize1)
#'Influence.of.time', 'Order.time', 'Maximum.wait.time', 'Residence.in.busy.location' in the #'delivery' group are negative indicators, and the remaining are positive indicators.
# All of 'food' are positive indicators.

head(df1[influence])
##   Ease.and.convenient Time.saving More.restaurant.choices Easy.Payment.option
## 1                0.50        0.50                    0.50                0.50
## 2                1.00        1.00                    1.00                1.00
## 3                1.00        1.00                    1.00                0.50
## 4                1.00        1.00                    0.75                1.00
## 5                1.00        0.75                    0.75                0.75
## 6                0.75        0.75                    1.00                0.75
##   More.Offers.and.Discount Good.Food.quality Good.Tracking.system
## 1                     0.50              0.50                 0.50
## 2                     1.00              0.50                 0.75
## 3                     0.50              0.25                 0.50
## 4                     0.75              0.50                 0.75
## 5                     0.75              0.75                 0.75
## 6                     0.75              0.50                 0.75
head(df1[not_purchase])
##   Self.Cooking Health.Concern Late.Delivery Poor.Hygiene Bad.past.experience
## 1         0.50           0.50          0.50         0.50                0.50
## 2         0.00           0.00          0.25         0.00                0.00
## 3         0.75           0.50          0.50         0.25                0.25
## 4         0.75           0.25          0.75         0.25                0.75
## 5         0.25           0.25          0.25         0.50                0.50
## 6         0.25           0.25          0.50         0.25                0.50
##   Unavailability Unaffordable
## 1           0.50         0.50
## 2           0.00         0.00
## 3           0.25         0.25
## 4           0.00         1.00
## 5           0.50         0.50
## 6           0.50         0.75
head(df1[cancelation])
##   Long.delivery.time Delay.of.delivery.person.getting.assigned
## 1               0.25                                      0.25
## 2               0.00                                      0.00
## 3               0.25                                      0.25
## 4               0.50                                      0.75
## 5               0.25                                      0.25
## 6               0.25                                      0.25
##   Delay.of.delivery.person.picking.up.food Wrong.order.delivered Missing.item
## 1                                     0.25                  0.25         0.25
## 2                                     0.00                  0.00         0.00
## 3                                     0.25                  0.00         0.25
## 4                                     0.75                  0.00         0.00
## 5                                     0.25                  0.50         0.25
## 6                                     0.25                  0.25         0.25
##   Order.placed.by.mistake
## 1                    0.25
## 2                    0.00
## 3                    0.50
## 4                    0.00
## 5                    0.25
## 6                    0.00
head(df1[delivery])
##   Influence.of.time Order.Time Maximum.wait.time Residence.in.busy.location
## 1               0.5          1              0.25                       0.75
## 2               0.5          0              0.25                       1.00
## 3               0.5          0              0.50                       0.75
## 4               0.0          0              0.50                       0.75
## 5               0.5          1              0.50                       0.75
## 6               0.5          0              0.25                       0.25
##   Google.Maps.Accuracy Good.Road.Condition Low.quantity.low.time
## 1                 0.50                0.50                  0.50
## 2                 0.50                0.75                  1.00
## 3                 0.00                0.50                  0.50
## 4                 0.00                0.75                  0.25
## 5                 0.25                0.25                  0.50
## 6                 0.75                0.50                  0.25
##   Delivery.person.ability Less.Delivery.time Number.of.calls Politeness
## 1                    0.50               0.25            0.25       0.25
## 2                    0.25               0.00            0.00       0.00
## 3                    0.25               0.50            0.25       0.00
## 4                    0.00               0.00            1.00       0.50
## 5                    0.75               0.25            0.25       0.75
## 6                    0.25               0.50            0.50       0.50
head(df1[food])
##   High.Quality.of.package Freshness Temperature Good.Taste Good.Quantity
## 1                    0.75      0.75        0.75       0.75          0.75
## 2                    1.00      1.00        1.00       1.00          1.00
## 3                    1.00      1.00        0.50       1.00          0.75
## 4                    1.00      1.00        1.00       1.00          1.00
## 5                    0.50      0.50        0.75       1.00          1.00
## 6                    0.50      0.50        0.50       0.50          0.50

4.2.2 Calculate the weights of the indicators

calculate_entropy <- function(x) {
  if (all(is.na(x))) {
    return(NA)
  }
  x <- x / sum(x, na.rm = TRUE)
  entropy <- -sum(x * log(x + 1e-9), na.rm = TRUE)  # 加入一个小数避免log(0)
  return(entropy)
}  # Calculate entropy

calculate_diff_coeff <- function(entropy) {
  return(1 - entropy)
}  #Determine the coefficient of variation

calculate_weights <- function(diff_coeffs) {
  if (sum(diff_coeffs, na.rm = TRUE) == 0) {
    return(rep(NA, length(diff_coeffs)))
  }
  weights <- diff_coeffs / sum(diff_coeffs, na.rm = TRUE)
  return(weights)
} # Calculate the weights of the indicators

calculate_column_weights <- function(df) {
  entropies <- sapply(df, calculate_entropy)
  diff_coeffs <- calculate_diff_coeff(entropies)
  weights <- calculate_weights(diff_coeffs)
  return(list(entropies = entropies, diff_coeffs = diff_coeffs, weights = weights))
} ## Used to calculate weights for each column

results <- calculate_column_weights(df1)
kable(results$entropies, format = "markdown", col.names = c("Feature", "Entropy"))
Feature Entropy
Ease.and.convenient 5.429844
Time.saving 5.418022
More.restaurant.choices 5.414559
Easy.Payment.option 5.373587
More.Offers.and.Discount 5.371746
Good.Food.quality 5.396624
Good.Tracking.system 5.392745
Self.Cooking 5.366792
Health.Concern 5.305258
Late.Delivery 5.314046
Poor.Hygiene 5.290713
Bad.past.experience 5.360801
Unavailability 5.355480
Unaffordable 5.375037
Long.delivery.time 5.320575
Delay.of.delivery.person.getting.assigned 5.259576
Delay.of.delivery.person.picking.up.food 5.279593
Wrong.order.delivered 5.278349
Missing.item 5.255834
Order.placed.by.mistake 5.322942
Influence.of.time 5.361848
Order.Time 4.194213
Maximum.wait.time 5.305840
Residence.in.busy.location 5.458641
Google.Maps.Accuracy 5.067494
Good.Road.Condition 5.158364
Low.quantity.low.time 5.301076
Delivery.person.ability 5.175049
Less.Delivery.time 5.349752
Number.of.calls 5.160391
Politeness 5.181281
High.Quality.of.package 5.446443
Freshness 5.416707
Temperature 5.454017
Good.Taste 5.441276
Good.Quantity 5.439031
kable(results$diff_coeffs, format = "markdown", col.names = c("Feature", "Diff_coeff"))
Feature Diff_coeff
Ease.and.convenient -4.429844
Time.saving -4.418022
More.restaurant.choices -4.414559
Easy.Payment.option -4.373587
More.Offers.and.Discount -4.371746
Good.Food.quality -4.396624
Good.Tracking.system -4.392745
Self.Cooking -4.366792
Health.Concern -4.305258
Late.Delivery -4.314046
Poor.Hygiene -4.290713
Bad.past.experience -4.360801
Unavailability -4.355480
Unaffordable -4.375037
Long.delivery.time -4.320575
Delay.of.delivery.person.getting.assigned -4.259576
Delay.of.delivery.person.picking.up.food -4.279593
Wrong.order.delivered -4.278349
Missing.item -4.255834
Order.placed.by.mistake -4.322942
Influence.of.time -4.361848
Order.Time -3.194213
Maximum.wait.time -4.305840
Residence.in.busy.location -4.458641
Google.Maps.Accuracy -4.067494
Good.Road.Condition -4.158364
Low.quantity.low.time -4.301076
Delivery.person.ability -4.175049
Less.Delivery.time -4.349752
Number.of.calls -4.160391
Politeness -4.181281
High.Quality.of.package -4.446443
Freshness -4.416707
Temperature -4.454017
Good.Taste -4.441276
Good.Quantity -4.439031
kable(results$weights, format = "markdown", col.names = c("Feature", "Weights"))
Feature Weights
Ease.and.convenient 0.0286178
Time.saving 0.0285414
More.restaurant.choices 0.0285190
Easy.Payment.option 0.0282543
More.Offers.and.Discount 0.0282424
Good.Food.quality 0.0284031
Good.Tracking.system 0.0283781
Self.Cooking 0.0282104
Health.Concern 0.0278129
Late.Delivery 0.0278697
Poor.Hygiene 0.0277189
Bad.past.experience 0.0281717
Unavailability 0.0281373
Unaffordable 0.0282637
Long.delivery.time 0.0279119
Delay.of.delivery.person.getting.assigned 0.0275178
Delay.of.delivery.person.picking.up.food 0.0276471
Wrong.order.delivered 0.0276391
Missing.item 0.0274936
Order.placed.by.mistake 0.0279271
Influence.of.time 0.0281785
Order.Time 0.0206353
Maximum.wait.time 0.0278167
Residence.in.busy.location 0.0288038
Google.Maps.Accuracy 0.0262769
Good.Road.Condition 0.0268639
Low.quantity.low.time 0.0277859
Delivery.person.ability 0.0269717
Less.Delivery.time 0.0281003
Number.of.calls 0.0268770
Politeness 0.0270120
High.Quality.of.package 0.0287250
Freshness 0.0285329
Temperature 0.0287739
Good.Taste 0.0286916
Good.Quantity 0.0286771

4.2.3 Display indicator weights based on group

# Create an empty data frame for displaying weights
weights_display <- data.frame(Group = character(), Column = character(), Weight = numeric(), stringsAsFactors = FALSE)

# Define a function to add grouping weights to the display data frame.
add_group_weights <- function(group, group_name, column_weights, weights_display) {
  group_weights <- column_weights[names(column_weights) %in% group]
  temp_df <- data.frame(Group = rep(group_name, length(group_weights)), 
                        Column = names(group_weights), 
                        Weight = group_weights)
  return(rbind(weights_display, temp_df))
}

column_weights <- results$weights # Extract weights

weights_display <- add_group_weights(influence, "influence", column_weights, weights_display)
weights_display <- add_group_weights(not_purchase, "not_purchase", column_weights, weights_display)
weights_display <- add_group_weights(cancelation, "cancelation", column_weights, weights_display)
weights_display <- add_group_weights(delivery, "delivery", column_weights, weights_display)
weights_display <- add_group_weights(food, "food", column_weights, weights_display)

knitr::kable(weights_display, row.names = FALSE)
Group Column Weight
influence Ease.and.convenient 0.0286178
influence Time.saving 0.0285414
influence More.restaurant.choices 0.0285190
influence Easy.Payment.option 0.0282543
influence More.Offers.and.Discount 0.0282424
influence Good.Food.quality 0.0284031
influence Good.Tracking.system 0.0283781
not_purchase Self.Cooking 0.0282104
not_purchase Health.Concern 0.0278129
not_purchase Late.Delivery 0.0278697
not_purchase Poor.Hygiene 0.0277189
not_purchase Bad.past.experience 0.0281717
not_purchase Unavailability 0.0281373
not_purchase Unaffordable 0.0282637
cancelation Long.delivery.time 0.0279119
cancelation Delay.of.delivery.person.getting.assigned 0.0275178
cancelation Delay.of.delivery.person.picking.up.food 0.0276471
cancelation Wrong.order.delivered 0.0276391
cancelation Missing.item 0.0274936
cancelation Order.placed.by.mistake 0.0279271
delivery Influence.of.time 0.0281785
delivery Order.Time 0.0206353
delivery Maximum.wait.time 0.0278167
delivery Residence.in.busy.location 0.0288038
delivery Google.Maps.Accuracy 0.0262769
delivery Good.Road.Condition 0.0268639
delivery Low.quantity.low.time 0.0277859
delivery Delivery.person.ability 0.0269717
delivery Less.Delivery.time 0.0281003
delivery Number.of.calls 0.0268770
delivery Politeness 0.0270120
food High.Quality.of.package 0.0287250
food Freshness 0.0285329
food Temperature 0.0287739
food Good.Taste 0.0286916
food Good.Quantity 0.0286771

4.2.4 Display group weights

# Used to calculate weights for each group.
calculate_group_weights <- function(group, column_weights) {
  group_weight <- sum(column_weights[names(column_weights) %in% group], na.rm = TRUE)
  return(group_weight)
}

weights_influence <- calculate_group_weights(influence, column_weights)
weights_not_purchase <- calculate_group_weights(not_purchase, column_weights)
weights_cancelation <- calculate_group_weights(cancelation, column_weights)
weights_delivery <- calculate_group_weights(delivery, column_weights)
weights_food <- calculate_group_weights(food, column_weights)

# Create group weight lists
group_weights <- list(
  influence = weights_influence,
  not_purchase = weights_not_purchase,
  cancelation = weights_cancelation,
  delivery = weights_delivery,
  food = weights_food
)

data.frame(group_weights)
##   influence not_purchase cancelation  delivery      food
## 1 0.1989561    0.1961847   0.1661366 0.2953221 0.1434005

4.2.5 Display group weights and indicator weights

# Create a new data frame to consolidate all weight information
combined_weights_df <- data.frame(group = character(),
                                  group_weight = numeric(),
                                  Feature = character(),
                                  feature_weight = numeric(),
                                  stringsAsFactors = FALSE)

# Iterate through each group, adding the total weight of the group, and the weight of each feature within the group.
groups <- c("influence", "not_purchase", "cancelation", "delivery", "food")

for (grp in groups) {
  # Add total group weights
  combined_weights_df <- rbind(combined_weights_df, 
                               data.frame(group = grp, 
                                          group_weight = group_weights[[grp]], 
                                          Feature = NA, 
                                          feature_weight = NA))
  
  # Add weights for each feature in the group
  features_in_group <- weights_display[weights_display$Group == grp, ]
  combined_weights_df <- rbind(combined_weights_df, 
                               data.frame(group = rep(grp, nrow(features_in_group)), 
                                          group_weight = NA, 
                                          Feature = features_in_group$Column, 
                                          feature_weight = features_in_group$Weight))
}

combined_weights_df[is.na(combined_weights_df)] <- ""
knitr::kable(combined_weights_df)
group group_weight Feature feature_weight
influence 0.19895613678251
influence Ease.and.convenient 0.0286177575156821
influence Time.saving 0.02854138114093
influence More.restaurant.choices 0.0285190101776205
influence Easy.Payment.option 0.0282543234340059
influence More.Offers.and.Discount 0.0282424284205791
influence Good.Food.quality 0.0284031469813746
influence Good.Tracking.system 0.0283780891123179
not_purchase 0.196184718972775
not_purchase Self.Cooking 0.0282104294289479
not_purchase Health.Concern 0.0278129067828558
not_purchase Late.Delivery 0.0278696785870567
not_purchase Poor.Hygiene 0.0277189387681326
not_purchase Bad.past.experience 0.0281717239510503
not_purchase Unavailability 0.0281373478169847
not_purchase Unaffordable 0.028263693637747
cancelation 0.166136572302297
cancelation Long.delivery.time 0.0279118561749571
cancelation Delay.of.delivery.person.getting.assigned 0.027517786077635
cancelation Delay.of.delivery.person.picking.up.food 0.0276471050130034
cancelation Wrong.order.delivered 0.0276390642046055
cancelation Missing.item 0.0274936131422413
cancelation Order.placed.by.mistake 0.0279271476898547
delivery 0.295322061684504
delivery Influence.of.time 0.028178488224886
delivery Order.Time 0.0206353114354307
delivery Maximum.wait.time 0.0278166654238324
delivery Residence.in.busy.location 0.0288037937588731
delivery Google.Maps.Accuracy 0.0262768927598559
delivery Good.Road.Condition 0.0268639336921627
delivery Low.quantity.low.time 0.0277858841863134
delivery Delivery.person.ability 0.0269717274690266
delivery Less.Delivery.time 0.0281003463215976
delivery Number.of.calls 0.026877030114354
delivery Politeness 0.0270119882981712
food 0.143400510257914
food High.Quality.of.package 0.028724986403482
food Freshness 0.0285328852889956
food Temperature 0.0287739210411593
food Good.Taste 0.0286916100138135
food Good.Quantity 0.0286771075104639

4.2.6 Visualise weights

group_weights_df <- data.frame(
  group = names(group_weights),
  weight = as.numeric(group_weights)
)

# Bar chart showing grouping weights
ggplot(group_weights_df, aes(x = group, y = weight, fill = group)) +
  geom_bar(stat = "identity") +
  theme_minimal() +
  labs(title = "Weight of Each Group", x = "Group", y = "Weight")

# Stacked chart showing grouping weights
group_weights_df$cum_weight <- cumsum(group_weights_df$weight)

p <- ggplot(group_weights_df, aes(x = "", y = weight, fill = group)) +
  geom_bar(stat = "identity", position = "fill") +
  coord_polar(theta = "y") +
  theme_void() +
  labs(fill = "Group")

p <- p + geom_text(aes(x = 1, y = cum_weight - weight / 2, label = percent(weight / sum(weight))), 
                   color = "white", size = 3)

print(p)

Conlusion: As can be seen from the earlier stacked graph, the most important KPI for influencing delivery orders is DELIVERY, followed by ‘not_purchase’ and ‘influence’.


5.Conclusion

5.1 Conclusion

The importance of Online Food Delivery (OFD) continues to rise. In this study, we have formulated and demonstrated the practicality of a data analysis method primarily centered around classification and regression analysis. The aim is to predict key performance indicators (KPI) for the outsourcing department, with a focus on analyzing the impact of these key performance indicators and evaluating them. The predictive analysis of factors influencing key performance indicators (KPI) on food delivery order outcomes, along with the assessment of their impacts, has led to the derivation of the following main research findings:

  1. Through data cleaning and preprocessing, we determined that the majority of respondents fall within the age range of 18-33 years, with an average age of 24.57 years, median age of 24 years, and the youngest respondent being 18 years old and the oldest 33 years old. Based on these results, according to Dr. Armstrong’s book “The 12 Stages of Life,” our respondents are in the adolescence (12-20 years) and early adulthood (20-35 years) stages.

  2. In terms of data visualization, by creating charts, we gained a better understanding of the distribution, trends, and relationships in the data. Factors influencing respondents’ use of online food delivery services include “convenience,” “time savings,” “more restaurant choices,” “simple payment methods,” “more discounts and promotions,” “good food quality,” and “effective tracking systems.” On the other hand, factors such as “long delivery times,” “delays in the assigned time for delivery personnel,” “delays in delivery personnel picking up orders,” “incorrect orders,” “delays in the time assigned to delivery personnel,” “delay in delivery personnel picking up orders,” “incorrect orders,” and “incorrect orders” hinder respondents to varying degrees in using online food delivery services. Additionally, factors such as “Google Maps accuracy,” “good road conditions,” “fewer and shorter delivery times,” “delivery personnel capabilities,” and “short delivery times” can lead to respondents canceling online food deliveries. Furthermore, the quality of food products also has a certain impact on order confirmations.

  3. By analyzing various indicators affecting food delivery order key performance indicators, grouping them into categories such as “delivery,” “not purchased,” “canceled,” “influence,” and “food,” and converting specified column data into numerical data to draw curves, we observed correlations between the indicators in a heatmap. The entropy weight method was employed to determine the weights of each indicator, further establishing the weights of indicators influencing key performance indicators for delivery orders, thus enriching and expanding the existing theoretical framework to some extent.

  4. Based on the entropy weight method, we determined the weights of various indicators affecting food delivery order key performance indicators. Through visualizing these weights, we constructed bar graphs and stacked charts displaying group weights, concluding that the most important KPI influencing delivery orders is “delivery,” followed by “not purchased” and “influence.” Finally, based on the weight results, this study proposes enhancement strategies for predicting and analyzing key performance indicators (KPI) factors influencing food delivery order outcomes.

5.2 Outlook

Although preliminary results have been achieved in the research process of studying the objects and indicators, limitations still exist due to personal constraints. Further in-depth research is needed.

Currently, research on the factors of key performance indicators (KPI) influencing food delivery order outcomes mostly remains at the textual level, analyzing a limited number of factors and lacking a comprehensive set of related indicators. In this study, the selection of indicators for the influence of key performance indicators (KPI) on food delivery order outcomes is limited to literature analysis and expert interviews. There are still certain issues in selecting and evaluating indicators and establishing the evaluation indicator system and not all relevant factors have been fully considered. Subsequent research will continue to delve deeper into these issues.

Lastly, the impact study on food delivery results is not thorough enough in this paper, which only predicts and analyzes the key performance indicators (KPI) factors influencing food delivery order outcomes. By combining actual reports from respondents and using the entropy weight method to analyze their weights, further reference to quality assurance projects in similar fields is needed to obtain more professional strategy recommendations.