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: spmap ... Variable _ID specified in option id()... r(459)
From
Sergiy Radyakin <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: spmap ... Variable _ID specified in option id()... r(459)
Date
Mon, 4 Nov 2013 16:20:32 -0500
Well, yes, if the variable that you are specifying as ID is not unique
among the observations, you should get this message. What is the
question?
Best, Sergiy
PS: From the -spmap- code:
/* Check option id() */
preserve
marksample TOUSE, novarlist
markout `TOUSE' `id'
qui keep if `TOUSE'
capture isid `id'
On Mon, Nov 4, 2013 at 4:10 PM, [email protected] <[email protected]> wrote:
> When I simply want to display the map and use the command
>
> spmap using worldcoor, id(_ID)
>
> I sometimes get error message:
>
> Variable _ID specified in option id() does not uniquely identify the
> observations
> r(459);
> *
> * 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/
*
* 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/