So I have a 3 columns that , for simplicities sake, look like this:
DF 1
ColA
A
B
C
DF 2
ColA
1
2
3
DF 3
ColC
!
@
%
My goal is I want to create a df that has every possible combination of these; I believe there will be 27 rows in the solution.
But I would like to do so using dplyr so the final dataset will looks something like this:
ColA ColB ColC
A 1 !
A 1 @
A 1 %
A 2 !
A 2 @
A 2 %
A 3 !
A 3 @
A 3 %
B 1 !
B 1 @
B 1 %
Open to using data.table here too, the real data will be in the millions in the end.