Statalist


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

st: RE: cf output id and not obs


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: cf output id and not obs
Date   Mon, 16 Nov 2009 20:24:53 +0100

<>

Also note -ssc d cf2-:

*******
capt which cf2
if _rc ssc inst cf2

sysuse auto, clear
replace mpg=3 in 3
tempfile temp
save `temp', replace

sysuse auto, clear
cf2 _all using `temp', verbose
*******


HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Kaulisch, Marc
Sent: Montag, 16. November 2009 19:52
To: [email protected]
Subject: st: cf output id and not obs

I would like to use the cf command to reproduce changes in the dataset done
manually.
This command works fine in general.

. cf _all using "data.dta", all verbose

The output looks like 
"ep15BN15_4:  1 mismatches
                   obs  265. 2009 in master; . in using"

I would like to get an output that is not giving out the number of
observation but the respective id (stored in var "id"). Of course I could do
a
. display id[265]

But with hundreds of changes this is rather an enourmous task.

Any ideas?

P.S.: I am confused to get an error message r(9) - is that the correct
behaviour? The output looks good...

Thanks


Marc


iFQ
Institut für Forschungsinformation und Qualitätssicherung
Godesberger Allee 90
53175 Bonn, Germany
Tel.: *49 - 228 - 9 72 73 - 25
Fax: *49 - 228 - 9 72 73 - 49
E-mail: [email protected]
www.forschungsinfo.de


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index