Steps for Processing the ACS 1-Year Summary File Data ===================================================== 2013 Data Cycle: Processing Begins in September, 2014 -Circa 9/17 to 9/22 Created the acs2013 and acs2013/basetbls subdirectories. The latter was created by GR (Glenn) but I changed owner. -GR provided allgeos1yr, usmcdcprofiles and variables SAS data sets. In the basetbls subdirectory he provided the 12 (6 x 2) data sets such as ustabs00_07 and ustabs00_07moes data sets. Also a set of 6 variables data sets. The only IDs on the basetbls sets were geoid, logrecno and state. 9-22: The allgeos1yr data set was very limited to a handful of IDs and I requested he sent me a txt file similar to last year's cycle. He provided a csv file as an attachment and I saved it as geocodes1yr.csv in acs2013. I created the Tools directory and began this processing summary txt file. Did a Contents file so that users can now access the usmcdcprofiles.sas7bdat set. Also did a Contents on the basetbls subdirectory. Coded and ran cnvt_geo_files.sas per last year's model setup of same name. Creates acs2013.allgeos1yr . Looks good. Coded and ran process_mcdcprofiles1yr.sas per last year's model. Creates new acs2013.usmcdcprofiles data set. Looks good. Coded and ran process_basetabs1yr (after creating the temptabs subdir of basetabls and moving all GRs sas data sets there). First run failed in sorting the 00_07 moes data set. So I modified code to put sort output in userb directory instead of writing back over the input sets which were not in linux format (ceda being used to access GRs data sets). Coded and ran edit_basetabs_varsets.sas to fix a problem with the basetbls variables data sets. In these the Name variable used the i001 cell number convention instead of our i1. So this program fixes that. After this ran we were able to successfully access acs2013 basetbls data set in table select mode. [IMPORTANT NOTE: Job probably unnecessary because later job create_basetables_varlabs13 rewrites the 6 basetbls variables data sets]. From websas/Tools I edited the setup genTableSelects.sas to generate the webutil/selects pages for the 2012 and 2013 vintage ACS tables sets. This did not work very well. The variables data sets being accessed did not conform to our previous variable conventions (there was no varno variable, for example). We generated 2 sets of select files (6 files per year) but they did not work when we tried them from U/D. We also updated the uex2dex.sas module, adding code so that it would look for such select lists when the filetype was 2012 or 2013. 9-23: Copied some basetbls metadata files from 2012 to 2013: the Varlabs directory, TableTopicCodes.txt (editedto add topic 28) BaseTableSuffixes.txt. Looking into how we generated the Varlabs modules last cycle which led me to the pgm cnvt_table_number_lookup, which required that we access a file Sequence_Number-and_Table_Number_Lookup.txt . Sent note to GR regarding such a file for this cycle. 9-24: Glenn put a copy of the Sequence_Number_and_Table_Number_Lookup.csv file in acs2013. Moved it to basetbls, changed permissions so I could write to it and edited the first few header lines so there was just a single title record. Then completed edits to the cnvt_table_number_lookup.sas module and ran it (apparently with success). 9-25: Coded and ran invoke_dosets to create the Datasets.html page for just the single usmcdcprofiles data set, for now. Coded and ran invoke_dosets_basetbls.sas from acs/Tools (!!) to generate Datasets.html for acs2013/basetbls. Created a sample Queries module in new acs2013/Queries directory. 9-29: in acs/Tools (NOTE: not acs2013/Tools!) we created mcdcprofilesAlt.sas (note upercase A) that is to serve as a utility module for creating alternate profile datasets. It puts all the _moe's at the end of the rows. 9-30: Complete debugging of the mcdcprofilesAlt module and ran to create acs2013.usmcecprofilealt. 11-25: Discovered problem with assumption that all alpha-suffix tables associated with a table of same name without suffix had the same variables. But as was noted in example of B01001 (49 cells) and B01001A (et al) with only 31 cells. Caused us to edit and rerun the cnvt_table_number_lookup and create_basetables_varlabs13 setups, as well as the genTableSelects.sas module in websas/Tools to regen the select list modules for these data sets. We did a comparable set of updates for the 2012 tables. 03-17-15: Found a bug in the cnvt_table_number_lookup.sas setup, where it was storing a bad table title in cases where there were alpha-suffix tables without a corresponding blank alpha suffix table (the first table in the series was White only). Fixed this and then had to rerun create_basetables_varlabs.sas which recreated our variables{tgrp] data sets. And then reran genTableSelect.sas from websas/Tools to fix the table select list you get when accessing the 1yr basetbls acs2013 data sets.