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 on April 23, and its replacement, is already up and running.

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

Re: st: Using merge with a string id variable

From   Nick Cox <>
Subject   Re: st: Using merge with a string id variable
Date   Wed, 10 Aug 2011 18:20:35 +0100

Yes. String identifiers as such are not problematic, but note that
matches must be exact as with numeric identifiers. Watch out for
leading and trailing spaces, inconsistencies of case and other
spelling differences.

Note that the difference between numeric and string in Stata is one of
datatype, not format.


On Wed, Aug 10, 2011 at 5:58 PM, Edith Felix <> wrote:

> I want to merge several datasets but their id variable is a string
> variable.  Can I successfully merge the datasets with the variable
> still in string format?

*   For searches and help try:

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