Allow dataset merging

Still needs documentation