i have two data sets with one common variable (applnid). When i try to merge these datasets, it says r459 error.
There are two datasets File1 (variables:applnid,x,y,z) and file2 (variables:applnid,a,b,c) with common variable applnid. We have to take applnid from file one and merge it with the other variables available in file2, with respect to applnid.
i used-
merge 1:1 appln_id using file1
variable appln_id does not uniquely identify observations in the master data
r(459);
all the variables of the file1 which has applnid does not have the same number of appln ids in the file2.
There are two datasets File1 (variables:applnid,x,y,z) and file2 (variables:applnid,a,b,c) with common variable applnid. We have to take applnid from file one and merge it with the other variables available in file2, with respect to applnid.
i used-
merge 1:1 appln_id using file1
variable appln_id does not uniquely identify observations in the master data
r(459);
all the variables of the file1 which has applnid does not have the same number of appln ids in the file2.
Comment