Download Contents - StatTransfer
Transcript
1-2-3 Worksheet Files Stat/Transfer will read and write files from any version of Lotus 1-2-3 (including Release 3.x and Windows). Standard Extensions: Lotus 1-2-3 Version 1 through 2.x Lotus 1-2-3 Version 3.x and Windows wk1 wk3 Reading 1-2-3 Worksheet Files Because worksheet files are in general not designed to hold statistical data, only worksheets in certain formats can be read. Worksheets must be in worksheet database format or in certain modifications of this. It is most straightforward with worksheets in database format. Database format Worksheet database files are structured worksheets where each row is a single case and each column contains a variable. Data can consist of numbers (including serial date numbers), labels, or formulas. The first non-blank row of a worksheet database file usually has labels in each column that give the names of the variables. The data then begins in the next row. However, variable labels may be in different rows or not present at all. You have several options to specify what part of an input worksheet to read and how to read variable names. Data Range You can choose different ranges to be read in input worksheets by using the drop-down menu for Data Range in the Worksheets section of the Options dialog box or using the SET command, WKS-DATA-RANGE. If you use Autosense (the default), Stat/Transfer will read to the first non-blank cell and use that as the upper left corner of the data range. It will then read data until it encounters an entirely blank line. This is the default behavior. You can change the behavior with respect to blank rows by using the Blank Rows option. Rather than have Stat/Transfer automatically sense the number of rows to be read, you can use the other options for Data Range to specify a range, either by giving a named range or by giving explicit coordinates. When a range has been specified, Stat/Transfer’s treatment of entirely blank rows will also be overridden. They will be returned in your output data and, in addition, blank rows at the end of the worksheet, through the last row of the specified range, will also be returned. Determining Variable Names By default, Stat/Transfer will attempt to determine whether or not the data in the first non-blank row (or the first row of a specified range) are variable names or the first row of data. It does so by looking for at least one column in which there is a string in the first row and a number in the second. If this behavior is inappropriate for your worksheet (for example, if you have only string data), you can specify different options in the Field Name Row drop-down menu of the Worksheets section of 82 Supported Programs 1-2-3 Worksheet Files