Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Assign variable labels after importing data from Microsoft Excel


From   Iulian Ihnatov <[email protected]>
To   [email protected]
Subject   st: Assign variable labels after importing data from Microsoft Excel
Date   Mon, 19 Mar 2012 20:30:27 +0200

Dear Statalisters,
I need to import a Microsoft Excel sheet content (panel data) in Stata 12 that looks as follows: id time var1 var2 var3 .....
label_id    label_time       label_var1    label_var2       label_var3 ...
1 1960 123 1234 234
...

My problem is to use the values of the second row as value labels for the variable names in the first row. The - import excel - part is the easy one. I looked through the variable label management modules on the SSC archive and could't find an appropriate package to solve my problem. Thus, any help would be highly appreciated.

--
Iulian IHNATOV
--------------------------
Alexandru Ioan Cuza University of Iasi

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index