Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: merge problem


From   Jerome Fauconnier <jeromefauconnier@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: merge problem
Date   Fri, 21 Sep 2012 15:22:51 +0200

I have just understood : my old variable "numven" exists in the two files, but in two different formats.
So, it cannot be merged !
Thank you
Le 21 sept. 2012 à 15:08, Jerome Fauconnier a écrit :

> I am using Stata 12.
> I have two files that I want to merge with a new variable "numhosp" which I have just created from a existing variable "numven".
> When I try to merge the two files with the following command : 
> "merge 1:1 numhosp using lamda2011"
> I have got the following error message :
> "numven is double in using data"
> 
> I don't use "numven" in the merge command. Why is it taken in account?
> 
> Thank you for your help
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index