Does anyone know how to add a zero to the variable in the second dataset? I take it that both matchvars are string variables. Otherwise there would be no problem at all as the difference would be just in the formatting. If, as you suggest, in dataset 1 there is always a zero first,...
I was looking for a way to do this easily in one step, but didn't find a simple command like encode or recode. I ended up using encode to get the variables numeric and then recoding them. > Is there a simple way to do this? For seven categories it's no big deal, but if I ...