title: Converting csv data into transactions for arules and market basket analysis
body: <p>I am a beginner to R and I would really appreciate all help. I have some data, which I cleaned, removed duplicates,etc. Now, I have this data in a csv file, my main issue is that I am not able to convert it into transactions. I am only able to convert them into lists, but not as transactions. </p>
  
  <p><a href="https://i.stack.imgur.com/GQy7v.png" rel="nofollow noreferrer">Please let me know how I can change this data to </a></p>
  
  <p><a href="https://i.stack.imgur.com/aFCeu.png" rel="nofollow noreferrer">This data (like as transactions)</a></p>
  
  <p>Please help, TIA!!</p>