-- /pub/data/sf12000/Tools #DESCRIPTION >> Sfplace.sas@ >> Provides names for all state-place FIPS code combinations in the U.S. as they appeared on the Bureau SF1 Demographic Profiles data product issued May, 2001. agersexh.log >> SAS log file for program agersexh.sas. agersexh.lst >> SAS print file for program agersexh.sas. agersexh.sas >> Generates the moagersexhng dataset and moagersexh view with detailed demographic data in a format suitable for input to procs like tabulate. Each observation in these SAS files represents one cell in a large geoarea/age/race/sex/hispanic origin table. This setup is extensively commented and includes sample proc tabulate steps illustrating how the generated data sets can be used to create reports. agersexh_agg.log >> SAS log file for program agersexh_agg.sas. agersexh_agg.lst >> SAS print file for program agersexh_agg.sas. agersexh_agg.sas agersexh_query1.log >> SAS log file for program agersexh_query1.sas. agersexh_query1.lst >> SAS print file for program agersexh_query1.sas. agersexh_query1.sas >> Sample query run that produces a report using the agersexh data set and the SAS tabulate proc. agersexh_query2.log >> SAS log file for program agersexh_query2.sas. agersexh_query2.lst >> SAS print file for program agersexh_query2.sas. agersexh_query2.sas agersexh_query3.log >> SAS log file for program agersexh_query3.sas. agersexh_query3.lst >> SAS print file for program agersexh_query3.sas. agersexh_query3.sas agersexh_query4.log >> SAS log file for program agersexh_query4.sas. agersexh_query4.lst >> SAS print file for program agersexh_query4.sas. agersexh_query4.sas agersexh_query5.log >> SAS log file for program agersexh_query5.sas. agersexh_query5.lst >> SAS print file for program agersexh_query5.sas. agersexh_query5.sas agg_age0to6_momsa.log >> SAS log file for program agg_age0to6_momsa.sas. agg_age0to6_momsa.lst >> SAS print file for program agg_age0to6_momsa.sas. agg_age0to6_momsa.sas agg_males1825_mocnty.csv agg_males1825_mocnty.log SAS log file for program agg_males1825_mocnty.sas. agg_males1825_mocnty.lst SAS print file for program agg_males1825_mocnty.sas. agg_males1825_mocnty.sas agg_over60_mocnty.csv agg_over60_mocnty.log >> SAS log file for program agg_over60_mocnty.sas. agg_over60_mocnty.lst >> SAS print file for program agg_over60_mocnty.sas. agg_over60_mocnty.sas aggradius_xxgeos.log >> SAS log file for program aggradius_xxgeos.sas. aggradius_xxgeos.lst >> SAS print file for program aggradius_xxgeos.sas. aggradius_xxgeos.sas >> Aggregates the pop counts from the geo headers datasets for a specified radius in miles. Contains SAS code used to determine distance in miles between 2 lat-long points. aggsf1_libdists.log >> SAS log file for program aggsf1_libdists.sas. aggsf1_libdists.lst >> SAS print file for program aggsf1_libdists.sas. aggsf1_libdists.sas aggsf1_mislds.log >> SAS log file for program aggsf1_mislds.sas. aggsf1_mislds.lst >> SAS print file for program aggsf1_mislds.sas. aggsf1_mislds.sas aggsf1_moregns.log >> SAS log file for program aggsf1_moregns.sas. aggsf1_moregns.lst >> SAS print file for program aggsf1_moregns.sas. aggsf1_moregns.sas aggsf1_moslds.log >> SAS log file for program aggsf1_moslds.sas. aggsf1_moslds.lst >> SAS print file for program aggsf1_moslds.sas. aggsf1_moslds.sas aggsf1_moslds02.log >> SAS log file for program aggsf1_moslds02.sas. aggsf1_moslds02.lst >> SAS print file for program aggsf1_moslds02.sas. aggsf1_moslds02.sas aggsf1_schls.ioerror1.log SAS log file for program aggsf1_schls.ioerror1.sas. aggsf1_schls.log >> SAS log file for program aggsf1_schls.sas. aggsf1_schls.sas >> Aggregates sf1 data at the block level to create the 2 data sets moschlsph and moschlcosph. Then it does a correlation/aggregation of sumlev 080 data to create moschlspct and moschlcospct data sets. Huge resource hog. aggsf1_stltras.log >> SAS log file for program aggsf1_stltras.sas. aggsf1_stltras.lst >> SAS print file for program aggsf1_stltras.sas. aggsf1_stltras.sas aggsf1_test.sas >> Used to develop and debug our setup for aggregating sf1 data sets. cnvtsf1.log >> SAS log file for program cnvtsf1.sas. cnvtsf1.lst >> SAS print file for program cnvtsf1.sas. cnvtsf1.sas >> Code to read the 40 ascii files comprising a 2000 SF1 file and create SAS data sets. This is the main program. SEE MODULE cnvtsf1_alt.sas (and corresponding .txt file) for an alternative conversion module that we think is superior to this original version. We recommend using the alternative version. cnvtsf1.windows.sas >> This is the cnvtsf1.sas code, but modified to run in a Windows environment rather than UNIX. cnvtsf1_alt.log >> SAS log file for program cnvtsf1_alt.sas. cnvtsf1_alt.sas >> This is an "alternative" strategy for converting the SF1 files to SAS datasets. For a complete explanation of what this is about read the cnvtsf1_alt.txt file in this directory. Based on our experience with this alternative version this is THE RECOMMENDED CONVERSION MODULE. cnvtsf1_alt.txt cnvtsf1_altde.lst >> SAS print file for program cnvtsf1_altde.sas. cnvtsf1_altia.lst >> SAS print file for program cnvtsf1_altia.sas. cnvtsf1_altil.lst >> SAS print file for program cnvtsf1_altil.sas. cnvtsf1_altks.lst >> SAS print file for program cnvtsf1_altks.sas. cnvtsf1_altmd.lst >> SAS print file for program cnvtsf1_altmd.sas. cnvtsf1_altmi.lst >> SAS print file for program cnvtsf1_altmi.sas. cnvtsf1_altmo.lst >> SAS print file for program cnvtsf1_altmo.sas. cnvtsf1_altus.lst >> SAS print file for program cnvtsf1_altus.sas. cnvtsf1_xxgeos.log >> SAS log file for program cnvtsf1_xxgeos.sas. cnvtsf1_xxgeos.sas >> This job reads the 51 zipped geo headers files in the xxgeos subdirectory and creates, for each state + dc, 2 data sets (in the xxgeos subdirectory): XXblks and XXgeos. The former is the geo. header data for the census block level (sumlevl=101), and the latter contains the geo. header data for all other levels. copy_sf1test.log >> SAS log file for program copy_sf1test.sas. copy_sf1test.sas create_indices.log >> SAS log file for program create_indices.sas. create_indices.sas display_labels.log >> SAS log file for program display_labels.sas. display_labels.lst >> SAS print file for program display_labels.sas. display_labels.sas >> Self descriptive utility module to access and display the variables and labels in a sample collection of sf1 data sets. genVariables.log >> SAS log file for program genVariables.sas. genVariables.lst >> SAS print file for program genVariables.sas. genVariables.sas gen_sf1pros.log >> SAS log file for program gen_sf1pros.sas. gen_sf1pros.lst >> SAS print file for program gen_sf1pros.sas. gen_sf1pros.sas genkeys.log >> SAS log file for program genkeys.sas. genkeys.sas >> Invokes the genkeys macro in order to generate usgeos.Keyvals.html and mogeos.Keyvals.html pages. ioerror.log >> SAS log file for program ioerror.sas. ioerror.sas >> Temporary module in support of problem report. migrate_sf12000.log >> SAS log file for program migrate_sf12000.sas. migrate_sf12000.lst >> SAS print file for program migrate_sf12000.sas. migrate_sf12000.sas mislds.bkup mo_urbanrural_age.log >> SAS log file for program mo_urbanrural_age.sas. mo_urbanrural_age.lst >> SAS print file for program mo_urbanrural_age.sas. mo_urbanrural_age.sas mostcnty.sas newviews.log >> SAS log file for program newviews.sas. newviews.sas pct12rlabs.sas >> SAS label stmts for the pct12r data sets. pctlabs.sas >> SAS label stmts for the pct data sets. pgm.asv phlabels.sas >> SAS label stmts for the ph data sets. phlabs.sas@ query1_agersexh.log >> SAS log file for program query1_agersexh.sas. query1_agersexh.lst >> SAS print file for program query1_agersexh.sas. query1_agersexh.sas saved.sas sf1_agersexh_agg.sas sf1combo.xls >> SF1 data dictionary as Excel spreadsheets. Received from Ed Ratledge at Delaware SDC. sorterror.log >> SAS log file for program sorterror.sas. temp_modify.log >> SAS log file for program temp_modify.sas. temp_modify.sas >> We used this to temporarily modify some sf1 data sets without totally regenerating. We use proc datasets/modify to handle tasks such as altering formats or labels. xxgeos_usxxxxx.log >> SAS log file for program xxgeos_usxxxxx.sas. xxgeos_usxxxxx.lst >> SAS print file for program xxgeos_usxxxxx.sas. xxgeos_usxxxxx.sas >> This setup reads the set of 51 geographic headers data sets (in the xxgeos subdirectory) and creates several national data sets within that same subdirectory. Specifically, it creates data sets uscntys, uszctas and usplaces (so far -- we may go back and do more later.)