%*---This module creates the acsx defn by invoking the dovars macro to create the variables. Stored as module invoke_dovars.sas in the acs/Tools directory. ejc, sept 2006. --; *--Revision History: 9-20-06: Begin. Using a copy on unix without chkvals added yet. 9-27-06: chkvals added. 5-30-07: continue adding tables -- ejc 6-18-07: New editing, ejc/jgb. --*; %let display=1; %*<--This parm was not available when original coding was done on this filetype. It never gets changed from this default value (yet). Having it assigned here just avoids all the warning messages. (jgb, 9-29-02)--; %let table=Total Population by Sex; %let universe=Total Population; %let RefTables=B01001; %let lvl=0; %let pctof= ; %let display=1; %dovar(TotPop,%str(Total Persons),B01001i1,chkval=288378137,moe=0,comment=%str(Household pop only for 2005)) %let lvl=1; %let pctof= TotPop; %let display=1; %dovar(Male,%str(Male),B01001i2,chkval=141274964) %dovar(Female,%str(Female),B01001i26,chkval=147103173) %let table=Age; %let universe=Total Population; %let RefTables=B01001; %let pctof=TotPop; %let lvl=1; %dovar(Age0_4,Under 5 ,%str(sum(of B01001i3 B01001i27)),chkval=20267176) %dovar(Age5_9,Age 5 to 9,%str(sum(of B01001i4 B01001i28)),chkval=19512288) %dovar(Age10_14,10 to 14,%str(sum(of B01001i5 B01001i29)),chkval=20800182) %dovar(Age15_17,15 to 17,%str(sum(of B01001i6 B01001i30)),chkval=12552042) %dovar(Age18_19,18 to 19,%str(sum(of B01001i7 B01001i31)),chkval=6992853) %dovar(Age20_24,20 to 24,%str(sum(of B01001i8-B01001i10 B01001i32-B01001i34)),chkval=19302837) %dovar(Age25_34,25 to 34,%str(sum(of B01001i11-B01001i12 B01001i35-B01001i36)),chkval=38785474) %dovar(Age35_44,35 to 44,%str(sum(of B01001i13-B01001i14 B01001i37-B01001i38)),chkval=43237594) %dovar(Age45_54,45 to 54,%str(sum(of B01001i15-B01001i16 B01001i39-B01001i40)),chkval=42045357, comment=%str(Adding Age35_44 and Age45_54 gives you Baby Boomers)) %dovar(Age55_59,55 to 59,%str(sum(of B01001i17 B01001i41)),chkval=17122367) %dovar(Age60_64,60 to 64,%str(sum(of B01001i18-B01001i19 B01001i42-B01001i43)),chkval=12999440) %dovar(Age65_74,65 to 74,%str(sum(of B01001i20-B01001i22 B01001i44-B01001i46)),chkval=18359809) %dovar(Age75_84,75 to 84,%str(sum(of B01001i23-B01001i24 B01001i47-B01001i48)),chkval=12589992) %dovar(Over85,Over 85,%str(sum(of B01001i25 B01001i49)),chkval=3810726) %let lvl=0; %dovar(Under18,Under 18,%str(sum(of Age0_4 Age5_9 age10_14 Age15_17)),comment=Excludes 18-year-olds,chkval=73131688) %dovar(Over18,Over 18,%str(TotPop - Under18),comment=Includes 18-year-olds,chkval=215246449) %dovar(Age18_64,18 to 64,%str(sum(of Age18_19 Age20_24 Age25_34 Age35_44 Age45_54 Age55_59 Age60_64)), comment=Sometimes called the 'Adult Population',chkval=180485922) %dovar(Over21,Over 21,%str(sum(of B01001i9-B01001i25 B01001i33-B01001i49)),chkval=204456378) %dovar(Over62,Over 62,%str(sum(of B01001i19-B01001i25 B01001i43-B01001i49)),chkval=42320186) %dovar(Over65,Over 65,%str(sum(of B01001i20-B01001i25 B01001i44-B01001i49)),chkval=34760527) %let table=%str(Race and Hispanic); %let RefTables=B02001 B03002; %let pctof=TotPop; %dovar(White1,White alone,B02001i2,chkval=215333394) %dovar(Black1,Black alone,B02001i3,comment=%str(Given a list of race categories to check this count is of people who checked Black or African American and no other.),chkval=34962569) %dovar(Indian1,Amer Indian Alaska Native alone,B02001i4,chkval=2357544) %dovar(Asian1,Asian alone,B02001i5,chkval=12471815) %dovar(HawnPI1,Hawaiian and Other Pac Islander alone,B02001i6,chkval=397030) %dovar(Other1,Other race alone,B02001i7,comment=Most of the people who chose Other race were hispanic,chkval=17298601) %dovar(MultRace,Two or More Races,B02001i8,comment=The 6 race-alone categories plus this multi-race count should sum to the total pop,chkval=5557184) %dovar(HispPop,%str(Hispanic or Latino),B03002i12,comment=IMPORTANT NOTE!: Hispanic is NOT a race - it is a separate category,chkval=41870703) %dovar(White1NH,White Alone Not Hispanic,b03002i3,comment=To be in this category the person must have checked only White for race and NOT checked the Hispanic option,chkval=192615561) %dovar(Minority,Minority Pop,%str(TotPop - White1NH),chkval=95762576, comment=%str(Persons who checked any race other than White, OR who checked Hispanic. White1NH + Minority=TotPop)) %let table=%str(Relationship of Persons in Households); %let universe=Persons in Households; %let RefTables=B09016; %let pctof=Totpop; %dovar(HHPop,Persons in Households,B09016i1,chkval=288378137,comment=%str(Households represented here does not include group quarter numbers)) %let pctof=HHpop; %let lvl=1; %dovar(Householder,,B09016i3+B09016i19,chkval=114763475,comment=%str(The Householder is the person who fills out the first column on the questionnaire. For married couples it can be the husband or the wife, whoever goes first)) %dovar(Spouse,,B09016i6,chkval=57057621) %dovar(Child,Child of Householder,B09016i7,chkval=85374056,comment=Age does not matter here. The child could be 50.) %dovar(Other_relative,Other Relative,%str(sum(of B09016i8-B09016i11)),chkval=16801120) %dovar(NonRelative,,%str(sum(of B09016i12 B09016i26)),chkval=14381865) %let table=%str(Households by Type); %let universe=Households; %let RefTables=B11003; %let pctof=; %dovar(TotHHs,Total Households,B11001i1,chkval=111090617) %let pctof=TotHHs; %let lvl=1; %dovar(Families,,B11001i2,comment=%str(Family Households are those with 2 or more persons related by blood, marriage or adoption), chkval=74341149) %let lvl=2; %dovar(MarriedCouples,Married Couples,B11001i3,chkval=55224773) %let lvl=3; %*dovar(CouplesWithKids,Married Couples w Own Children < 18,P10i8,chkval=24136134) %let lvl=2; %dovar(SingleParents,Single Parent Families,%str(B11001i5 + B11001i6),chkval=19116376, comment=%str(The parent must be the householder and the children must be < 18. A single mother > 18 living in her mothers household is not counted here.)) %let lvl=3; %dovar(SingleMothers,Single Mothers,B11001i6,chkval=14018712,comment=Easy to derive SingleFathers by substracting this from SingleParents) %let lvl=2; %dovar(OtherFamilies,Other Families,%str(Families-MarriedCouples-SingleParents)) %let lvl=1; %dovar(NonFamHHs,%str(Non-Family HHs),B11001i7,chkval=36749468) %let lvl=2; %dovar(LivingAlone,Persons Living Alone,B11001i8,chkval=30073238) %let table=%str(Marital Status); %let Universe=Persons Over 15; %let RefTables=B12001; %let pctof=TotPop; %dovar(Over15,Over 15 Yrs of Age,B12001i1) %let pctof=Over15; %let lvl=1; %dovar(NeverMarried,Never Married,B12001i3+B12001i12,chkval=64114776) %dovar(Married,Now Married Not Separated,%str(sum(of B12001i4 B12001i13)), comment=%str(The qualifier Now also applies to next 3 categories),chkval=126628941) %dovar(Separated,,%str(sum(of B12001i6 B12001i7 B12001i15 B12001i16)),chkval=15271884,comment=A married couple can have separate residences without being legally separated.) %dovar(Widowed,,%str(B12001i9 + b12001i18),chkval=13732734,comment=If you were widowed but remarried you are not counted here.) %dovar(Divorced,,%str(B12001i10 + B12001i19),chkval=23322040,comment=%str(If you were divorced but are now married, separated or widowed you are not counted here.)) %let table=%str(Language Spoken at Home); %let Universe=Persons Over 5; %let RefTables=C06007; %let pctof=TotPop; %dovar(Over5,Over 5 Yrs of Age,C06007i1,chkval=268110961) %let pctof=Over5; %let lvl=1; %dovar(EnglishOnly,Speak English Only,C06007i2,chkval=216176111) %dovar(EnglishLimited,%bquote(Speak Eng less than "very well"),C06007i5,chkval=23142029) %dovar(NoEnglish,Do Not Speak English,C06007i3,chkval=51934850) %let table=%str(Foreign Born Persons); %let Universe=Foreign Born Persons; %let RefTables=B05002; %let pctof=TotPop; %dovar(ForeignBorn,%str(Foreign Born, exc native),B05002i13,comment=Native Americans born abroad are not counted here,chkval=35689842) %let lvl=1; %dovar(Naturalized,Naturalized US Citizen,B05002i14,chkval=14967828) %dovar(NonCitizen,Not a Citizen,B05002i15,chkval=20722014) %*let RefTables=B05005; %dovar(EnteredBefore2k,Foreign Born Entered US Before 2000,B05005i7,chkval=11927834) %dovar(Entered2000plus,Foreign Born Entered US in 2000 or Later,B05005i2,chkval=8387633) %let RefTables=B05006; %let PctOf=ForeignBorn; %dovar(FBEurope,Born in Europe,B05006i2,chkval=4869898) %dovar(FBAsia,%str(Born in Asia),B05006i34,chkval=9534429) %dovar(FBLatinAmerica,%str(Born in Latin America),B05006i91,chkval=19018949, comment=%str(Includes Caribbean, Central and South America)) %dovar(FBMexico,%str(Born in Mexico),B05006i101,comment=This count is included in Latin America as well,chkval=10969941) %dovar(FBOther,Born somewhere else,ForeignBorn - %str(sum(of FBEurope FBAsia FBLatinAmerica FBMexico)),comment=%str(Includes persons born in Oceania, Africa, Northern America (Canada, mostly) and at sea)) %let table=%str(Residence); %let Universe=Persons Over 5; %let RefTables=C07001; %let pctof=Over5; %dovar(SameHouse,Lived in Same House 1 Yr Ago,%str(sum(of C07001i3-C07001i19))) %dovar(SameCounty,Lived in Same County 1 Yr Ago,SameHouse + %str(sum(of C07001i41-c07001i57))) %dovar(SameState,Lived in Same State 1 Yr Ago,SameCounty + %str(sum(of C07001i60-C07001i76))) %let table=%str(Place of Work); %let Universe=Workers over 16; %let RefTables=C08007 B08008; %let pctof=; %dovar(Worker16,Workers 16 and Over,C08007i1,chkval=133091043,comment=Workers are those who had at least some employment during survey period) %let pctof=Worker16; %let lvl=1; %dovar(WorkInCounty,Work in County of Residence,C08007i2) %let RefTables=B08008; %dovar(WorkersInaPlace,Workers Living in a Place,B08008i2+B08008i12) %let pctof=WorkersInaPlace; %let lvl=2; %dovar(WorkInPlace,Work in Place of Residence,B08008i3+B08008i13) %let table=%str(Commuting); %let Universe=Workers over 16; %let RefTables=C08101; %let pctof=Worker16; %dovar(DriveAlone,Drive Alone to Work,C08101i10,chkval=102458267) %dovar(Carpool,,C08101i19,chkval=14200426) %dovar(PublicTrans,Public Transportation or Taxi to Work,C08101i28,chkval=6202014) %dovar(CycleWalk,%str(Cycle,Walk or Other means to Work),C08101i37,comment='Cycle' means motorcycle or bicycle.,chkval=5434158) %dovar(WorkAtHome,Work at Home,C08101i46,chkval=4796178, comment=We have omitted a small 'Other means' category which can be derived by subtracting the sum of these categories from Workers16) %let PctOf=; %let RefTables=C08012 B08013; %let display=0; %dovar(Commuters,Commute to Work,%str(sum(of DriveAlone Carpool PublicTrans CycleWalk))) %let display=1; %dovar(AvgCommute,Mean Travel Time to Work,%str(C08012i1/B08013i1),fmt=5.1,wtvar=Commuters,comment=In minutes) %let table=%str(School Enrollment); %let Universe=Persons Over 3; %let RefTables=C14002; %let pctof=TotPop; %dovar(Over3,Over 3 Yrs of Age,C14002i1) %let pctof=Over3; %let lvl=1; %dovar(EnrolledK12,%str(Enrolled in grades K-12),%str(sum(of C14002i6 C14002i9 C14002i12 C14002i15))) %let PctOf=EnrolledK12; %let lvl=2; %dovar(InPvtSchools,Enrolled in Private Schools K-12,%str(sum(of C14002i8 C14002i11 C14002i14 C14002i17))) %let PctOf=Over3; %let lvl=1; %dovar(InCollege,Enrolled in College,%str(sum(of C14002i18 C14002i21))) %let table=%str(Educational Attainment); %let universe=Persons Over 25; %let RefTables=B15002; %let pctof=TotPop; %dovar(Over25,Over 25 Yrs of Age,B15002i1) %let pctof=Over25; %let lvl=1; %dovar(LessThan9th,Less Than 9th Grade,%str(sum(of B15002i3-B15002i6 B15002i20-B15002i23)),chkval=11793051) %dovar(SomeHighSchool,%str(9th thru 12th grade, No Diploma),%str(sum(of B15002i7-B15002i10 B15002i24-B15002i27)),chkval=17989278) %dovar(HighSchool,High School Grad or GED,B15002i11 + B15002i28,comment=These are people with nothing beyond High School, chkval=55856936) %dovar(NoCollege,Did Not Attend College,LessThan9th + SomeHighSchool + HighSchool,chkval=85639265) %dovar(SomeCollege,(Some College but no degree),%str(sum(of B15002i12-B15002i14 B15002i29-B15002i31)), comment=%str(NOT the complement of NoCollege. Includes people with some college but no degree except maybe an associates),chkval=51944664) %dovar(Bachelors,,B15002i15 + B15002i32,Comment=People with a Bachelors and no more,chkval=32536186) %dovar(Masters,,B15002i16 + B15002i33,comment=%str(People with a Masters and no more. NA on STF3 in 1990.),chkval=13002106) %dovar(ProfPHD,Prof School Degree or PhD,%str(sum(of B15002i17-B15002i18 B15002i34-B15002i35)),chkval=5828538) %dovar(GradProf,Graduate or Professional Degree,Masters + ProfPHD,chkval=18830644) %let table=%str(Veteran and Armed Forces Status); %let universe=Persons Over 16; %let RefTables=B23001; %let PctOf=TotPop; %dovar(Over16,16 Years of Age or Older,B23001i1) %let pctof=Over16; %let lvl=1; %dovar(ArmedForces,Currently in Armed Forces,%str(sum(of b23001i5 b23001i12 b23001i19 b23001i26 b23001i33 b23001i40 b23001i47 b23001i54 b23001i61 B23001i68 b23001i91 b23001i98 b23001i105 b23001i112 b23001i119 B23001i126 B23001i133 B23001i140 B23001i147 b23001i154)),comment=%str(Universe Was Persons 18+ in 1990), chkval=722978) %let lvl=0; %let PctOf=TotPop; %dovar(Over18,18 Years of Age or Older,B21001i1,chkval=214524444) %let pctof=Over16; %let lvl=1; %*dovar(Civilian,Civilian Population > 16,%str(sum(of b23001i6 b23001i13 b23001i20 b23001i27 b23001i34 b23001i41 b23001i48 b23001i55 b23001i62 B23001i69 b23001i92 b23001i99 b23001i106 b23001i113 b23001i120 B23001i127 B23001i134 B23001i141 B23001i148 b23001i154)),comment=%str(Universe Was Persons 18+ in 1990), chkval=) %let RefTables=B21001; %dovar(Veteran,Veteran,B21001i1,chkval=214524444,comment=Must currently be a civilian.) %dovar(nonVeteran,NonVeteran, %str(sum(of B21001i5 B21001i8 B21001i11 B21001i14 B21001i17 B21001i21 B21001i24 B21001i27 B21001i30 B21001i33)),comment=Must currently be a civilian,chkval=191096860) %let table=%str(Disability); %let Universe=Civilian Non-Institutionalized Persons; %let RefTables=C18001; %let PctOf=; %dovar(DisabledUniv,%str(Civilian Non-Inst Pop Over 5),C18001i1,comment=%str(Excludes children < 5, military and persons in institutions), chkval=267387983) %let PctOf=DisabledUniv; %let lvl=1; %dovar(Disabled,Persons With 1 or more disabilities,%str(sum(of C18001i5 C18001i6 C18001i9 C18001i10 C18001i13 C18001i14 C18001i17 C18001i18 C18001i22 C18001i23 C18001i26 C18001i27 C18001i30 C18001i31 C18001i34 C18001i35)),chkval=39740709) %let PctOf=; %let lvl=0; %dovar(DisabledUniv65,Civilian Non-Inst. Pop Over 65,%str(sum(of C18001i11 C18001i15 C18001i28 C18001i32)),chkval=34760527) %let pctof=DisabledUniv65; %let lvl=1; %dovar(Disabled65,Persons Over 65 1 or more disabilities, %str(sum(of C18001i13-C18001i14 C18001i17-C18001i18 C18001i30-C18001i31 C18001i34-C18001i35)),chkval=14063876) %let pctof=; %let lvl=0; %let RefTables=C18008; %dovar(DisabledUniv16,%str(Civilian Non-Inst. Pop 16-64),%str(c18001i7+c18001i24),chkval=188041309) %let pctof=DisabledUniv16; %let lvl=1; %dovar(WorkDisability,%str(Persons 16-64 with a Work Disability),%str(sum(of C18001i9-C18001i10 C18001i26-C18001i27)),chkval=22790299) %let table=%str(Employment Status); %let Universe=Persons over 16; %let RefTables=B23001; %let PctOf=TotPop; %dovar(Over16,Over 16 Yrs of Age,B23001i1,chkval=223524814) %let pctof=Over16; %let lvl=1; %dovar(CivLabForce,Civilian Labor Force,%str(sum(of b23001i4 b23001i90 b23001i11 b23001i97 b23001i18 b23001i104 b23001i25 b23001i111 b23001i32 b23001i118 b23001i39 b23001i125 b23001i46 b23001i132 b23001i53 b23001i139 b23001i60 b23001i146 b23001i67 b23001i153 b23001i74 b23001i160 b23001i79 b23001i165 b23001i84 b23001i170)), comment=%str(To be in the CLF you must be a civilian over 16 currently working or actively seeking work),chkval=147299391) %let pctof=CivLabForce; %let lvl=2; %dovar(Unemployed,Unemployed Persons,%str(sum(of b23001i8 b23001i15 b23001i22 b23001i29 b23001i36 b23001i43 b23001i50 b23001i57 b23001i64 b23001i71 b23001i76 b23001i81 b23001i86 b23001i94 b23001i101 b23001i108 b23001i115 b23001i122 b23001i129 b23001i136 b23001i143 b23001i150 b23001i157 b23001i162 b23001i167 b23001i172)),chkval=10117603) %dovar(CivLabForceFem,%str(Civ. Labor Force, Female),%str(sum(of b23001i90 b23001i97 b23001i104 b23001i111 b23001i118 b23001i125 b23001i132 b23001i139 b23001i146 b23001i153 b23001i160 b23001i165 b23001i170))) %let Pctof=CivLabForceFem; %let lvl=3; %dovar(UnemployedFem,Unemployed Females,%str(sum(of b23001i90 b23001i97 b23001i104 b23001i111 b23001i118 b23001i125 b23001i132 b23001i139 b23001i146 b23001i153 b23001i160 b23001i165 b23001i170))) %let PctOf=Over16; %let lvl=1; %dovar(NotInLF,Over 16 Not in Labor Force,%str(sum(of B23001i9 B23001i16 B23001i23 B23001i30 B23001i37 B23001i44 B23001i51 B23001i58 B23001i65 B23001i72 B23001i77 B23001i82 B23001i87 B23001i95 B23001i102 B23001i109 B23001i116 B23001i123 B23001i130 B23001i137 B23001i144 B23001i151 B23001i158 B23001i163 B23001i168 B23001i173)),comment=%str(Adding this to CLF does not sum to Over16 since it does not include military, who are in the LF but not the CLF),chkval=76225423) %let PctOf=MarriedCouples; %let lvl=0; %let RefTables=B12006; %dovar(BothWork,%str(Married Couples who Both Work),B12006i16 + B12006i21) %*dovar(OneWorks,%str(Married Couples, One Worker),P48i4,comment=%str(MC Families with 1 worker. It could be the 1 worker is neither the husband nor wife.)); %let table=%str(Work Force by Industry); %let Universe=Employed Civilian Labor Force 16+; %let RefTables=C24040; %let PctOf=CivlabForce; %dovar(EmployedCLF,Employed Persons in CLF,C24040i1,chkval=88135976) %let lvl=1; %let PctOf=EmployedCLF; %dovar(Manufacturing,Employed in Manufacturing,C24040i7+C24040i34,chkval=13008694) %dovar(RetailTrade,Employed in Retail Trade,C24040i9+C24040i36,chkval=9141993) %dovar(Education,Employed in Education,c24040i22+c24040i49,chkval=5344122) %dovar(HealthSA,%str(Employed In Health Care & Social Assistance),c24040i23+c24040i50,chkval=10262916) %dovar(OtherIndustry,Employed in Other Industries,%str(EmployedCLF - Manufacturing - RetailTrade - Education - HealthSA)) %let table=%str(Work Force by Occupation); %let Universe=Employed Persons in CLF; %let RefTables=C24060; %let PctOf=EmployedCLF; %dovar(ManProfOccs,%str(Management, professional & related occupations),C24060i2,chkval=46514512) %dovar(ServiceOccs,Service occupations,C24060i15,chkval=22224170) %dovar(SalesOffOccs,Sales and Office occupations,C24060i21,chkval=35352046) %dovar(FarmFishOccs,%str(Farming, Fishing & Forestry occupations),C24060i24,chkval=929636) %dovar(ConsOccs,%str(Construction, extractions & maintenance occupations),C24060i25,chkval=13630934) %dovar(TransOccs,%str(Production, Transportation + material moving occupations),C24060i28,chkval=17807512) %let table=%str(Household Income in 2004); %let Universe=Households; %let RefTables=C19001; %let PctOf=; %dovar(TotHHs,Total Households,C19001i1,chkval=111090617) %let PctOf=TotHHs; %let lvl=1; %dovar(HHInc0,%str(Less than $10,000),C19001i2,comment=Includes households with zero or negative income,chkval=9610773) %dovar(HHInc10,%str($10,000 to $14,999),C19001i3,chkval=6888229) %dovar(HHInc15,%str($15,000 to $24,999),C19001i4,chkval=13286047) %dovar(HHInc25,%str($25,000 to $34,999),C19001i5,chkval=12747507) %dovar(HHInc35,%str($35,000 to $49,999),C19001i6,chkval=16749921) %dovar(HHInc50,%str($50,000 to $74,999),C19001i7,chkval=21001225) %dovar(HHInc75,%str($75,000 to $99,999),C19001i8,chkval=12647974) %dovar(HHInc100,%str($100,000 to $149,999),C19001i9,chkval=11257536) %dovar(HHInc150,%str($150,000 to $199,999),C19001i10,chkval=3543795) %dovar(HHInc200,%str($200,000 or more),C19001i11,chkval=3357610) %let pctof=; %let RefTables=B19013; %let lvl=0; %dovar(MedianHHInc,%str(Median household income in the past 12 months in 2005 inflation-adjusted dollars),B19013i1,chkval=46242) %let RefTables=B19025; %dovar(AvgHHInc,Average Household Income,%str(round(b19025i1/TotHHs)),wtvar=TotHHs) %let PctOf=TotHHs; %*dovar(HHIncLT200,%str(HHs W Income < $200,000),%str(TotHHs - HHInc200)) %*(let pctof=; %*let lvl=1; %*dovar(AvgHHIncLT200,Avg HH Income of HHs < $200k,%str(round(P54i2/HHIncLT200)),wtvar=HHIncLT200) %*let lvl=0; %*dovar(AvgHHIncGE200,Avg HH Income of HHs $200k or more,%str(round(P54i3/HHInc200)), wtvar=HHInc200,comment=%str(Many areas will have no HHs w Income over $200k so this avg. will be undefined.)) %let table=Income Percentages by Source; %let Universe=Households; %let RefTables=b19025i1; %dovar(TotalIncome,Aggregate Income,b19025i1,fmt=dollar16.,len=8) %let PctOf=; %let RefTables=b19062; %dovar(PctWages,%str(Pct Wage or Salary Income),100*b19062i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome, comment=%str(Multiply TotalIncome by PctWages/100 to get TotalWages, etc.)) %let RefTables=b19065; %dovar(PctSocSec,%str(Pct Soc Security Income),100*b19065i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome) %let RefTables=B19066; %dovar(PctSSI,%str(Pct SSI Income),100*B19066i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome) %let RefTables=B19067; %dovar(PctPubAssist,%str(Pct Public Assistance Income),100*B19067i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome) %let RefTables=B19069; %dovar(PctRetirement,%str(Pct Retirement Income),100*B19069i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome) %let table=%str(Other Income Measures); %let Universe=Families or Persons; %let RefTables=B10010; %let PctOf=; %dovar(MedianFamInc,Median Family Income,B10010i1,wtvar=Families, comment=%str(You really should NOT take a weighted average of a median, of course),chkval=47339) %let RefTables=B19127; %dovar(AvgFamInc,Average Family Income,%str(round(B19127i1/Families)),wtvar=Families) %let RefTables=B19301; %dovar(PCI,Per Capita Income,B19301i1,comment=Total Aggregate Income divided by Total Population,wtvar=TotPop,chkval=25035) %let RefTables=B20001 B20003; %dovar(NMalesEarning,%str(Males 16+ with Earnings in the Past 12 Months (in 2005 Inflation-adjusted Dollars)),B20001i2,chkval=83419951) %let lvl=1; %dovar(AvgMaleEarnings,%str(Avg Earnings of Males with Earnings),%str(round(B20003i2/NMalesEarning)),fmt=dollar7.,wtvar=NMalesEarning, comment=%str(This average includes both full and part-time workers so it can be misleading)) %let lvl=0; %dovar(NFemalesEarning,%str(Females 16+ with Earnings in the Past 12 Months (in 2005 Inflation-adjusted Dollars)),B20001i23, chkval=73803287) %let lvl=1; %dovar(AvgFemEarnings,%str(Avg Earnings of Females with Earnings),%str(round(B20003i5/NFemalesEarning)),fmt=dollar7., wtvar=NFemalesEarning, comment=%str(This average includes both full and part-time workers so it can be misleading)) %let table=Poverty; %let Universe=Persons for whom poverty status is determined in past 12 months; %let RefTables=B17001; %let PctOf=TotPop; %dovar(PovUniverse,Persons for whom poverty status determined,b17001i1,comment=Excludes persons in group quarters and unrelated children in households,chkval=287270432) %let PctOf=PovUniverse; %let lvl=1; %dovar(Poor,Poor Persons,B17001i3+B17001i17,comment=%str(See www.census.gov/hhes/www/poverty.html for details),chkval=38231474) %let RefTables=B17001; %dovar(VeryPoor,Persons 50% or Below Poverty Level,B17001i3,chkval=16570504) %dovar(Under185Poor,Persons below 185% of poverty level,%str(sum(of b17002i2-b17002i8)),comment=Used to qualify for free and reduced lunch programs,chkval=82118711) %dovar(NearlyPoor,Persons Between 100 & 200% of poverty level,%str(sum(of b17002i5-b17002i9)),chkval=51694494) %let PctOf=; %dovar(MeanPovRatio,Mean Poverty Ratio,-1,fmt=6.3, comment=%str(This field is custom calculated from setup in mean_poverty_ratios.sas in the Tools library), wtvar=PovUniverse) %let PctOf=; %let lvl=0; %let RefTables=B17006; %let display=0; %dovar(InFamPovUniv,Persons in Families for Whom Poverty Status determined,B17006i1,chkval=71618056); %let PctOf=InFamPovUniv; %let display=1; %dovar(PoorInFam,Poor Persons in Families,B17006i3+B17006i16,chkval=13008489); %let RefTables=C17017; %let PctOf=Families; %dovar(PoorFamilies,Families Below Poverty,c17017i3,chkval=7605363); %let PctOf=NonFamHHs; %dovar(PoorNonFamHHs,Non Family Households Below Poverty,C17017i17,chkval=29844155); %let table=Miscellaneous Population; %let Universe=Total Population; %let RefTables=B01001; %let PctOf=TotPop; %*let RefTables=P9; %*dovar(GQPop,Group Quarters Population,P9i25) %*dovar(InInstitutions,Institutionalized Population,P9i26,comment=This is a subset of Group Quarters pop) %let RefTables=B10001; %dovar(GrandPrntsCaring,Grandparents Caring for Own Grandchildren,B10001i2,chkval=2540160, comment=Caregiver must be at least 30 yrs old and sharing a household with the child. The child must be under 18) %let table=Housing Unit Basics; %let Universe=Total Housing Units; %let RefTables=B25001; %let PctOf=; %dovar(TotHUs,Total Housing Units,B25001i1,comment=These are just places where people can live. It includes vacant units.,chkval=124521886) %*let RefTables=H2; %*dovar(SampHUs,Unweighted Sample HU Count,H2i1,comment=Number of units that got the long form) %*let PctOf=; %let RefTables=B25002 B25003; %*dovar(TotHUs100,%str(Total Housing Units (100% Count)),B25002i1,chkval=124521886) %*let PctOf=TotHUs; %dovar(OccHUs,%str(Occupied Housing Units),B25002i2,chkval=111090617) %dovar(VacHUs,%str(Vacant Housing Units),B25002i3,chkval=13431269) %*dovar(PctOccHUSample,Pct of Occupied HUs in Sample,H4i1,comment=%str(Pct of Occupied HUs that got the long form. Bureau sampling rates are based on units, not persons),fmt=5.1,wtvar=OccHUs100) %*dovar(PctVacHUSample,Pct of Vacant HUs in Sample,H4i2,comment=%str(Pct of Vacant HUs that got the long form. Bureau sampling rates are based on units, not persons),fmt=5.1,wtvar=VacHUs100) %*let PctOf=TotHUs; %*let RefTables=; %let lvl=1; %*dovar(UrbanHUs,Urban Housing Units,) %*dovar(RuralHUs,Rural Housing Units,) %*let RefTables=H6; %dovar(Occupied,Occupied Housing Units,b25002i2,comment=Units that actually had people living in them,chkval=111090617) %let PctOf=Occupied; %let RefTables=B25003; %let lvl=2; %dovar(OwnerOcc,Owner occupied units,B25003i2,chkval=74318982) %dovar(RenterOcc,Renter occupied units,B25003i3,chkval=36771635) %*let PctOf=TotHUs; %*let lvl=1; %*dovar(Vacant,Vacant Housing Units,B25002i3,chkval=307529) %let table=Selected Housing Characteristics; %let Universe=Occupied housing units; %let RefTables=c25014; %let PctOf=Occupied; %dovar(Crowded,With 1.51+ persons per room,c25014i5 + c25014i9,chkval=823940) %let RefTables=B25047; %dovar(Plumbing,Lacking complete plumbing facilities,B25047i3,chkval=1660607) %let RefTables=c25043; %dovar(NoPhone,Lacking telephone service,c25043i4 + c25043i7,chkval=5731717) %let RefTables=c25045; %dovar(NoCars,No vehicles available,c25045i3 + c25045i6,chkval=9850747) %let PctOf=; %let RefTables=b25010; %dovar(AvgHHSize,Average Household Size,b25010i1,fmt=5.1,chkval=2.6,wtvar=Occupied,comment=Persons per occupied unit) %let PctOf=Occupied; %let RefTables=B07003; %dovar(MovedIn,Moved in 2000 or Later,%str(sum(of B25038i3 B25038i10)), comment=Householder moved in between 2000 or later,chkval=54202757) %let PctOf=; %let RefTables=b25039; %dovar(MedianYearIn,Median Year Moved In,b25039i1,fmt=4.,wtvar=Occupied,chkval=2000) %let table=Units in Structure; %let Universe=Housing Units; %let RefTables=B25024; %let PctOf=TotHUs; %dovar(Units1,Single Family Units,B25024i2 + B25024i3,comment=Includes attached and detached units) %dovar(Units2,2 to 4 Units,B25024i4 + B25024i5,comment=Duplexes plus 3 and 4 unit buildings) %dovar(Units5,5 to 19 Units,B25024i6 + B25024i7) %dovar(Units20up,In Buildings with 20+ Units,B25024i8 + B25024i9) %dovar(MobileHomes,Mobile Homes,B25024i10) %dovar(BoatRV,%str(Boat, RV, Van, etc.),B25024i11,comment=Includes essentially homeless people) %let table=Age of Structure; %let Universe=Housing Units; %let RefTables=b25034i1; %let PctOf=TotHUs; %dovar(AgeUnit1,Units 1 Year Old or Less,B25034i2,comment=Built in 2005 or later,chkval=598466) %*dovar(AgeUnit5,Units < 5 Yrs Old,B25034i3,comment=Built in 2000 thru 2004,chkval=10457612) %dovar(AgeUnit55,Units > 55 Yrs Old,%str(sum(of B25034i8-B25034i10)),chkval=40833552,comment=Built in 1950 or earlier) %dovar(BuiltBefore1939,Units Built Before 1939,B25034i10,chkval=18322486) %let PctOf=; %dovar(AvgAgeUnit,Average Age of Units, %str((B25034i2*.625 + B25034i3*3.75 + B25034i4*8.25 + B25034i5*15.75 + B25034i6*25.75 + B25034i7*35.75 + B25034i8*45.75 + B25034i9*55.75 + B25034i10*75)/TotHUs),wtvar=TotHUs,fmt=5.1, comment=%str(Our own statistic. Estimates ages within intervals using midpoints and assigns arbitrary age of 75 yrs for homes built 1939 and earlier)) %let table=Gross Rents; %let Universe=Specified Renter Occupied Units; %let RefTables=B25063; %let PctOf=RenterOcc; %let display=0; %dovar(SpecRenter,Specified Renter Occupied Units,B25063i1,chkval=36771635,comment=Excludes special rental units such as those associated with a business) %let PctOf=SpecRenter; %let display=1; %dovar(CashRenter,Units Paying Cash Rent,B25063i2,chkval=34556141) %let PctOf=CashRenter; %let lvl=2; %dovar(RentUnder300,Cash Rent < $300,sum(of B25063i3-B25063i7),chkval=2549530) %dovar(Renter300,Rent $300 to $599,sum(of B25063i8-B25063i13),chkval=9115209) %dovar(Rent600,Rent $600 to $999,sum(of B25063i14-B25063i19),chkval=14662501) %dovar(RenterOver1000,Rent $1000 to $1999,sum(of B25063i20-B25063i22),chkval=7479420) %dovar(RenterOver2000,Rent $2000 or more,B25063i23,chkval=749481) %let PctOf=; %let RefTables=B25064; %dovar(MedianGrossRent,Median Gross Rent,B25064i1,fmt=dollar7.,chkval=728,comment=For specified units paying cash rent,wtvar=CashRenter) %let RefTables=B25065; %dovar(AvgGrossRent,Average Gross Rent,%str(B25065i1/CashRenter),wtvar=CashRenter,fmt=dollar7.) %let RefTables=B25063; %let PctOf=SpecRenter; %let lvl=1; %dovar(NoCashRent,No Cash Rent,B25063i24,chkval=2215494,comment=Rented units paying no cash rent) %let table=Housing Values; %let Universe=Specified Owner Occupied Housing Units; %let RefTables=B25075; %let PctOf=OwnerOcc; %let display=0; %dovar(SpecOwner,Specified Owner Occupied Units,B25075i1,comment=Excludes houses on 10 or more acres and those associated with a business,chkval=74318982) %let Pctof=SpecOwner; %let display=1; %dovar(HvalUnder50,%str(House Value < $50,000),sum(of B25075i2-B25075i9),chkval=6795497,comment=This table based on the respondents estimate of what their house would sell for.) %dovar(Hval50,%str(Value $50,000 to $99,999),sum(of B25075i10-B25075i14),chkval=13416164) %dovar(Hval100,%str(Value $100,000 to $149,999),B25075i15 + B25075i16,chkval=12899776) %dovar(Hval150,%str(Value $150,000 to $199,999),B25075i17 + B25075i18,chkval=10146671) %dovar(Hval200,%str(Value $200,000 to $299,999),B25075i19 + B25075i20,chkval=11195025) %dovar(Hval300,%str(Value $300,000 to $499,999),B25075i21 + B25075i22,chkval=11452652) %dovar(Hval500,%str(Value $500,000 to $999,999),B25075i23 + B25075i24,chkval=6924783) %dovar(HvalOverMillion,%str(Value $1 million or more),B25075i25,chkval=1488414) %let PctOf=; %let RefTables=b25007; %let lvl=0; %*dovar(MedianHValue,Median House Value,b25007i1,fmt=dollar9.,comment=%str(In April, 2000 dollars),wtvar=SpecOwner,chkval=167500) %*let RefTables=H78 H14; %*dovar(AvgHValue,Average House Value,%str(H78i1/SpecOwner),fmt=dollar9.,wtvar=SpecOwner, comment=H78i1 is the aggregate value of all homes but it is topcoded so this value may be low);