1 (STFS) 0 1980 SUMMARY TAPE FILES ----------------------- SCADS provides modules for converting most of the 1980 STF's to SAS datasets. Currently all STF1 through STF4 files except STF2C and STF4C can be converted using the JCL setups and macros provided on the SCADS installation tape. Our purpose in this chapter and in subse- quent chapters dealing with specific STF's is to provide information on how to access the datasets resulting from these conversions. We assume that the conversions were run without modification in your shop. We shall assume that the user is familiar with the appropriate documentation for each file as provided by the Census Bureau. Inother- words, we assume that you know what the data is about and in general how it is organized. Our purpose is to tell you how SCADS has trans- formed the data--what datasets you can expect to find, and what variables make up the observations of these datasets. The user needs to keep in mind that SCADS is a software system that provides the tools to create these datasets. It does not include the datsets themselves. It is expected that each shop installing SCADS will run the appropriate conversion jobs in order to create the datasets relevant to that shop's needs. You should check with the person responsible for installing SCADS at your installation to see what datasets are available on your system. The Urban Information Center does maintain a large collection of converted files (primarily STF3), which can be purchased from the UIC by users who prefer not to do their own conversions. In the following sections we shall go into some detail describing the specific datasets created for each of the specific Summary Tape Files. At this point we would like to describe some general conven- tions that apply equally to all (or at least almost all) STF files. - The AREANAME field which occupies 60 characters on the original tapes is shortened to 32 characters on all SCADS datasets. - Census tracts and enumeration district fields appear as two fields (basic and suffix) in the Census Bureau's documentation. When converting to SAS they will always be stored as single variables, TRACT and ED, respectively. TRACT will always be a 7-character field in xxxx.xx format, with leading zeroes and zeroes after the decimal point. For example, 0012.03 and 1234.00. ED will always be a 5-character field with the 5th character being the suffix field (usually blank.) - Whenever aggregate dollar fields are reported in units of $250 on the original file, they are multiplied by .25 (equivalent to dividing by 4) so that they become thousands of dollars. These variables have fractional portions, but the display macros round them to the nearest integer (i.e. to the nearest thousand dollars.) - In converting to SAS datasets, care has been exercised so that only data items that have quantitative (as opposed to categorical or descriptive) meaning are stored as numeric SAS variables. For the most part this means that only table cells (counts) and suppression flags are stored in numeric form. All geocodes are stored in character format, most in exactly the same format as they appear on the input tape. There are three reasons we can think of why users should know this: 1. When writing program statements to test the values of geocode variables your program will be more efficient if you use character type constants, i.e. IF COUNTY='189'; rather than IF COUNTY=189; . The latter would work but would require SAS to convert the character value of COUNTY to numeric format before doing the comparison. 2. It is very convenient to use the special SAS variable list _CHARACTER_ when referencing a SCADS dataset. For example, to list only the geographic identifier fields and the total population from a county-level dataset you could code: PROC PRINT DATA=STF3A.COUNTIES(KEEP=_CHARACTER_ T1I1); Print steps such as these (possibly combined with an "OPTIONS OBS=" statement to limit the number of observa- tions printed) are extremely useful to generate reference listings showing what geocodes are present for specific datasets. 3. When wanting to merge your own datasets with SCADS datasets (or with datasets derived from SCADS datasets) it is critical that the BY variables, usually geocodes, match precisely in terms of type and length. - Care has also been exercised to attempt to keep variables on SCADS datasets in the same order as their input field counter- parts as described in the data dictionaries. This comes in handy if you want to utilize the SAS "double dash" list feature. For example: KEEP STATE--TRACT T1I1--T50I3; . This statement would keep all the geographic descriptor variables starting with STATE and going through TRACT, and would also keep all the table items for tables 1 through 50 (assuming table 50 contains 3 items.) - Users should exercise caution when running the CONTENTS procedure against SCADS datasets/data libraries. Keep in mind the number of variables involved and the corresponding number of printed lines that will be generated. Users detecting any errors or omissions in these dataset descrip- tions are encouraged to report them to the UIC (at 314-553-6000) so that we may correct them as soon as possible. Keep in mind that most of what is being said here can be inferred by reading the source code in the conversion modules of the SCADS macro library and the corre- sponding conversion modules. Before reporting an error you should check with the person who ran the conversions to see if any of the original source code was modified.