Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: rename

From   "Hans J. Baumgartner" <>
To   statalist <>
Subject   st: rename
Date   Tue, 19 Nov 2002 16:12:35 +0100

Hi statalisters,

I've got a new data file which is stored in an odd way.

I have imported the file using the command insheet-. As a result I have variable names v1 to v251. However, the first observation in v251 is the variable name for v1; the second observation in v251 is the variable name for v2; and so on. Observation 251 and thereafter is missing.

I have tried:
For num 1/250: rename vX v251 in X

But the rename- does not allow the in- option.

Any suggestions on this?


Hans J. Baumgartner Deutsches Institut für Wirtschaftsforschung (DIW Berlin)
German Institute for Economic Research
Abt. Staat / Dept. Public Sector
Königin-Luise-Str. 5; 14195 Berlin (Dahlem) Tel.: 030/89789-307; Fax.: 030/89789-114

* For searches and help try:

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