Updated combineDataSets to allow unioning at level of entire datasets as well as at level of individual triplets