x cd /pub/data/stf803x2/Tools; %let pgm=invoke_dosets; filename pgm "&pgm..sas"; /*--Invoke the %doset macro to create observations in the Datasets dataset for this directory. E.J. Cleveland, OSEDA, June, 2003 J. Blodgett, 8/05 IG, 3/06 -- */ title "Job to Invoke doset Macro for Sets in stf803x2, creating stf803x2.datasets"; libname stf803x2 '/pub/data/stf803x2'; *-----Run this step ONLY ONCE------------------------------------------; *----If you need to rerun (start over) then delete the datasets dataset first. doset will not allow initialize mode if the datasets set already exists.---; *----------------------------------------------------------------------; %*doset(mode=initialize,libname=stf803x2,debug=0); options source; %let todo=usplaces; *<======Set to actually process=================================; **************************************************************************************** * Do standard sets for each state * ****************************************************************************************; %doset(mode=,libname=stf803x2, memname=_template_msas80, memlabel=%nrbquote(Metro Area Summaries for ~statenm), geouniv=~statenm, units=Metropolitan Statistical Areas, Year=1980, CreatePgm=moilkscnvts_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Standard demographic profile data for MSAs and CMSAs), keyvars=sumlev state msacmsa, keyfmats=sumlev state metro, keyquals=, keyidvars=, DataSource=%str(1980 Census, Summary Tape File 3), SortedBy=, UsageNotes=%nrbquote(), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), debug=0) %doset(mode=,libname=stf803x2, memname=_template_regns, memlabel=%nrbquote(Various Regional (non-Census) Summaries for ~statenm), geouniv=~statenm, units=ded dot rpc umx, Year=1980, CreatePgm=mocustomgeos, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for various state/university regions (ded, rpc, umx, and dot)), keyvars=sumlev rpc ded_region dot umx2, keyfmats=sumlev rpcname dedrgn modot umxname, keyquals=, keyidvars=, DataSource=%str(1980 Census, Summary Tape File 3.), UsageNotes=%nrbquote(), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0) %doset(mode=,libname=stf803x2, memname=_template_regns00, memlabel=%nrbquote(Various Regional (non-Census) Summaries (as defined in 2000) for ~statenm), geouniv=~statenm, units=ded dot rpc umx, Year=1980, CreatePgm=mocustomgeos, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for various state/university regions (ded, rpc, umx, and dot). Changes were made to several geographies due to consolidation of some of the defined regions), keyvars=sumlev rpc ded dot umx2, keyfmats=sumlev rpcname dedrgn modot umxname, keyquals=, keyidvars=, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=state county region, UsageNotes=%nrbquote(), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0) %doset(mode=,libname=stf803x2, memname=_template_cd108, memlabel=%nrbquote(108th Congressional Districts Summaries for ~statenm), geouniv=~statenm, units=108th Congressional Districts, Year=1980, CreatePgm=mocustomgeos, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for US Congressional Districts of the 108th Congress as elected in 2002.), keyvars=cd108, keyfmats=, keyquals=, keyidvars=, DataSource=%str(1980 Census, Summary Tape File 3, with custom aggregation to new geography by MCDC.), SortedBy=cd108, UsageNotes=%nrbquote( ), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), debug=0) %doset(mode=,libname=stf803x2, memname=_template_house, memlabel=%nrbquote(State House District Summaries for ~statenm), geouniv=~statenm, units=State House District, Year=1980, CreatePgm=mocustomgeos, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for house legislative (620) summary level.), keyvars=sumlev house, keyfmats=sumlev, keyquals=, keyidvars=, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=state county cousubfp, UsageNotes=%nrbquote(), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0) %doset(mode=,libname=stf803x2, memname=_template_senate, memlabel=%nrbquote(State Senate Districts Summaries for ~statenm), geouniv=~statenm, units=State Senate Districts, Year=1980, CreatePgm=mocustomgeos, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the 1980 standard demographic profile data for senat districts (610) summary level as revised in 2002. ), keyvars=sumlev geocode, keyfmats=sumlev , keyquals=, keyidvars=| areaname, DataSource=%str(1980 Census, Summary Tape File 3.), UsageNotes=%nrbquote(), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0) %doset(mode=,libname=stf803x2, memname=_template_mcds90, memlabel=%nrbquote(County Subdivisions Summaries for ~statenm), geouniv=~statenm, units=mcd, Year=1980, CreatePgm=moilkscnvts_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for mcds (060) summary level.), keyvars=sumlev county geocode, keyfmats=sumlev county |, keyquals=, keyidvars=| | areaname, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=county cousubfp, UsageNotes=%nrbquote(The variable geocode consists of the county fipco and cousubfp (county subdivision id)), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0) %doset(mode=,libname=stf803x2, memname=moschlcos00, memlabel=%nrbquote(MO School District Within County Summaries), geouniv=Missouri, units=School District within County, Year=1980, CreatePgm=mocustomgeos, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the 1980 standard demographic profile data for school district-within-county summary levels (se2 and su2) allocated to 2000 district boundaries.), keyvars=sumlev county ncescode desedist partflag, keyfmats=sumlev county, keyquals=, keyidvars= | | areaname areaname, DataSource=%str(1980 Census, Summary Tape File 3.), UsageNotes=%nrbquote(The geocode variable consists of the nces code and the five-digit fipco.), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0); %doset(mode=,libname=stf803x2, memname=_template_schls00, memlabel=%nrbquote(Complete School District Summaries for ~statenm), geouniv=~statenm, units=School Districts, Year=1980, CreatePgm=moilkscnvts_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the 1980 standard demographic profile data for school districts (sde and sdu) summary level allocated to 2000 district boundaries. ), keyvars=sumlev ncescode desedist, keyfmats=sumlev , keyquals=, keyidvars= | areaname areaname, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=state county geocode, UsageNotes=%nrbquote(The geocode variable consists of the nces code.), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0) %doset(mode=,libname=stf803x2, memname=_template_stcnty, memlabel=%nrbquote(State and County Summaries for ~statenm), geouniv=~statenm, units=State County, Year=1980, CreatePgm=moilkscnvts_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for State (040) and County (050) summary levels. ), keyvars=sumlev state fipco , keyfmats=sumlev state county, keyquals=, keyidvars=, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=sumlev geocode, SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0) %doset(mode=,libname=stf803x2, memname=_template_places, memlabel=%nrbquote(Place Summaries for ~statenm), geouniv=~statenm, units=Places, Year=1980, CreatePgm=moilkscnvts_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for places (160) summary level.), keyvars=state placefp, keyfmats=state | , keyquals=, keyidvars=| areaname, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=state geocode, UsageNotes=%nrbquote(These are the places as defined at the time of the 1980 census (1-1-90).), SubType=, SetGroup=~stab, VarSet=Variables, URLMeta=%str(https://mcdc.missouri.edu/pub/data/stf803x2/Variables.pdf), filters=, debug=0) %doset(mode=,libname=stf803x2, memname=_template_zips90, memlabel=%nrbquote(Zipcode Summaries for ~statenm), geouniv=~statenm, units=Zipcodes, Year=1980, CreatePgm=moilkscnvts_stf803x2, Keywords=stf3 standard extract demographic indicators income education poverty 1980 census sample, Description=%nrbquote(Contains the standard demographic profile data for zipcodes (371) summary level as defined by the U.S. Census Bureau. ), keyvars=sumlev state, keyfmats=sumlev state, keyquals=, keyidvars=, DataSource=%str(1980 Census, Summary Tape File 3.), SortedBy=state county geocode, UsageNotes=%nrbquote(