Hello, I am trying to append several datasets together (yes they have been cleaned and are ready for appending) but keep getting the following error message:
variable E is str25 in master but byte 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);
Below is what I used for coding:
cd "/Users/dinardorodriguez/Desktop/CO"
/Users/dinardorodriguez/Desktop/CO
xls2dta , clear generate (newvar1): append using "/Users/dinardorodriguez/Desktop/CO"
Once I got the error I tried:
xls2dta , clear force: append using "/Users/dinardorodriguez/Desktop/CO"
but got the following error:
option force not allowed
r(198);
Any ideas how I can overcome this hiccup?
Thanks,
Related Posts with Appending Errors
Running a Regression FasterHello, I'm running a conditional logistic regression, with over 400 variables and 750000 rows of da…
How to identify industry specialists in a huge sampleI would like to define an employee (identified by employee ID) as an industry specialist (equal to 1…
how to find matched pairs (treatments & controls) when running Coarsened Exact Matching (CEM)I've been studying CEM and was wondering if there's any way to find out which treatments is matched …
Individual class membership of latent class analysis via lclogitHello I have 3 questions concerning a latent class analysis via lclogit: 1) I ran a latent class m…
Changing Scales of MapI am using Stata14 and I have lights data. I am using the package spmap to create maps. I want to cr…
Subscribe to:
Post Comments (Atom)
0 Response to Appending Errors
Post a Comment