Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: insheeting data with numeric variable names


From   <[email protected]>
To   <[email protected]>
Subject   st: insheeting data with numeric variable names
Date   Wed, 25 Jan 2006 10:24:06 -0500

I have a data set of quarterly figures in wide format, where the
variable names range between 1996q1 and 2029q4

The Stata command

insheet using data.txt, names double

will replace these variable names with q1 through q4 for the first four,
then v10 through v141 for the subsequent ones.

It looks like Stata, by default, assumes that variable names cannot be
numeric, or cannot begin with numbers.

Is there an easy way around this problem?

Thank you,
Gabi

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index