I'm trying to find association rules from a CSV I have which has the folowing columns: Desc which is the description of what was bought and UUID which is the unique ID of each transaction from an individual. That means that it can be several Desc for one UUID
The type of association rules i'm trying to find is for instance, if I see that many different UUID have two Desc, call them meat and beer. A rule would show out saying: {Meat} => {Beer} with it's support, confidence and lift.
The csv can be found here: https://github.com/antonio1695/RStudio/blob/master/facturas_du.csv
What I'm trying to do is:
libary(arules)
df <- read.csv("facturas_du.csv")
rules <- apriori(df_du,parameter=list(support=0.01,confidence=0.3))
Nevertheless, it gives me association rules with very little support of the type:
{An UUID} => {A Desc}
Which isn't what i'm looking for.
I would like my UUID to be my transaction ID and have something like:
UUID DESC
123 Meat,Beer
I hope someone could help me find what to do. Thanks!