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: AW: Adding rows to datasheet

From   "Martin Weiss" <>
To   <>
Subject   st: AW: Adding rows to datasheet
Date   Tue, 23 Mar 2010 14:59:00 +0100


For a single row, you could also issue commands in the command window:

232 453

assuming you have two variables in your dataset. This will append them to
the end of your dataset w/o altering anything else...


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Sripal Kumar
Gesendet: Dienstag, 23. März 2010 14:48
An: statalist
Betreff: st: Adding rows to datasheet


This might seem like a no brainer to some of you.  I frequently run
into the trouble where I need to add rows to a previous stata
datasheet.  When I copy rows from excel and try to add to an existing
stata datasheet, it seem to wipe off the header and replace it with
the the newly added first row.  This happens even though I am adding
data to say the 20th row.  The newly inserted row will always replace
the header.  What am I doing wrong here?

To explain it a bit better:  My header in stata reads--no. of
patients, dead etc.  If I add an extra row from excel which has say
2345 and 2...this row deletes the header and the header will now read
as 2345 and 2 instead of no. of patients, dead.
*   For searches and help try:

*   For searches and help try:

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