<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:"Tw Cen MT";
        panose-1:2 11 6 2 2 1 4 2 6 3;}
/* 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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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">Hi there,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I am attempting to acquire the 2012-2016 ACS data and the scripts I&#8217;ve created to download previous ACS datasets are not working. I ran these against the 2016, 1-year data back in September, and they worked fine. However, now they error
 out on both the 1-year and 5-year 2016 datasets. On a simple lookup, I get the following:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><b><i>acs.lookup(table.number=&quot;B01001&quot;, span=5, endyear=2016)<o:p></o:p></i></b></p>
<p class="MsoNormal" style="margin-left:.5in">Error in data.frame(variable.code = names, table.number = table.numbers,&nbsp; :
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">&nbsp;&nbsp;arguments imply differing number of rows: 13, 25<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">However, if I include the keyword attribute as follows, it works just fine:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><b><i>acs.lookup(endyear=2016, span=5, table.number=&quot;B01001&quot;, keyword=&quot;Female&quot;)<o:p></o:p></i></b></p>
<p class="MsoNormal" style="margin-left:.5in">An object of class &quot;acs.lookup&quot;<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">endyear= 2016&nbsp; ; span= 5 <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-left:.5in">results:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">&nbsp;&nbsp; variable.code table.number table.name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; variable.name<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">1&nbsp;&nbsp;&nbsp;&nbsp; B01001_026&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Estimate Total Female<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">2&nbsp;&nbsp;&nbsp;&nbsp; B01001_030&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE&nbsp; Estimate Total Female 15 to 17 years<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">3&nbsp;&nbsp;&nbsp;&nbsp; B01001_034&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE&nbsp; Estimate Total Female 22 to 24 years<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">4&nbsp;&nbsp;&nbsp;&nbsp; B01001_038&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE&nbsp; Estimate Total Female 40 to 44 years<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">5&nbsp;&nbsp;&nbsp;&nbsp; B01001_042&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE Estimate Total Female 60 and 61 years<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">6&nbsp;&nbsp;&nbsp;&nbsp; B01001_046&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE&nbsp; Estimate Total Female 70 to 74 years<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">7&nbsp;&nbsp;&nbsp;&nbsp; B01001_026&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Estimate Total Female<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">8&nbsp;&nbsp;&nbsp;&nbsp; B01001_030&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE&nbsp; Estimate Total Female 15 to 17 years<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">9&nbsp;&nbsp;&nbsp;&nbsp; B01001_034&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE&nbsp; Estimate Total Female 22 to 24 years<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">10&nbsp;&nbsp;&nbsp; B01001_038&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE&nbsp; Estimate Total Female 40 to 44 years<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">11&nbsp;&nbsp;&nbsp; B01001_042&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B01001 SEX BY AGE Estimate Total Female 60 and 61 years<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">12&nbsp;&nbsp;&nbsp; B01001_046&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;B01001 SEX BY AGE&nbsp; Estimate Total Female 70 to 74 years<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Also, changing the endyear attribute to 2015, for example, works just fine. Any thoughts on what may be going on?<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">Sara<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tw Cen MT&quot;,sans-serif">Sara Hintze<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tw Cen MT&quot;,sans-serif">GIS Data Developer/Analyst | Research Services<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tw Cen MT&quot;,sans-serif">Mid-America Regional Council<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tw Cen MT&quot;,sans-serif">600 Broadway Blvd., Ste 200<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tw Cen MT&quot;,sans-serif">Kansas City, MO 64105<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tw Cen MT&quot;,sans-serif">816-701-8220 |
<span style="color:#A40000"><a href="www.marc.org"><span style="color:#A40000">www.marc.org</span></a></span><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>