Basic issue is that matching on multiple different columns leads to some strange NA columns, because of different cleaning and naming procedures. Need to comprehensively fix this. For now, best way to preserve names is to make a column in data1 and data2 before matching, call it "name_preserved" or something, so you can know for sure what the original name was.
Basic issue is that matching on multiple different columns leads to some strange NA columns, because of different cleaning and naming procedures. Need to comprehensively fix this. For now, best way to preserve names is to make a column in data1 and data2 before matching, call it "name_preserved" or something, so you can know for sure what the original name was.