Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to un-truncate variable names in output

    This is something I've meaning to ask for some time. Does anyone know how to un-truncate variable names in stata output, especially for 'lookfor'? I often survey datasets with lookfor and tab variables I find interesting in the output. This particular dataset I'm working with has variables with long names and it's impossible to figure out the unabbreviated names. I can look through the dictionary but it would be great if something can be done in Stata.
    Thanks in advance, Chung

  • #2
    The -describe- command has a -fullnames- option which shows unabbreviated names. -lookfor- does not, but you could accomplish the same thing with

    Code:
    quietly lookfor whatever
    des `r(varlist)', fullnames

    Comment


    • #3
      Another way, found in another thread on this forum:
      Code:
      ds, varwidth(32)

      Comment

      Working...
      X