I am new to learning coding and stackoverflow and am struggling with the following:
ID
1
2
3
ITEMS
c(a,b,c)
a
b
I want a new dataframe that will output the following
ID
1
1
1
2
3
ITEMS
a
b
c
a
b
So I want to effectively unlist my ITEMS column but at the same time replicating/matching my ID column.