I am facing the common problem of appending datasets which contains variable with diferent type.
Before using the -force- option, I would like to see the exact observation which has the numeric variable as a string one. I already know that the problem is limited to only one observation, as shown below.
I tried as below, but it did not know
Before using the -force- option, I would like to see the exact observation which has the numeric variable as a string one. I already know that the problem is limited to only one observation, as shown below.
:
variable v12 is str9 in master but double in using data You could specify append's force option to ignore this string/numeric mismatch. The using variable would then be treated as if it contained "". r(106); . count if missing(real(v12)) & !missing(v12) 1
:
. display _n if missing(real(v12)) & !missing(v12) if not found r(111);