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
Impostare parametri inizialiGood morning I open this thread to ask if in Stata it is possible to create initial parameters (to c…
using a separate time variable and am/pm indicator variable to generate a military time variableHi, I briefly dug into this and could not find an answer. I have 3 variables: a date variable, a ti…
Panel Data - Identify how many panelists have a change in a particular variable over timeHello all, I'm working with a fixed effects panel data model (individual FE). I have a number of in…
quasi-panel made out of cross-sectional dataHi all, Does anybody know how to create a quasi-panel data out of the cross-sectional data. I have a…
Help with linear approximate ideal demand system (LA-AIDS/L-AIDS)Hi everyone, I have a time series data where there are several variables given.For example, disappea…
Subscribe to:
Post Comments (Atom)
0 Response to Appending Errors
Post a Comment