Contents: /mscdc/sasfmats Rev: 08May00-08:00 =============================================================================== ./(see heading)........... Contents.................The file you are looking at. Headlines................Contains the first 25 lines of each file in the directory. As such, it serves as a sort of table of contents with sample entries for most modules. Most of the formats have been annotated with comments that describe what the arguments and labels are and where they came from. So this module should be useful for finding what you're looking for. Readme...................Overview file with general information about the directory. Sbealce.sas..............BEA Employment file line item codes. Sbealcf.sas..............BEA Farm Income file line item codes. Sbealci.sas..............BEA Personal Income file line item codes. Sbealcp.sas..............BEA PI file line items codes (same as $bealci). Sbealct.sas..............BEA Transfer Payment file line item codes. Sblcd103.sas.............Uses 1990 census-block intervals mapped to 103rd Congressional Districts (1992). Scenstat.sas.............Census Bureau state codes ('11'='Maine', etc.) Scharitr.sas.............Characteristic iteration (chariter) variables used on 1990 STF files such as STF2 and STF4. Scmsa.sas................Consolidated MSA codes (1990). Scmsa94_.sas.............Consolidated MSA codes updated to 6/94. Scmsatwo.sas.............Consolidated MSA 2-digit codes (1990). Scnam2fp.sas.............Argument is a Missouri county name, result is 5-digit FIPS county code. Scntymet.sas.............Table maps FIPS county codes for U.S. to metro area codes (MSA/CMSA?PMSA/NECMA). **NOT CURRENT** -- use Scomet.sas. Scntyrpc.sas.............Mo. county to Regional Planning Commission codes. Scntyrpn.sas.............Mo. county to RPC names. Scntyrpx.sas.............Previous (obsolete) version of Scntyrpn. Scntyuer.sas.............Mo. county to U. of Mo. Urban Extension Regions. Scntyumx.sas.............Relates Mo counties to U of Mo Extension regions. New name for Scntyuer. Scomet.sas...............Current mapping of US FIPS county codes to MSA, CMSA, NECMA or PMSA codes. Updated 7/97 for codes as of 6- 30-96. Scomet94_.sas............Same as Scomet but updated as of 6/94. Scomet95.sas@............ Scounty.sas..............Almost same as $fipcnty but with territories included and state postal abbrev as part of name. No annotations. Label in mixed case. Edited 2-2000 to create entries for new county codes (e.g. 12086 for Miami-Dade, FL). Code also modified to return state names if arg is 2-digit state FIPS or 2-digit state followed by '000', i.e. '29000'='Missouri'. Sdesedst.sas............. Sdesesch.sas............. Sdiscofp.sas.............Argument is 3-char DESE Missouri county code, result is 5-char FIPS county code. Sdivisio.sas.............US census division codes. Seeorace.sas.............Race codes used on 1990 EEO files. Sf2race.sas..............Race codes used on STF2 files, 1980. Sf92race.sas.............Race codes used on STF2 files, 1990. Sfipcnty.sas.............Complete FIPS county codes for U.S. Sfipstab.sas.............Converts FIPS state codes to postal abbreviations, e.g. "01"="AL". Sfmcd.sas................FIPS mcd (county subdivisions) 1990. Sfmcdcnv.sas.............This is not the source code, its just a note explaining that we created the format code and where to see the setup. There is a SAS format code in the compiled library that will convert from FIPS mcd codes to census. Sfnemcnm.sas............. Sfplace.sas..............FIPS place (city) codes 1990. Sfplccnv.sas.............This is not the source code for the SAS format - just a note describing it. It was created by a SAS pgm using a cntlin set. It will convert a FIPS place code to its census place code equivalent. Sgeocomp.sas.............Geographic component codes used in 1990 STF's, etc. Sglvl.sas................Locally-defined geographic level codes as used on ZIPBUS datasets, etc. Shouse.sas............... Shucname.sas.............Names for "huc"s - hydrological unit codes, aka "watersheds". Provided to us by H. Meij, CIESIN, who got them from a soruce at the USGS. Silplace.sas.............Illinois census place codes. Silplco.sas..............For Illinois places relates census place code to the county (FIPS code) having the largest intersection with that place (i.e. the "primary county"). Silpow.sas............... Sksplco.sas..............For Kansas place relates census place code to the "primary county" for that place. Sksschl.sas..............Kansas school district codes (as used in TIGER). Slrgplac.sas............. Smcdcnvt.sas.............Converts census MCD/CCD codes to FIPS equivalents for entire U.S. (1990). Smetro.sas...............Metro area codes: includes MSA's, CMSA's, PMSA's and NECMA's. Now revised to include all 1990 MA's as well all latest codes, with names in mixed case. This is the source of METRONM fields in geocorr application. Smetro94_.sas............Update to Smetro.sas for 6/94. Phasing out -- used to create NEW Smetro module. Smetro95.sas@............ Smobl2ld.sas.............Mo census block to legislative districts lookup table. Looks up state house & senate + U.S. CD as of 1992. Smobl2sc.sas.............Mo census block to school district correspondence table. Smobl2se.sas.............Mo census block to elemntary school district. Smoblpa.sas..............Mo census block to A-PUMA codes. Smocnty.sas..............Mo counties (3-digit FIPS codes). Smocogrp.sas.............Mo county to "county group" codes as used on 1990 PUMS-A sample files. Smodel.sas...............Template module. Smomcd.sas...............Mo MCD/CCD codes. Smomcds.sas..............Obsolete - just points you to the singular version. Smomcds2.sas.............Looks like a dup. Smoplace.sas.............Mo census place codes, 1990. Smoplco.sas..............Mo census place code to primary county table. (See Silplco.sas.) Smopow.sas...............Place-of-work codes used with 1990 STF420 files. Each county has a set of 20 places of work for which commuting counts are reported. Arguments are the county codes + the table slot #. Smopuma.sas..............Provides descriptive labels for 1990 A-sample PUMS files for Mo. Smoschl.sas..............Mo school district codes. Smozipco.sas.............Mo ZIP code names. Smsa.sas.................Metroploolitan Statistical Areas. Smsapmsa.sas.............MSA and Primary MSA codes. Snecma.sas...............New England County Metro Area codes. Snemc2ma.sas............. Snepl2mc.sas............. Snumstrt.sas............. Spattabl.sas............. Splace.sas...............U.S. census place codes form 1983 CCDB - only places with at least 10,000 pop included. Splccnvt.sas.............Census to FIPS place code converter, 1990 - U.S. Spmacnvt.sas.............Small table module used by UIC to convert from 3-char. PUMA codes used by UIC circa 1990 to the equivalent official 5-digit A-PUMA codes used by the rest of the workd for the PUMA codes in the Mo portion of the St. Louis MSA. Spmsa.sas................Primary MSA codes. Spmsa94_.sas.............Updated PMSA codes, 6-94. Spmsacms.sas.............Converts PMSA codes to CMSA codes 6/91 (all PMSA's are within a unique CMSA.) Sracspan.sas.............Code for RACSPAN (race/hispanic) variable on 1990 EEO sets. Srecoind.sas.............Codes for the RECOIND variable (race/ancestry code) used on 1980 STF2 and STF4 files. Sregion.sas..............Names for the 4 U.S. regions. Srpcname.sas.............Regional Planning Commission names, Mo - 1992. Srrpob.sas............... Srtl87kb.sas.............Kind of business codes used in 87 Census of Retail Trade datasets. Sschcnvt.sas.............For Mo only: convert 5-digit NCES school codes to 6- digits MODESE codes. Sschool.sas..............Names for Mo school districts (NCES codes as arguments). Ssegout.sas.............. Ssegtabl.sas............. Ssenate.sas.............. Ssic87nm.sas.............1987 SIC code names. Ssicname.sas.............1977 SIC code names. Sslvl.sas@...............Value for summary level codes (SLVL or SUMLEV) codes used for 1990 census data products. With a few additional non-numeric codes that we made up. Modified 1/97 so that the returned label incluede the code, i.e. "040"="040 State" . This member is atually just a pointer to the Sslvlwc.sas member, and this format is identical to that one. We have attempted to include entries for all codes used anywhere in our 1990 census summary files. Sslvlwc.sas..............See description of Sslvl.sas -- they're the same modules. Sstate.sas...............Names of states - arg is state FIPS code. Sstdivr.sas.............. Sstfpcen.sas.............Converts state FIPS codes to census codes. Ssyrrats.sas............. Stigcfcc.sas.............Census feature classification codes used in TIGER line files. Str8090s.sas.............Format table used to convert 1980 census tracts to 1990 equivalents in St. Louis metro area. Straname.sas.............Names for UIC-defined Tract Areas in St Louis. Strapuma.sas.............Table of TRA's to PUMA's in St. Louis. (UIC defintions.) Strgploc.sas.............Tract Group (obsolete UIC geography) to location. Historic interest only. Strgpnm.sas..............Tract group names. Strgrp.sas...............Tract to tract group table lookup. O.h.i.o. Strmsca.sas..............Tract to "major subcounty area". '80 tracts. Obsolete. Strname.sas..............Assigns area names to census tracts (80 & 90) in St. Louis metro area (9-county 1990 definition.) Strpuma.sas..............Returns 1990 A-file PUMA codes (UIC version: "1SO", "2NO", etc.) Strtra.sas...............Table related 1900 census tracts to UIC-defined "TRA"'s (Tract Areas) in 5-county St. Louis MSA/Mo area. Suername.sas.............University (of Mo) Extension Region codes. Sumxname.sas.............Provides names for U of Mo Extension region codes. New name for Suername. Surbarea.sas.............1990 Urbanized Area codes. Suscenci.sas.............U.S. central city codes. Swaplace.sas.............For some project we created this table of place names for the state of Washington. Swceqv.sas............... Sz2trpre.sas.............For St. Louis bi-state metro area this is a "lookup table" that links ZIP+2 codes to "primary tract" (with an allocation factor when split). Szipcnty.sas.............ZIP arg, returns "primary" FIPS co. code + name. Szipcods.sas.............This is our ultimate ZIP code reference file-in-a- format module. For every ZIP in the US (from Census Bureau's ZIP Equivalency file containing 1990 census geocodes and 1991 ZIP codes as used in 1990 STF3B data products) we return 64 characters of things such as primary county code, top 2 place (city) codes with name of "primary" place and county, etc. See the zipcods.usgnotes for a complete description. Note the size of this module: appx. 2.4M. Szipcods.usgnotes@.......Usage notes related to how to interpret results of and apply the Szipcods.sas format code (this directory.) Szipctmp.sas.............Obsolete backup of prior version. Szipmetr.sas.............ZIP arg, return metro code and type. Modifified 9/96 to return the 6/95 metro code. Szipmoco.sas.............For Mo ZIPs only, returns FIPS co. code + name. Szipname.sas.............ZIP arg, returns place name, selected ZIPS (6xxxx?) covering at least Mo & Il. Szipnmus.sas.............Huge: ZIP arg, returns primary place name. Szipstab.sas.............ZIP arg, retruns state abbrevation. Intervals. Tools/...................Standard tools directory containing programs, logs, listings, etc., related to the data in this directory. agitem.sas...............Used with 92 Ag census sets: provides names for variables (item codes). defunct_metros.sas.......Obsolete version of Smetro.sas. dum...................... eeo1grp.sas..............All these eeo formats are used to provide names to various levels of occupation codes on 1990 EEO datasets. Not for general use. eeo2grp.sas..............All these eeo--- formats used with software to process 1990 EEO occupation categories. Too complicated to get into. Not for general use. eeo3grp.sas..............Not for public use. For custom EEO90 reports. eeocats.sas..............Returns names of occupation from table index codes used in 1990 EEO sets. eeocats2.sas.............Do not use this. eeogrps.sas..............Original code for eeo1gro thru eeo3grp. With old MVS sequence numbers still intact. eeomajr.sas..............1980 EEO major occupation groups. eeominr.sas..............1980 EEO minor occupation groups. eeoocc.sas...............1980 EEO occupation categories. genstdivr.sas............ house.sas................ memdird.txt.............. mk.sas...................Numeric format used to display values in mega or kilo units. mofmts.sas............... old.Sslvl.sas............Old $slvl format source before we changed it to be a pointer to $slvlwc. senate.sas............... zipcods.usgnotes.........Documentation on how to use the Szipcods.sas ($zipcods) module. zipfmats.usgnotes........Originally a note posted to SAS-L listserv. This is a short essay on how SAS custom format codes can be used in conjunction with ZIP code variables. Includes the text of a short article we wrote for our local newsletter. Worth browsing. zipmods/.................