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
"[email protected]" <[email protected]>
To
[email protected]
Subject
Re: st: spmap ... Variable _ID specified in option id()... r(459)
Date
Mon, 4 Nov 2013 16:28:14 -0500
Over the years that I've used spmap, I get this error on basemaps I've
been using without a problem. I thought there might be a fix. Frank
On Mon, Nov 4, 2013 at 4:23 PM, Nick Cox <[email protected]> wrote:
> I'm with Sergiy in being puzzled on what the question is, but one
> answer has to be -duplicates- to do more checking than -isid- does.
> Nick
> [email protected]
>
>
> On 4 November 2013 21:20, Sergiy Radyakin <[email protected]> wrote:
>> 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/
> *
> * 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/