Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: Unexpected errors using levelsof |
Date | Wed, 28 Aug 2013 21:49:23 +0100 |
This was also posted at http://www.talkstats.com/showthread.php/48660-Unexpected-errors-using-levelsof On our code of conduct on cross-postings, please see the FAQ. They have a similar code, but that is up to them. Nick njcoxstata@gmail.com On 28 August 2013 19:58, Morales Arilla, Jose <Jose_Morales_Arilla@hks.harvard.edu> wrote: > Thanks so much! It worked perfectly! > > JR > > > > > > El 8/28/13 2:13 de la tarde, "Nick Cox" <njcoxstata@gmail.com> escribió: > >>As the help for -levelsof- does explain, there is -clean- option to >>omit the compound double quotes. >>Nick >>njcoxstata@gmail.com >> >> >>On 28 August 2013 19:06, Morales Arilla, Jose >><Jose_Morales_Arilla@hks.harvard.edu> wrote: >>> This is good, since it doesn't bounce an error. However, it's not >>> producing the exact name in the database. For instance: >>> >>> . levelsof countryname if iso=="BRA", local(j) >>> `"Brazil"' >>> >>> . display `"`j'"' >>> `"Brazil"' >>> >>> This also happens when I run the graph. I'm aiming at the output: Brazil >>> >>> >>> Thanks!!! >>> >>> JR >>> >>> >>> >>> >>> >>> El 8/28/13 1:52 de la tarde, "Austin Nichols" <austinnichols@gmail.com> >>> escribió: >>> >>>>`"`j'"' >>> >>> >>> * >>> * 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/