mergeandlabel function

Merge community data