mergeSYB function

Function for merging data from different source.