<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.gewyw5ybaeb
        {mso-style-name:gewyw5ybaeb;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hello Jonah,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I have had similar problems when dealing with geographies with many elements. I am guessing that you generated your geo.set by passing a vector of desired census tracts rather than doing something like,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">geo.set(state=”IL”, county=”Cook”, tract=”*”)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">As a result, your geo.set list has 591 geo objects. From my experience, any geo.set list with more than 550 elements will generate the error you mentioned. I have no idea whether this is a design decision, a
 bug, or some other issue. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">When I had this problem I divided my geo.set into two geo.sets, each with less than 550 elements, fetched results for the two geographies, and then combined the output. Perhaps there is a more elegant workaround.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Kind Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Carl Ganz<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Assistant Statistician<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">UCLA Center for Health Policy Research<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> acs-r-bounces@mit.edu [mailto:acs-r-bounces@mit.edu]
<b>On Behalf Of </b>Jonah Newman<br>
<b>Sent:</b> Monday, April 18, 2016 2:30 PM<br>
<b>To:</b> acs-r@mit.edu<br>
<b>Subject:</b> [acs-r] Error message in acs 2.0<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hi everyone,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I’m new to this listserv, and pretty new to R. I’ve used the acs package once before, on a fairly small set of geographies, and it was great! Now I’m trying it on a larger set, and it’s having some trouble. For reference, I’m using R version
 3.2.5, and R Studio version 0.98.1103.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">My geo.set has 591 elements (census tracts). I used check=T to make sure they were all good, and they are.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">But when I try to use acs.fetch to download data, I’m getting the following error:
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;;color:#C5060B;background:#E1E2E5">Error in if (url.test[&quot;statusMessage&quot;] != &quot;OK&quot;) { :
<o:p></o:p></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;;color:#C5060B;background:#E1E2E5">&nbsp;&nbsp;missing value where TRUE/FALSE needed</span><span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;;color:black;background:#E1E2E5"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Here’s my code: <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">#select race by Hispanic Origin data from ACS for selected geographies<o:p></o:p></p>
<p class="MsoNormal">race &lt;- acs.fetch(endyear=2014, span=5, geography = mygeo, table.number=&quot;B03002&quot;, dataset = &quot;acs&quot;)<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Can anyone help me figure out what’s happening, and why?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal">Jonah<o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span style="color:black">---<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">​​Jonah Newman<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">​​Data &amp; Investigative Reporter<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><i><span style="color:black">​​The Chicago Reporter</span></i><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">​​(312) 673-3807 (office)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">(312) 857-8675 (cell)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">​​@jonahshai<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:black">​​The Chicago Reporter is a nonprofit investigative news organization that focuses on race, poverty and income inequality.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>