Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: outsheet and variable labels

From   Paul Byatta <>
Subject   st: outsheet and variable labels
Date   Sun, 2 Jun 2013 21:03:03 +0300

Hi All,

I was wondering whether there is a way of displaying variable labels
instead of variable names when I outsheet results to an excel/csv

I understand the command below adds a variable label on a variable name.

label variable vlg_id "Village ID"

But how do I make "Village ID" appear on my excel/csv instead of "vlg_id"

My ousheet command looks like this

outsheet using VillageID.csv, comma replace

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index