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
no observations when using GMM xtabond2I am trying to use one-step system GMM in stata using xtabond2 but keep getting the error 'no observ…
Expanding data with start/end date to include all dates in betweenI have a dataset with information on individual id, signup & dropout year/month in the program I…
Creating, appending and exporting tablesDear all, I have a dataset of people who have lost their employment during the period 2019-2021. I h…
Reported p-value in Stata when working with population.Hi guys, I have a large dataset of scores provided to movies that I collected through web-scraping.…
reshape data wide to long I am working on wide formatted data that have 11574 observations &11547 row. the repeated obser…
Subscribe to:
Post Comments (Atom)
0 Response to Appending Errors
Post a Comment