Announcement

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

  • Export delimited without variable name

    The following code places the variable name in the first line of the exported file. Is there a way to export without the variable name?

    Code:
    * Example generated by -dataex-. For more info, type help dataex
    clear
    input str6 stringID
    "001004"
    "001013"
    "001045"
    "001056"
    "001072"
    "001075"
    "001076"
    "001078"
    "001094"
    "001161"
    end
    tempfile test1
    export delimited stringID using `test1'
    type `test1'
    Thanks,
    Devra
    Devra Golbe
    Professor Emerita, Dept. of Economics
    Hunter College, CUNY

  • #2
    Code:
    . tempfile test1
    
    . export delimited stringID using `test1', novarnames
    file /var/folders/xr/lm5ccr996k7dspxs35yqzyt80000gp/T//S_12808.000001 saved
    
    . type `test1'
    001004
    001013
    001045
    001056
    001072
    001075
    001076
    001078
    001094
    001161
    
    .

    Comment


    • #3
      Thank you! I did not find that in the help file. Didn't realize that the details for -export- would be in the entry for -import-, but there they are.
      Devra Golbe
      Professor Emerita, Dept. of Economics
      Hunter College, CUNY

      Comment

      Working...
      X