MABLE14 Processing Notes ======================== Began work circa July 15, 2015. We created the mable14 filetype directory with 2 subdirectories. 7-16: Downloaded a test 2014 tgrnln file and coded read_tgrlnfaces.sas (started, at least: ran test case to convert 1 county just to see what was inside. It appears we have (new): cd114 (Cong districts, 2015-2016 congress - any changes?); placefp (get current place); 3 school district codes (LEA), and we shall do a bestsd where we use the unified, elementary or secondary, whichever comes first.; sldu and sldl (2014 updates?). They have all the cbsa/csa,metdiv, necta etc but we don't need it. File does NOT have (as it did in 2012) TAZ or UA codes. Did (from Linux in the mable14/tgrlnfaces subdir) command ftp ftp2.census.gov. Anonymous login. Prompt off. Monster mget to download entire collection. What could go wrong? Ran for 6 hours and seems to be have done it. Went to http://www.census.gov/population/metro/data/def.html where we got the latest defns for the cbsa etal group. It shows that feb 2013 is still the latest definition. 7-18: Lots of code mods to create the new read_tgrlnfaces.sas setup. Q's re the data here. Why the blk suffix code. We definitely have duplicate blocks but that is OK. After seeing that there were a number of differences between the 2010 and current tract/bg values sent a note to the Bureau asking for explanation of those fields. 7/23/2015 : Running interactive tests of the tglnfaces data trying to get a grip on the duplicate blocks with different geos. The blksfx code is a key indicating that one or more of the key geos now splits the 2010 census block. Doing a full nationwide convert this AM. Ran thru all state up to VA where it bombed because a county there got renamed. 7/28/2015: Working on molibdists.sas in mable14/Tools. Creating data needed to display MO lib dists. Finished up with creation of the tglnfaces data for all states. Special processing in VA to handle changed county. 9/05/2015: We updated the $csa format code so that 426 noe displays both value (Peoria and Pensacola) associated with that code. Did an edit to maggot.shtml to note this chage and inconsistency: csa codes change over time. Looking at the possibility of incorporating at least the option of recognizing that the Sullivan city (71440) portion of Crawford County, O (29055) is actually part of the St Louis MSA (41180). We never have before, we have always just ignored the legislation. 9/10/2015 Yesterday was major progress, creating a few test data sets with new geocodes, i.e. mable14.mov and the sets that feed this view. We created a special version of the latest cbsaco15 data set that did retro-coding to the 2010 county defns when 51515 still existed (Bedford (independent) city). 9/15/2015 Worked on updates of both read_tgrlnfaces and final_merge setups as we inforce a rule that the 2014 county must = 2010 county except in Bedford City, VA. We have now chosen the blksfx to be used for a given 2010 block based on atotal aggregated values. The sfx that has the larged Atotal total wins! Copied the formats catalog from mable12 to mable14. When doing test runs for Boone county we noticed that there were some blocks that went from inside Columbia to outside. Questionable amounts that looked like they were on the border. Noted esp block 15.02 4021 with 86 pop. We delved back intot he tigln faces and found 3 face records for this block. Two had blksfx B with placece blank and one had blksfx A and had Columbia as place. My guess is that the block is all or mostly in the city. Noticed variable Atotal on faces file. The value was larger for the A sfx than it was for the 2 B sfx records. Probably should changed algorith to select the blkface with largest Atotal value. ?? 9/23/2015 Ran read_tgrlnfaces for all states. Followed by complete genmable_finalmerge. (.75) Working on edits to the geocorr14.html page. (.25) 9/26/2015 Running a test on comparing 2010/2014 best school districts for MO. Found bug because in 2010 NA districts were coded as 99999 instead of blank. Added code to genmable14_finalmerge to change codes. Went back to the moblktolibdist2015.sas setup in corrlst/Tools to regenerate corrlst.&pgm . We no longer mess with afact in this data set. We assign each block to a single district based on taking the largest percentlib value for a block. The file sent by GRC used blocks with suffixes and had multiple records per block. Ran cformat.sas out of sasfmats/Tools to compile $libnam format code that will be used by geocorr14 to create names for libdists. But then decided that was NOT what we wanted to use at all! The codes from GRC are brand new and do not at all correspond to the codes previously used. So... We found a setup we did back in June molibdists.sas in the mable14/Tools dir. Forgot about it. We apparently were going to do afact values for the corrlst version of the equiv and then use this step to create a mable14 version that was simplified to 1 obs per block. But now we decided to do a 1 obs per block in the corrlst version so now we don't have much to do in the way of creating a mable14 veresion. Just creating the state and cnty vars used in final merge step. Also we used %genfamt to generate $libd15_ format code in mable14.formats . It also creates the source version in sasfmats. Edited the 2 websas files (html and sas) to add library district to the menus and the processing. Ran a successful test doing a list of all districts in the state. OK except we have all these sill codes reporesenting NA. Not sure folks at MOSL will like this. 9/29/2015 Working with Terry B trying to replace the library district codes with something better. Wrote a whatsnew page for the version. Still testing but almost ready. 10/3/2015 9:14:37 AM Working on molibdists.sas setup. Had to edit the input recodes format file to insert extra 3 chars to codes when they used sub-districts as districts. Tedious but necessary. 10/11/2015 We finally got all the mable14 views corrected by rerunning all the tgrlnface processing to correct situation where a block had changed states. We were getting Wyoming blocks in Utah, etc. Came in on Sunday to fix after Bert Sperling reported problem.