I have a data.table that consists of 3 columns. The first 2 are key IDs and the 3rd column represents all possible values that an ID can have.
Here is an example: