<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>I’m sure there’s a simple answer to this. My attempts so far have crashed and burned.</div>
<div><br>
</div>
<div>I’m trying to create ACS estimates of population from Table B01003 for 3-digit ZCTAs nationwide. I need these as a basis for measuring per capita rates of some other data that is available only at the 3-digit ZCTA level.&nbsp;</div>
<div><br>
</div>
<div>I have a data frame of 33,000 5-digit ZCTAs with total estimated population, the margin of error and the 3-digit ZCTA (a substring of the 5-digit ZCTA). I want to create a new data frame consisting of 3-digit ZCTAs with their estimated populations and
 margin of error.</div>
<div><br>
</div>
<div>I tried to do this using variations on the geo.make() function:</div>
<div><br>
</div>
<div>
<div>&gt; census2 = geo.make(substring(census1$ZCTA5,1,3))</div>
<div>Error: evaluation nested too deeply: infinite recursion / options(expressions=)?</div>
</div>
<div><br>
</div>
<div>And</div>
<div><br>
</div>
<div>
<div>&gt; census2 = geo.make(census1, combine=TRUE, combine.term='ZCTA3')</div>
<div>Error in (function (us, region, division, state, county, county.subdivision, &nbsp;:&nbsp;</div>
<div>&nbsp; (list) object cannot be coerced to type 'double'</div>
</div>
<div><br>
</div>
<div>Any ideas?</div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
<div>
<div>Ronald Campbell</div>
<div>Data Editor</div>
<div>NBC Owned Television Stations</div>
<div>1411 N. Batavia St., Suite 113</div>
<div>Orange, CA 92867</div>
<div>cell: 818-232-2585</div>
<div><a href="mailto:ron.campbell@nbcuni.com" style="color: purple;">ron.campbell@nbcuni.com</a></div>
<div><u>@campbellronaldw</u></div>
<div><u><br>
</u></div>
<div><img src="cid:52D6227E-0DE0-49AE-8C1C-A333D62934F6" type="image/png"></div>
</div>
</div>
</div>
</body>
</html>