I've got a data frame that looks like:
Date Names
1/1/2000 A|B
2/3/2003 A|C|D
2/4/2004 B|C|E
I need to convert it to:
Date A B C D E
1/1/2000 1 1 0 0 0
2/3/2003 1 0 1 1 0
2/4/2004 0 1 1 0 1
So each unique name in the strings should become the header of a new column describing in what dates it was seen/not seen