<div dir="ltr">Thanks for the quick reply Ezra. Is it possible to update the acs package to give a more informative error in that situation? <div><br></div><div>Also, have you considered putting the code up on github? If it were there I could just make a pull request for this.</div>
<div><br></div><div>Thanks again.<br><div><div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Dec 16, 2013 at 7:58 AM, Ezra Haber Glenn <span dir="ltr"><<a href="mailto:eglenn@mit.edu" target="_blank">eglenn@mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
The API (and thus, the acs.R package) do not support the "GCT" tables<br>
-- but this same data should be available through table B01002<br>
(<<a href="http://factfinder2.census.gov/faces/help/jsf/pages/metadata.xhtml?lang=en&type=table&id=table.en.ACS_11_5YR_B01002#" target="_blank">http://factfinder2.census.gov/faces/help/jsf/pages/metadata.xhtml?lang=en&type=table&id=table.en.ACS_11_5YR_B01002#</a>>).<br>
<br>
(And as an aside, even if the API did support the GCT tables, the<br>
format for them isn't as friendly, since the include in them a sort of<br>
"hard coding" for the geography, whereas the acs package allows you to<br>
"mix and match" tables and geographies.)<br>
<br>
Hope that helps.<br>
<br>
--Ezra<br>
<br>
At Mon, 16 Dec 2013 07:43:43 -0800, Anon RUser wrote:<br>
><br>
> [1 <multipart/alternative (7bit)>]<br>
> [1.1 <text/plain; ISO-8859-1 (7bit)>]<br>
><br>
> [1.2 <text/html; ISO-8859-1 (quoted-printable)>]<br>
<div><div class="h5">> Table.number "GCT0103" is a valid table in the 2011 5 year ACS as listed here<br>
> <a href="http://factfinder2.census.gov/faces/help/jsf/pages/metadata.xhtml?lang=en&type=dataset&id=" target="_blank">http://factfinder2.census.gov/faces/help/jsf/pages/metadata.xhtml?lang=en&type=dataset&id=</a><br>
> dataset.en.ACS_11_5YR#<br>
><br>
> But when I try to access it with either all state or all county geographies it causes what<br>
> appears to be an internal acs.R error message:<br>
><br>
> > us.state = geo.make(state = "*");<br>
> > acs.fetch(geography=us.state, table.number = "GCT0103")<br>
> Error in seq.default(1, length(names), 2) : wrong sign in 'by' argument<br>
><br>
> us.county = geo.make(state = "*", county = "*");<br>
> > acs.fetch(geography=us.county, table.number = "GCT0103")<br>
> Error in seq.default(1, length(names), 2) : wrong sign in 'by' argument<br>
><br>
><br>
</div></div>> [2 <text/plain; us-ascii (7bit)>]<br>
> _______________________________________________<br>
> acs-r mailing list<br>
> <a href="mailto:acs-r@mit.edu">acs-r@mit.edu</a><br>
> <a href="http://mailman.mit.edu/mailman/listinfo/acs-r" target="_blank">http://mailman.mit.edu/mailman/listinfo/acs-r</a><br>
<br>
--<br>
Ezra Haber Glenn, AICP<br>
Department of Urban Studies and Planning<br>
Massachusetts Institute of Technology<br>
77 Massachusetts Ave., Room 7-337<br>
Cambridge, MA 02139<br>
<a href="mailto:eglenn@mit.edu">eglenn@mit.edu</a><br>
<a href="http://dusp.mit.edu/faculty/ezra-glenn" target="_blank">http://dusp.mit.edu/faculty/ezra-glenn</a> | <a href="http://eglenn.scripts.mit.edu/citystate/" target="_blank">http://eglenn.scripts.mit.edu/citystate/</a><br>
<a href="tel:617.253.2024" value="+16172532024">617.253.2024</a> (w)<br>
<a href="tel:617.721.7131" value="+16177217131">617.721.7131</a> (c)<br>
</blockquote></div><br></div></div></div></div></div>