[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: recoding "long" variable to text
On May 6, 2007, at 5:29 PM, Marcos Feldman wrote:
can anyone help me figure this out? i am trying to create a new
variable based on an existing variable containing zoning codes. i
actually have two variables with the zoning codes, one is string
format another is long format. the codes (values) in both look like
this: 0001, 0004, 0072, 9001, etc. I want to replace these codes with
their descriptors, e.g., convert 0001 to "single-family residential,"
and so on.
I would recommend you label your variables, rather than "replacing"
them with text. See -help label- and the examples there of labeling
variables. The printed documentation is particularly informative in
this case. Hope this helps.
is there some other way to accomplish this transformation?
* For searches and help try: