When I have to add missing observations I usually use CJ in data.table after setting the keys.
CJ
data.table
In the following example, two columns are the com