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]

st: reclink error )


From   David Sikkink <David.Sikkink.1@nd.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: reclink error )
Date   Wed, 3 Oct 2012 10:16:15 -0400

Hi, reclink users,

I am using reclink to match variable labels across datasets that each include a variable for variable label, variable name, variable size, etc.

I am running this syntax:

<reclink varlabel varname vartype varsize using "C:\Users\dsikkink\Documents\Data\KnowledgeNets\SchoolInfo\PasscodeAlumniVarLabels1.dta"  , gen(myscore) idm(WebID) idu(idpass)  wmatch(15 5 3 1) wnomatch(15 1 5 2)>

And getting this error:


"1960 perfect matches found

) required
r(100);

end of do-file"

I tried changing  single quotes in my string variable (varlabel) to @ by using this syntax:

replace varlabel = regexr(varlabel, "'", "@")

But I still receive the same error message. 

Are there other characters that create problems for reclink? I have a lot of them. Here is an example of one string in the varlabel variable:

We'd like to hear how you felt about your high school experience when you were at ${q://QID1440/Choi...-The athletic opportunities


Thanks for any help you can offer. 

--David




David Sikkink
Associate Professor
Department of Sociology
University of Notre Dame
814 Flanner Hall
Notre Dame, IN  46556
dsikkink@nd.edu


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


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