[acs-r] Error message accessing table GCT0103

john doe anon.r.user at gmail.com
Mon Dec 16 23:58:35 EST 2013


Thanks for the quick reply Ezra.  Is it possible to update the acs package
to give a more informative error in that situation?

Also, have you considered putting the code up on github?  If it were there
I could just make a pull request for this.

Thanks again.

On Mon, Dec 16, 2013 at 7:58 AM, Ezra Haber Glenn <eglenn at mit.edu> wrote:

>
> The API (and thus, the acs.R package) do not support the "GCT" tables
> -- but this same data should be available through table B01002
> (<
> http://factfinder2.census.gov/faces/help/jsf/pages/metadata.xhtml?lang=en&type=table&id=table.en.ACS_11_5YR_B01002#
> >).
>
> (And as an aside, even if the API did support the GCT tables, the
> format for them isn't as friendly, since the include in them a sort of
> "hard coding" for the geography, whereas the acs package allows you to
> "mix and match" tables and geographies.)
>
> Hope that helps.
>
> --Ezra
>
> At Mon, 16 Dec 2013 07:43:43 -0800, Anon RUser wrote:
> >
> > [1  <multipart/alternative (7bit)>]
> > [1.1  <text/plain; ISO-8859-1 (7bit)>]
> >
> > [1.2  <text/html; ISO-8859-1 (quoted-printable)>]
> > Table.number "GCT0103" is a valid table in the 2011 5 year ACS as listed
> here
> >
> http://factfinder2.census.gov/faces/help/jsf/pages/metadata.xhtml?lang=en&type=dataset&id=
> > dataset.en.ACS_11_5YR#
> >
> > But when I try to access it with either all state or all county
> geographies it causes what
> > appears to be an internal acs.R error message:
> >
> > > us.state = geo.make(state = "*");
> > > acs.fetch(geography=us.state, table.number = "GCT0103")
> > Error in seq.default(1, length(names), 2) : wrong sign in 'by' argument
> >
> >  us.county = geo.make(state = "*", county = "*");
> > > acs.fetch(geography=us.county, table.number = "GCT0103")
> > Error in seq.default(1, length(names), 2) : wrong sign in 'by' argument
> >
> >
> > [2  <text/plain; us-ascii (7bit)>]
> > _______________________________________________
> > acs-r mailing list
> > acs-r at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/acs-r
>
> --
> Ezra Haber Glenn, AICP
> Department of Urban Studies and Planning
> Massachusetts Institute of Technology
> 77 Massachusetts Ave., Room 7-337
> Cambridge, MA 02139
> eglenn at mit.edu
> http://dusp.mit.edu/faculty/ezra-glenn |
> http://eglenn.scripts.mit.edu/citystate/
> 617.253.2024 (w)
> 617.721.7131 (c)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/acs-r/attachments/20131216/6c026ba1/attachment.htm


More information about the acs-r mailing list