<div dir="ltr"><div>After a round of debugging, I think the issue is in this line:</div><div><br></div><div>col.names = names(in.data)[seq(1, (length(in.data) - <br>        geo.length), 2)]</div><div><br></div><div><pre tabindex="0" class="gmail-GD15MCFCEUB" id="gmail-rstudio_console_output" style="font-family:&quot;Ubuntu Mono&quot;,monospace;font-size:13.3333px;outline:currentcolor none medium;border:medium none;word-break:break-all;margin:0px;white-space:pre-wrap;line-height:1.25;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span><span class="gmail-GD15MCFCKUB gmail-ace_keyword" style="color:blue;white-space:pre">Browse[5]&gt; </span><span class="gmail-GD15MCFCKTB gmail-ace_keyword" style="color:blue">names(in.data)[seq(1, (length(in.data) - 
</span><span class="gmail-GD15MCFCKUB gmail-ace_keyword" style="color:blue;white-space:pre">+ </span><span class="gmail-GD15MCFCKTB gmail-ace_keyword" style="color:blue">        geo.length), 2)]
</span><span class="gmail-GD15MCFCEUB" style="outline:currentcolor none medium;border:medium none;word-break:break-all;margin:0px;white-space:pre-wrap"> [1] &quot;X..B01001_001E&quot; &quot;B01001_003E&quot;    &quot;B01001_004E&quot;    &quot;B01001_005E&quot;    &quot;B01001_006E&quot;   
 [6] &quot;B01001_007E&quot;    &quot;B01001_008E&quot;    &quot;B01001_009E&quot;    &quot;B01001_010E&quot;    &quot;B01001_011E&quot;   
[11] &quot;B01001_012E&quot;    &quot;B01001_013E&quot;    &quot;B01001_014E&quot;    &quot;B01001_015E&quot;    &quot;B01001_016E&quot;   
[16] &quot;B01001_017E&quot;    &quot;B01001_018E&quot;    &quot;B01001_019E&quot;    &quot;B01001_020E&quot;    &quot;NAME&quot;</span></span></pre></div><div><br></div><div>I don&#39;t think NAME was supposed to have made it in there?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 29, 2021 at 11:06 AM Brandon Taylor &lt;<a href="mailto:brandon.taylor221@gmail.com">brandon.taylor221@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br>I&#39;m not sure if I&#39;m asking this question in the right place...<br><div>I&#39;m running into an error using the package. The code I&#39;m running is:</div><div><br></div>zip_codes = geo.make(zip.code = &quot;*&quot;)<br><div>census_data = acs.fetch( 2015, dataset = &quot;acs&quot;, geography = zip_codes, span = 5, variable = c( &quot;B01001_001&quot;, &quot;B01001_003&quot;, &quot;B01001_004&quot;, &quot;B01001_005&quot;, &quot;B01001_006&quot;, &quot;B01001_007&quot;, &quot;B01001_008&quot;, &quot;B01001_009&quot;, &quot;B01001_010&quot;, &quot;B01001_011&quot;, &quot;B01001_012&quot;, &quot;B01001_013&quot;, &quot;B01001_014&quot;, &quot;B01001_015&quot;, &quot;B01001_016&quot;, &quot;B01001_017&quot;, &quot;B01001_018&quot;, &quot;B01001_019&quot;, &quot;B01001_020&quot;, &quot;B01001_021&quot;, &quot;B01001_022&quot;, &quot;B01001_023&quot;, &quot;B01001_024&quot;, &quot;B01001_025&quot;, &quot;B01001_027&quot;, &quot;B01001_028&quot;, &quot;B01001_029&quot;, &quot;B01001_030&quot;, &quot;B01001_031&quot;, &quot;B01001_032&quot;, &quot;B01001_033&quot;, &quot;B01001_034&quot;, &quot;B01001_035&quot;, &quot;B01001_036&quot;, &quot;B01001_037&quot;, &quot;B01001_038&quot;, &quot;B01001_039&quot;, &quot;B01001_040&quot;, &quot;B01001_041&quot;, &quot;B01001_042&quot;, &quot;B01001_043&quot;, &quot;B01001_044&quot;, &quot;B01001_045&quot;, &quot;B01001_046&quot;, &quot;B01001_047&quot;, &quot;B01001_048&quot;, &quot;B01001_049&quot;, &quot;B02001_001&quot;, &quot;B02001_003&quot;, &quot;B03001_001&quot;, &quot;B03001_003&quot;, &quot;B15003_001&quot;, &quot;B15003_002&quot;, &quot;B15003_003&quot;, &quot;B15003_004&quot;, &quot;B15003_005&quot;, &quot;B15003_006&quot;, &quot;B15003_007&quot;, &quot;B15003_008&quot;, &quot;B15003_009&quot;, &quot;B15003_010&quot;, &quot;B15003_011&quot;, &quot;B15003_012&quot;, &quot;B15003_013&quot;, &quot;B15003_014&quot;, &quot;B15003_015&quot;, &quot;B15003_016&quot;, &quot;B17001_001&quot;, &quot;B17001_002&quot;, &quot;B19013_001&quot;, &quot;B25008_001&quot;, &quot;B25008_002&quot;, &quot;B25077_001&quot; ) )</div><div><br></div><div>And the result I&#39;m getting is</div><div><br></div>Error in dimnames(acs.obj@standard.error) &lt;- list(acs.obj@geography[[1]],  : <br>  length of &#39;dimnames&#39; [2] not equal to array extent<br>In addition: Warning message:<br>In acs.fetch(endyear = endyear, span = span, geography = geography[[1]],  :<br>  NAs introduced by coercion<br></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>brandon taylor</div><div>(978) 831-3135</div><div>pronouns: dealer&#39;s choice<br></div></div></div>