/* Update the mable22 datasets and views used by the geocorr 2022 web application. Adding CT planning regions, Dec. 2023. Further adjustments, July 2025. */ %include '/pub/sas/autoexec.sas'; options fmtsearch=(mable22 sasctlgs); options nosource nosource2 nomprint nomlogic nosymbolgen notes; libname mable22 '/pub/data/mable22' compress=char; data mable22.ct_blocks; set mable22.ct_blocks (rename=(oldCounty=CTcounty)); run; * rebuild the datasets ; proc sort data=mable22.ct_blocks; by county tract block; run; proc sort data=mable22.ct_counties; by county; run; * Create the views. ; data mable22.ctv/view=mable22.ctv; merge mable22.ct_blocks mable22.ct_counties ; by county; run;