==> Headlines.sas <== ==> acs_counties_by_size.sas <== x cd /pub/data/acs2006/Tools; %let pgm=acs_counties_by_size; filename pgm "&pgm..sas"; *---generate a report showing for each state how many counties fall into each of the 3 size categories critical vis-a-vis getting data published in the ACS. The report is stored in the /pub/webrepts directory. jgb, 12-29-07. ---; options nodate ps=240; title 'Report 1: Number of Counties In Size Categories Relevant to ACS Data Release'; title2 'Based on July 1, 2006 Population Estimates'; footnote "Report Produced by Missouri Census Data Center"; footnote2 h=1 "From setup in acs2006/Tools/&pgm..sas"; libname popests '/pub/data/popests' access=readonly; ods html file="/pub/reports/&pgm..html" style=sasweb; proc format; value popcat 0-19999='Under 20000' 20000-64999='20000 to 64999' 65000-high='65000 and over'; run; data landsqmi02; *---we used Geocorr to generate a CSV file with land areas for 2002 counties in CO and VA only-; infile cards dsd ; length County $5 State $2 landsqmi02 5; input County _dum $ _cntyname $ landsqmi02; State=substr(county,1,2); SumLev='050'; ==> add_geos_to_profiles.sas <== x cd /pub/data/acs2006/Tools; %let pgm=add_geos_to_dataset; filename pgm "&pgm..sas"; /*--- AFter merging profile and basetable data, we need to add geo information so that we have an unique indentifer (esriid) 10/3/2007 - bce ---*/ *libname user '/SAS_temp/user'; libname acs2006 '/pub/data/acs2006/'; libname profiles '/pub/data/acs2006/profiles'; /* PROC DATASETS; DELETE usprofiles test profiletest basetest; * list dataset names to delete here ; RUN; */ data allgeos; ==> add_subjectgroup_to_profile_variables.sas <== /* adds the tablegroup and subjectgroup variables to the acs2006/profiles/variables dataset so that the acs2006 profiles can be in the order of demographic, economic, social, and housing */ *libname acs2006 '/pub/data/acs2006/profiles'; libname acs2006 '/pub/data/acs2006'; data variables; set acs2006.variables; length SubjectGroup $50; if TableNo >=1 and TableNo <=4 then do; TableGroup=1; * - demographic; SubjectGroup='Demographic'; end; ==> basecnvtcode.sas <== %*----generated by basetables_metadata.sas. Length statements orginally generated moved to length_statments.sas----; %let svars001=%str(B08406i1 -B08406i51 B08412i1 -B08412i39 B08511i1 -B08511i35 C08406i1 -C08406i33 C08412i1 -C08412i30 C08511i1 - C08511i30 ); %let svars002=%str(B08501i1 -B08501i56 B08503i1 -B08503i7 B08505Ai1 -B08505Ai7 B08505Bi1 -B08505Bi7 B08505Ci1 -B08505Ci7 B08505Di1 - B08505Di7 B08505Ei1 -B08505Ei7 B08505Fi1 -B08505Fi7 B08505Gi1 -B08505Gi7 B08505Hi1 -B08505Hi7 B08505Ii1 -B08505Ii7 C08501i1 - C08501i42 C08505Ai1 -C08505Ai6 C08505Bi1 -C08505Bi6 C08505Ci1 -C08505Ci6 C08505Di1 -C08505Di6 C08505Ei1 -C08505Ei6 C08505Fi1 - C08505Fi6 C08505Gi1 -C08505Gi6 C08505Hi1 -C08505Hi6 C08505Ii1 -C08505Ii6 ); %let svars003=%str(B08513i1 -B08513i56 B08519i1 -B08519i63 C08513i1 -C08513i30 C08519i1 -C08519i54 ); %let svars004=%str(B08521i1 -B08521i7 B08522i1 -B08522i28 B08524i1 -B08524i56 C08522i1 -C08522i24 C08524i1 -C08524i48 ); %let svars005=%str(B08526i1 -B08526i105 C08526i1 -C08526i84 ); %let svars006=%str(B08528i1 -B08528i70 B08532i1 -B08532i90 C08528i1 -C08528i30 C08532i1 -C08532i55 ); %let svars007=%str(B08534i1 -B08534i120 B08536i1 -B08536i12 B08537i1 -B08537i21 C08534i1 -C08534i50 C08536i1 -C08536i5 C08537i1 - C08537i18 ); %let svars008=%str(B08541i1 -B08541i35 B08601i1 -B08601i21 B08602i1 -B08602i15 B08603i1 -B08603i13 C08541i1 -C08541i30 C08601i1 - C08601i11 C08602i1 -C08602i11 C08603i1 -C08603i10 ); %let svars010=%str(B01001i1 -B01001i49 B01001Ai1 -B01001Ai31 B01001Bi1 -B01001Bi31 B01001Ci1 -B01001Ci31 B01001Di1 -B01001Di31 B01001Ei1 -B01001Ei31 B01001Fi1 -B01001Fi31 ); %let svars011=%str(B01001Gi1 -B01001Gi31 B01001Hi1 -B01001Hi31 B01001Ii1 -B01001Ii31 B01002i1 -B01002i3 B01002Ai1 -B01002Ai3 B01002Bi1 -B01002Bi3 B01002Ci1 -B01002Ci3 B01002Di1 -B01002Di3 B01002Ei1 -B01002Ei3 B01002Fi1 -B01002Fi3 B01002Gi1 -B01002Gi3 B01002Hi1 -B01002Hi3 B01002Ii1 -B01002Ii3 B01003i1 ); ==> basetables_metadata.sas <== x cd /pub/data/acs2006/Tools; %let pgm=basetables_metadata; filename pgm "&pgm..sas"; /*--Read the metadata as derived from the Ch. 6 codebook Excel file that came with the summary files for acs2006. It contains info regarding tables (titles, universes, etc) as well as table cells (cell #, label info, implicit indent levels based on leading blanks, and segment # indicating the numbered CSV file from which the data cell can be read. Output from this setup includes: acs2006.basetables acs2006.basevariables BasevarLabels.sas - file with SAS label statements to use in creating sas datasets basecnvtcode.sas - file with SAS length statements and fvar/lvar parm assignments used in sas conversion setup. J. Blodgett, OSEDA, Oct., 2007 -- */ title "&pgm.: Create acs2005.basetables and acs2005.basetablevars"; libname acs2006 '/pub/data/acs2006'; libname acs (acs2006); libname temp '/pub/data/acs2006/temp'; filename csvin '/pub/data/acs2006/summary/Chapter_6_acs_2006_tables_Sum_file_shells.csv'; filename varlabs '/pub/data/acs2006/BasevarLabels.sas'; filename basecode '/pub/data/acs2006/Tools/basecnvtcode.sas'; ==> cnvt_census_to_mcdc.sas <== x cd /pub/data/acs2006/Tools; %let pgm=cnvt_census_to_sas; filename pgm "&pgm..sas"; /*--- After we create uscensusprofiles and ustabs* (with geoid), we need to merge these two datasets together and create our own mcdc dataset. 10/10/2007 - bce ---*/ *libname user '/SAS_temp/user'; libname acs2006 '/pub/data/acs2006'; libname profiles '/pub/data/acs2006/profiles'; *libname basetbl '/pub/data/acs2006/basetables'; libname libsum '/pub/data/acs2006/summary'; options obs=max; proc sort data=profiles.uscensusprofiles; by geoid; run; proc sort data=libsum.ustabs17_20; by geoid; run; ==> cnvt_geo_files.sas <== x cd /pub/data/acs2006/Tools; %let pgm=cnvt_geo_files; filename pgm "&pgm..sas"; *---Read data from the geo-header Summary files ascii files downloaded from ftp2.census.gov/acs2006/summaryfiles to create sas datasets. jgb, 10-07 ---*; %let year=2006; %let yr=%substr(&year,3,2); title "&pgm.: Convert summaryFiles Data"; %libname(acs2005); libname acs2006 '/pub/data/acs2006'; *<====; %macro doit(state,stab); filename geoin "/pub/data/acs2006/summary/&&stab.geo.2006-1yr" ; *---Step 1: Read and store the state geographic identifiers file---; data acs&year..&stab.geos(label="Geo identifier data for &statenm"); infile geoin truncover lrecl=400; length SumLev $3 geoid $20 Name $100 AreaName $80 Geocomp_Name $64 State Stab $2 SumLev $3 Geocomp $2 LogRecno 8 County $5 CBSA $5 cbsaType $5 UA $5 PlaceFP $5 PUMA5 $5 sddelm sdsec sduni $5 ==> cnvt_summary_files.sas <== x cd /pub/data/acs2006/Tools; %let pgm=cnvt_summary_files; filename pgm "&pgm..sas"; /*--Read the summary files to create a sas dataset with all the base tables for the US. Uses code that was generated from the m-r data dictionary file in basetables_metadta setup. J. Blodgett, OSEDA, Oct., 2007 Last revised 11/5/2007 4:02:49 PM (comments and typos fixed. Code to create usalltabs removed. -- */ title "&pgm.: Read zipped CSV ('summary') files to create acs2006.usalltabs"; libname acs2006 '/pub/data/acs2006'; libname acs (acs2006); libname summary '/pub/data/acs2006/summary'; libname temp '/pub/data/acs2006/temp'; *<===========directory has been deleted. The XXtabs datasets were moved to a new directory: .../summary/tabsByState (jgb, 11/20/2007 9:34:11 AM) ==========================================; filename varlabs '/pub/data/acs2006/BasevarLabels.sas'; *<--see basetables_metdata.sas for creation of this and following 2 files-; filename basecode '/pub/data/acs2006/Tools/basecnvtcode.sas'; *<---critical assignment stmts for &svars1, &svars2,...,&svars135 --; filename lengths '/pub/data/acs2006/Tools/length_statements.sas'; ==> cnvtcsv_profile_to_sas.sas <== x cd /pub/data/acs2006/Tools; %let pgm=cnvtcsv_to_sas; filename pgm "&pgm..sas"; /*---After we go thru the gymnastics in convert_profiles.sas (from P:\mcdc\acs2006\tools) to create the input CSV files from the profiles sheets within the various xls files as downloaded, we now convert those CSV files to SAS datasets for the archive. j. Blodgett, OSEDA, under contract with the Missouri Census Data Center. Sept. 2007. ---*/ *libname user '/SAS_temp/user'; libname profiles '/pub/data/acs2006/profiles'; filename datain '/pub/data/acs2006/profiles/???profile_data.csv'; filename moesin '/pub/data/acs2006/profiles/???profile_moes.csv'; options obs=max; data rawdata; infile datain dsd firstobs=1 lrecl=4000 missover termstr=crlf; ==> create_basetable.sas <== x cd /pub/data/acs2006/Tools; %let pgm=create_basetable; filename pgm "&pgm..sas"; * -- convert CSV data from acs 2006 to sas data set (base table) ; libname acs2006 "/pub/data/acs2006"; filename in "/pub/data/acs2006/Tools/releasealltabs_billy.csv"; options fmtsearch=(acs2006.formats); data indataset; infile in dsd firstobs=3 missover; length _tableid $10 _linenumber $20 _stub $100 _IndentLevel $2; input _tableid -- _IndentLevel; if _tableid ne ""; * -- remove blanks ; run; proc sort data=indataset out=acs2006.basetables; ==> create_index.sas <== libname acs2006 '/pub/data/acs2006/'; proc sql; create index geoid on acs2006.usmcdcprofiles(geoid); quit; ==> create_variables.sas <== x cd /pub/data/acs2006/Tools; %let pgm=create_variables; filename pgm "&pgm..sas"; * -- use acs 2006 CSV data and create a sas dataset (contains variables) ; libname acs2006 "/pub/data/acs2006"; filename in "/pub/data/acs2006/Tools/releasealltabs_billy.csv"; data indataset; infile in dsd firstobs=3 missover; length _tableid $10 _linenumber $20 _stub $100 IndentLevel $1; input _tableid -- IndentLevel; run; proc sort data=indataset out=acs2006.variables; by _tableid; run; ==> curpmg.sas <== x cd /pub/data/acs2006/Tools; %let pgm=wormcan2; filename pgm "&pgm..sas"; *---Continue the "Can of Worms" processing. wormcan1 module dealt with latest estimates. In this module we focus on 2000 census data at the county and PUMA levels and try to estimate latest data using latest PUMA data. jgb, 8-11-2008. ----*; *<=======================Change all occurrences of acs2006 to the appropriate filetype per year==================; %let debug=1; %let libout=temp; %let year=2006; *<---the data year. Correspongs to the data directory we submit from (e.g. acs2006/Tools) ---; %let yr=%substr(&year,3,2); %let casrhlyr=07; *--The latest year for which we have casrh estimates. We put data for all years, including earlier ones. You can be accessing data for 2006 in dataset mocasrh07.----; title "acs2006/Tools/&pgm : Estimate ACS data for smaller counties for &year"; libname user '/SAS_temp/user'; libname temp '/pub/data/acs2006/temp'; %libname(acs2006); %libname(sf32000x); libname corrlst '/pub/data/corrlst'; ==> genmapdata.sas <== x cd /pub/data/acs2006/Tools; %let pgm=genmapdata; filename pgm "&pgm..sas"; * -- prgram to read raw data and generate data suitable for mapping.; libname mapdata "/pub/data/acs2006/mapdata"; filename infile "/pub/data/acs2006/mapdata/usMedHHIncbyPUMA.csv"; * -- convert file median household income by puma for entire US.; * -- input file downloaded from aff (acs2006, table B19013); data mapdata.uspumas; infile infile dsd firstobs=3 missover; length state $2 puma $5; length _geoid $20 esriid $7 _sumlevel 3 _geo_name $40 medhhinc 8 _medhhinc_moe $12; input _geoid -- _medhhinc_moe; ==> income_measures.sas <== x cd /pub/data/acs2006/Tools; %let pgm=income_measures; filename pgm "&pgm..sas"; *----rank states by various measures of income to see how consistent they are---; %libname(acs2006); data torank; set acs2006.usmcdcprofiles(keep=sumlev state medianhhinc medianfaminc avghhinc avgfaminc pci PctbelowPoverty MeanPovRatio); where sumlev='040'; ** and geocomp='00'; PctPoor=-pctbelowpoverty; drop pctbelowpoverty sumlev ; format state $state.; run; proc rank data=torank out=ranked descending; var medianhhinc -- PCI meanpovratio PctPoor; run; proc print data=ranked; id state; run; ==> invoke_dosets.sas <== x cd /pub/data/acs2006/Tools; %let pgm=invoke_dosets; filename pgm "&pgm..sas"; /*--Invoke the %doset macro to create observations in the Datasets dataset for this directory. BCE, OSEDA, Jan, 2008 Minor mods by JGB, Feb, 2008. (we originally stored this in the georef data directory and had to move it here a month later, 3-13-08) -- */ title "Job to Invoke doset Macro for Sets in acs2006, creating acs2006.datasets"; libname acs2006 '/pub/data/acs2006'; *-----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=acs2006,debug=1); *----------------------------------------------------------------------; *options nosource; ==> invoke_dosets_summary.sas <== x cd /pub/data/acs2006/Tools; %let pgm=invoke_dosets_summary; filename pgm "&pgm..sas"; /*--Invoke the %doset macro to create observations in the Datasets dataset for the acs2006/summary directory. J. Blodgett, OSEDA, Nov., 2007 Rev. 11/12/2007 11:47:05 AM -- */ title "Job to Invoke doset Macro for Sets in acs2006/summary, creating summary.datasets"; libname acs2006 '/pub/data/acs2006'; libname summary '/pub/data/acs2006/summary'; %let libnameg=summary; %let gyear=2006; *-----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.---; %*oset(mode=initialize, libname=summary,debug=1); *----------------------------------------------------------------------; ==> invoke_dovars.sas <== *options mprint; * macro to calculate new moe when you add 2 numbers together; %macro calc_moe(m1, m2, m3=0, m4=0, m5=0, m6=0); %if &dvmode = %str(data) %then %do; /* if &m1 eq . then %let m1=0; if &m2 eq . then %let m2=0; if &m3 eq . then %let m3=0; if &m4 eq . then %let m4=0; if &m5 eq . then %let m5=0; if &m6 eq . then %let m6=0; */ _tempmoe=1.645*SQRT((&m1/1.645)**2+(&m2/1.645)**2+(&m3/1.645)**2+(&m4/1.645)**2+(&m5/1.645)**2+(&m6/1.645)**2); %end; %else %do; _tempmoe=""; %end; %mend calc_moe; drop _:; ==> key_indicators.sas <== * this program retrieves certain PUMA data elements from acs data and; * from dk3_2k so that pdf maps can be created; * BCE 1/11/2008; libname acs '/pub/data/acs2006'; libname sf32000x '/pub/data/sf32000x'; libname georef '/pub/data/georef'; proc sql; create table mydata as select dc2k.esriid, georef.puma1, substr(dc2k.esriid, 3,7) as puma5, put(dc2k.esriid, $mopuma.) as areaname, georef.counties, georef.places, (acs.totpop-dc2k.totpop)/dc2k.totpop*100 as pctpopchange, acs.totpop-dc2k.totpop as popchange, acs.totpop as totpop2006, dc2k.totpop as totpop2000, acs.PctOver65, acs.over65, ==> length_statements.sas <== LENGTH B01001i1 - B01001i49 B01001Ai1 - B01001Ai31 B01001Bi1 - B01001Bi31 B01001Ci1 - B01001Ci31 B01001Di1 - B01001Di31 B01001Ei1 - B01001Ei31 B01001Fi1 - B01001Fi31 B01001Gi1 - B01001Gi31 B01001Hi1 - B01001Hi31 B01001Ii1 - B01001Ii31 B01002i1 - B01002i3 B01002Ai1 - B01002Ai3 B01002Bi1 - B01002Bi3 B01002Ci1 - B01002Ci3 B01002Di1 - B01002Di3 B01002Ei1 - B01002Ei3 B01002Fi1 - B01002Fi3 B01002Gi1 - B01002Gi3 B01002Hi1 - B01002Hi3 B01002Ii1 - B01002Ii3 B01003i1 - B01003i1 5; LENGTH B02001i1 - B02001i10 B02003i1 - B02003i71 C02003i1 - C02003i19 B02005i1 - B02005i46 C02005i1 - C02005i9 B02006i1 - B02006i19 C02006i1 - C02006i8 B02007i1 - B02007i15 C02007i1 - C02007i5 B02008i1 - B02008i1 B02009i1 - B02009i1 B02010i1 - B02010i1 B02011i1 - B02011i1 B02012i1 - B02012i1 B02013i1 - B02013i1 5; LENGTH B03001i1 - B03001i31 C03001i1 - C03001i10 B03002i1 - B03002i21 C03002i1 - C03002i12 5; LENGTH B04001i1 - B04001i109 C04001i1 - C04001i32 B04002i1 - B04002i109 C04002i1 - C04002i32 B04003i1 - B04003i108 C04003i1 - C04003i31 B04004i1 - B04004i108 C04004i1 - C04004i31 B04005i1 - B04005i108 C04005i1 - C04005i31 B04006i1 - B04006i109 C04006i1 - C04006i32 B04007i1 - B04007i7 C04007i1 - C04007i5 5; LENGTH B05001i1 - B05001i6 C05001i1 - C05001i5 B05002i1 - B05002i15 C05002i1 - C05002i8 B05003i1 - B05003i23 B05003Ai1 - B05003Ai23 B05003Bi1 - B05003Bi23 B05003Ci1 - B05003Ci23 B05003Di1 - B05003Di23 B05003Ei1 - B05003Ei23 B05003Fi1 - B05003Fi23 B05003Gi1 - B05003Gi23 B05003Hi1 - B05003Hi23 B05003Ii1 - B05003Ii23 C05003i1 - C05003i15 B05004i1 - B05004i15 B05005i1 - B05005i21 C05005i1 - C05005i13 B05006i1 - B05006i123 C05006i1 - C05006i68 B05007i1 - B05007i94 C05007i1 - C05007i57 B05008i1 - B05008i69 C05008i1 - C05008i51 B05009i1 - B05009i25 C05009i1 - C05009i12 B05010i1 - B05010i25 C05010i1 - C05010i7 5; ==> mean_poverty_ratios.sas <== x cd /pub/data/acs2006/Tools; %let pgm=mean_poverty_ratios; filename pgm "&pgm..sas"; *---calculate mean poverty ratios, derived from base table b17002. We use the acspums dataset to create a table of mpr values per state per poverty ratio interval as used in table b17002. ----; title 'Mean Poverty Ratios Assigned by the Missouri Census Data Center'; **==Note: a Reports subdirectory needs to be created in acs2006 prior to running since we have an ods output file in that dir-; libname btabs '/pub/data/acs2006/basetables' access=readonly; libname acs2006 '/pub/data/acs2006'; libname acspums '/pub/data/acspums'; *---step 1: create the acspums.mpr_state_interval dataset from the pums file for 2006---; proc format; value p72intvl 0-49=1 50-74=2 75-99=3 100-124=4 125-149=5 150-174=6 175-184=7 185-199=8 200-299=9 300-399=10 400-499=11 500 - high=12; run; /* =======================Begin comment================ data aggin; set acspums.usprecs06(keep=st pwgtp povpip rename=(st=State)); where povpip ne .; ==> placepop_moes.sas <== x cd /pub/data/acs2006/Tools; %let pgm=placepop_moes; filename pgm "&pgm..sas"; *-----Look at the MOEs for total pop estimates on the acs profiles and see how the estimate/moe compares with the official estimate on the ussc06 dataset. jgb, 10/07 ----; %libname(acs2006); libname popests '/pub/data/popests' access=readonly; libname user '/SAS_temp/user'; title 'Examination of acs2006 Total Pops for Places vs FSCPE Estimates of those Places'; title2 "Relating differences between the ACS estimate and the FSCPE figure wrt the MOE for the ACS Estimate"; footnote "Missouri Census Data Center, from setup in acs2006/Tools/&pgm..sas"; proc format; value yesno 1='Yes' 0='No '; run; data popests; set popests.ussc06(keep=sumlev state placefp popest areaname); length geoid $20; where sumlev='162' and popest ge 60000; ==> unzip_summary_files.sas <== x cd /pub/data/acs2006/Tools; %let pgm=unzip_summary_files; filename pgm "&pgm..sas"; x cd /pub/data/acs2006/summary; %macro doit(state,stab); %let statenm=Delaware; data _null_; retain name "&statenm"; name=compress(name); call symput('nameedt',trim(name)); run; %put &nameedt; %let segs=010 058 060; %do iseg=1 %to 3; %let seg=%scan(&segs,&iseg); x unzip -j all_&stab..zip prt03/ftp2/sumfile/&nameedt./&stab.0000&seg..2006-1yr.zip -d csvsegs; x unzip -j csvsegs/&stab.0000&seg..2006-1yr.zip -d csvsegs; ==> wormcan1.sas <== x cd /pub/data/acs2006/Tools; %let pgm=wormcan1; filename pgm "&pgm..sas"; *---Begin the "Can of Worms" processing: estimate acs data for smaller counties (w. < 65000 pop). Method involves looking at relationships of counties and PUMAs and at their 2k census data. We also bring in latest casrh and nchsbri pop estimates to get basic demographic counts. We want to match the data stored in our usmcdcprofiles dataset. jgb, 8-6-2008. ----*; *<=======================Change all occurrences of acs2006 to the appropriate filetype per year==================; %let debug=1; %let libout=temp; %let year=2006; *<---the data year. Correspongs to the data directory we submit from (e.g. acs2006/Tools) ---; %let yr=%substr(&year,3,2); %let casrhlyr=07; *--The latest year for which we have casrh estimates. We put data for all years, including earlier ones. You can be accessing data for 2006 in dataset mocasrh07.----; title "acs2006/Tools/&pgm : Estimate ACS data for smaller counties for &year"; libname popests '/pub/data/popests' access=readonly; libname user '/SAS_temp/user'; libname temp '/pub/data/acs2006/temp'; ==> wormcan2.sas <== x cd /pub/data/acs2006/Tools; %let pgm=wormcan2; filename pgm "&pgm..sas"; *---Continue the "Can of Worms" processing. wormcan1 module dealt with latest estimates. In this module we focus on 2000 census data at the county and PUMA levels and try to estimate latest data using latest PUMA data. jgb, 8-11-2008. ----*; *<=======================Change all occurrences of acs2006 to the appropriate filetype per year==================; %let debug=1; %let libout=temp; %let year=2006; *<---the data year. Correspongs to the data directory we submit from (e.g. acs2006/Tools) ---; %let yr=%substr(&year,3,2); %let casrhlyr=07; *--The latest year for which we have casrh estimates. We put data for all years, including earlier ones. You can be accessing data for 2006 in dataset mocasrh07.----; title "acs2006/Tools/&pgm : Estimate ACS data for smaller counties for &year"; libname user '/SAS_temp/user'; libname temp '/pub/data/acs2006/temp'; %libname(acs2006); %libname(sf32000x); libname corrlst '/pub/data/corrlst';