seunglee98 / fedmatch

Other
27 stars 10 forks source link

problems with NAs when matching on multiple different by's in a tier_match #14

Open c0webster opened 2 years ago

c0webster commented 2 years ago

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.