Steps for Processing the ACS 5-Year Summary File Data ===================================================== 12-6: The embargo period begins circa 12:35 CST (late again). Waiting for data. 12-7-2016: Got the 5yr geocodes file as attachment from Glenn. Coded and ran cnvt_geo_files5.sas . Ran into some problems with lookup of cbsa codes using county key because 2 counties have different codes than what we used in the latest (2015) georef.cbsacos data set. 12-8-2016: Glenn puts usmcdcprofiles5yr dataset in acs2015 (yesterday). I do a chown to make that my file. In interacive sas session I rename this dataset to replace 5yr with 2011_2015 suffix. Edit and submit process_mcdcprofiles5yr.sas . Had to add code to allow for 2 county code-name changes. Took 3 runs but seems OK. Minor edits to acsmcdcprofiles_extract_menus.sas and acsmcdcprofiles_extract.sas (in websas) to bring that app up to date. Footnote says the new bg level data not ready yet. Edited and ran usbgprofiles.sas . Added code to allow matching with county code changes in AK and SD. We will run this again later after we get the newbgvars data (which in turn requires access to the basetabs5yr datasets. 12-13-2016 -Edited and ran gen_tablevars to generate metadata needed for next job. Accesses the btabsin set from Glenn. -Edited and ran ustabs5yr_basetbls. There is a commented out step where we creatred a series of state-logrecno indices on the btabsin sets from Glenn. But state is not unique because there is a US set somewhere with blank state values. What we need is a variable that IDs the file so that these are lumped together. It does not appear we used these indices anywhere so we are trying to run without it. -Editded and ran bgtract5yr_basetbls. Hardly any changes. Generates all the geo-speicic 5yr sets at the bg and tract levels. -Edited and reran usbgprofiles.sas to get new variables for bg's. Then edited the acsmcdcprofiles_extract_menu.sas module to remove user note saying the bg data was not yet complete. -Alterted user Pittman that new bg data were now ready. -Wrote a whatsnew blurb. 12-14-16: Editing and running gen_acsvarlist.sas from acs/Tools (NOT acs2014/Tools!). It creates 2 new parm files to be used by the circagg apps. *-----We apparently stopped keeping this activity log up to date. Lots of things were run which we need to capture before we forget what we did entirely.----. E.g. 3-11-17: we ran 2 jobs from acs/Tools to create the 10-year usmcdcprofiles dataset and then the ageracehsex special extraction also in the acs directory. ==================Last years cycle used to remind us of what we did last time======================= 2015 Data Cycle: Processing Begins in December, 2016 12-3-2015 Edited setup cnvt_geo_files5.sas to read the new 5yr geocodes file creating allgeos2010_2014 data set. Not many changes at all. Did a sudo chown blodgettj on the usmcdcprofiles5yr data set created by GR. Then renamed it to usmcdcprofiles2010_2014. In running process_mcdcprofiles5yr had to change names of the input data set (from GR) because when I renamed I left out the underscore before 2010. Then had to add a drop=state county dataset spec on the input set because they were numerics. -Edited and ran mcdcprofiles5yr which creates all the geo-specific 5yr datasets. 3 new "unexpected" sumlevs: 510, 612 and 622. 12-9-2015 -Edited and ran gen_tablevars to generate metadata needed for next job. -Edited and ran ustabs5yr_basetbls. Had to tweak with new parm sfx5yr to easily go between using and not using a "5yr" suffix in the input data set names. (NOT used this cylce, WAS used last year.) Job went a long way but did abend per apparent missing data for NC in the 17_20 data set. To be continued... Problem was determined to be that input data set was not sorted as required. Glenn ran job to sort all the input 5yr basetabls data sets. 12-10-2015 Glenn sends note saying sorted are complete circa 4 PM. 12-12-2015 Rerun ustabs5yr_basetbls.sas after input sets were sorted. Looks like a good run to the end. Edited acsprofiletemplate.html in websas so that it now includes code referencing the 9 variables in the E11 insurace coveragae "table". Edited FTP::websas\/pub/websas|acsmcdcprofiles_extract_menu.sas to include an entry for E11. It seems to be working OK with the new 2014 vintage data. Experienced some problems trying to access the new 5yr btables via Dexter which we shall need to address. 12-14-2015 Coded and ran bgtracts5yr_basetbls to create the new tract and bg level 5yr data tables. Finally able to diagnose problem as being incorrect data on the BG input sets. Notified GR of problem. 12-15-2015 Running bgtract5yr_basetbls to convert the tract and bg level sets. Tracts went smoothly but not the bgs. Even when we got the correct data sets on input we had a problem converting the last 2 tgroup sets. We traced this to a problem with btabs.bgvarsmeta which took us back to gen_tablevars where we found the problem was actually in a truncated btabs.bgtabsmeta variable. We made that variable longer and reran that setup to get a new metaset for bgs that looks good. 12-17-2015 Coded and ran newbgvars.sas to get some new info at bg level in set acs2014.newbgvars5yr . Tweaked and reran the usbgprofiles.sas setup, this time running the previously commented out step where we update using the newbgvars data. Reran gen_acsvarlist.sas from acs/Tools (note different Tools library). It generates the aggvarparm2014.sas module in acs/Tools as used by our caps application(s). Ran into error with Families variable not defined. Not sure why not. Decided to improve the usbgprofiles setup by having the list of never-defined variables specified in the drop dset options be done via program. So coded a new macro %ndefvars in sasmacro that takes a dataset and defines macro vars with lists of vriables that are never defined (i.e. always missing) on a specified data set. Will run the revised version again soon. 12-19-2015 Using the new %nvarsnd macro to define the list of always-missing (not defined) variables on input data set we rerun the usbgprofiles setup to create acs2014.usbgs5yr with enhancements. Updated the caps10acsb html and sas modules so that it now displays the new 2014 vintage data. Modified the doset incovation for bgvars5yr data set a bit. That data set is now completed for this cycle. 3-3-16 Unable to pull a table from the acs2014 5-year data set because it could not find the need metadata set to look up variables within a file. So I just copied the set of variable from basetbls to btabs5yr and got it to work. However, it should be a different data set. But it works. Went to acs/Tools/gen_acsvarlist.sas, the program that generates the %let stmts that define variables lists used by the acscaps10b (and other?) modules to automate aggregation. There were some problems that we missed when orginally run causing to pass names of variabales to these lists that did not actually appear on the bg data sets. Mostly pct variables when the denom was missing. 10-11-16 Archiving the acs2014/basetbls5yr directory created by GR - zipping to archives/acs2014/basetbls5yr. Had trouble with zip command. (Should have done this back in March). Zip command failed after compressing all the usbgs* sets it failed on ustabs08_moes . Will now run as 3 separate zips to separate out usbgs, ustracts and ustabs data sets. Deleted all the orginal usbgs* and ustracts* 5yr sets from GR. As of 10/11/2016 8:58:52 AM still trying to get the ustabs* data sets into ustabs.zip in archives. Failed trying to zip the ustabs17_20_moes.sas7bdat set. Was able to read it in SAS. Made a copy, appending "b" to ds name and will try again (after deleting the orginal dset). 10-13-16: run invoke_dosets_btabs5yr.sas from acs/Tools.