/* Update the mable22 datasets and views used by the geocorr 2022 web application. July 7, 2025 */ %include '/pub/sas/autoexec.sas'; options fmtsearch=(mable22 sasctlgs); options nosource nosource2 nomprint nomlogic nosymbolgen notes; libname mable22 '/pub/data/mable22' compress=char; %macro doit(state,stab); data &stab._blocks (rename=(cousub=cousub23)); set mable22.&stab._blocks; run; data mable22.&stab._blocks; set &stab._blocks; run; * Create the views. ; data mable22.&stab.v/view=mable22.&stab.v; merge mable22.&stab._blocks mable22.&stab._counties ; by county; run; %mend doit; %dostates(n=52);