Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: unique string variables


From   Mazhar Islam <mail2mazhar@yahoo.com>
To   Stata List <statalist@hsphsun2.harvard.edu>
Subject   st: unique string variables
Date   Mon, 15 May 2006 12:00:55 -0700 (PDT)

Hi all,

I want to identify unique string variables within a
subgroup. I pasted a portion of data below.
Specifically I want to find how many locations a
certain code operates in a certain year. I will
appreciate any help.
Thanks
Mazhar 


appyear	code	location
1972	66735	CA
1972	71340	GBX
1972	71340	GBX
1972	71340	GBX
1972	71340	GBX
1972	71340	GBX
1972	71340	GBX
1972	75065	GBX
1972	75065	GBX
1972	76070	JPX
1972	76070	JPX
1972	76070	NJ
1972	76070	NJ
1972	76070	JPX
1972	76070	JPX


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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