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
Same model, different dependent variables: Single Y label in the combined graphDear Statalisters, I have troubles using graph combine, I don’t know how to get a single y label fo…
T-test of difference between two regression coefficients within same modelHello, I have one single regression model estimating the coefficients (b) of two independent variab…
Saving tabstat results in new variablesHello, I'm using tabstat to generate weighted standard deviations, by year, for two variables in a …
line graph at country and year level for several variables using levelsofHello all, I have a panel long format dataset that can be found attached containing year and countr…
conditions by groupHi there, I have the following data and I want a variable that is 1 if, by firmid, there is at least…
Subscribe to:
Post Comments (Atom)
0 Response to Appending Errors
Post a Comment