/* Revert Missouri's 120th CDs back, pending November vote on "new" map. */ %include '/pub/sas/autoexec.sas'; options fmtsearch=(mable22 sasctlgs); options nosource nosource2 nomprint nomlogic nosymbolgen notes; libname mable22 '/pub/data/mable22'; proc sql; create table mo_blocks as select t1.GEOID, t1.State, t1.County, t1.County3, t1.cousub23, t1.Place, t1.PlaceSC, t1.InPlace, t1.Tract, t1.BlockGroup, t1.Block, t1.NECTA, t1.NECTADiv, t1.CNECTA, t1.ConsCity, t1.SDElem20, t1.SDSec20, t1.SDUni20, t1.SDBest20, t1.SDBestType20, t1.puma12, t1.PUMA22, t1.CD116, t1.CD117, t1.CD118, t1.CD119, t1.CD119 label="Congressional district code (120th Congress)" as CD120, t1.SLDU26, t1.SLDL26, t1.SLDU24, t1.SLDL24, t1.SLDU22, t1.SLDL22, t1.SLDU18, t1.SLDL18, t1.VTD20, t1.UA, t1.UR, t1.ZCTA, t1.HSA19, t1.HRR19, t1.AIANNH, t1.MOLibrary, t1.IntPtLat, t1.IntPtLon, t1.LandSQMI, t1.AreaSQMI, t1.pop20, t1.HUs20 from mable22.mo_blocks t1; quit; data mable22.mo_blocks; set mo_blocks; run; proc sort; by county tract block; run; * Recreate the views ; data mable22.mov/view=mable22.mov; merge mable22.mo_blocks mable22.mo_counties ; by county; run;