Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: merge problem
From 
 
Jerome Fauconnier <[email protected]> 
To 
 
[email protected] 
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/