[acs-r] 2.1.1 Error Message

Ezra Haber Glenn eglenn at mit.edu
Thu Aug 3 15:04:23 EDT 2017


I just tested and this seems to work fine for me.  It may be that the
API was just down for a little bit (it can sometimes drop out) -- can
you try again to check?

If it still fails, try it like this (with a blank key):

> acs.fetch(key="", endyear = 2014, geography = geo.make(state = 6), table.number = "B15001")

If that works, it may be that your key is bad.

--Ezra

On Thu, 03 Aug 2017 14:46:16 -0400, Patton, Andrew wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; us-ascii (quoted-printable)>]
> [1.2  <text/html; us-ascii (quoted-printable)>]
> Hi all,
> 
> I just updated to 2.1.1 after some issues with earlier updates. I had several lengthy
> scripts that worked perfectly, but now there does not appear to be a connection that
> works.
> 
> I removed the older package, installed 2.1.1, and acquired and activated a new key. The
> following code generates the attached error. When I run the code via the census api
> directly, it works fine.
> 
> cali <- acs.fetch(endyear = 2014, geography = geo.make(state = 6), table.number =
> "B15001")
> 
> Error in file(file, "rt") : cannot open the connection
> 
> Thoughts on solutions? Am I just doing  something dumb somewhere? I’m on Windows.
> 
> Thanks,
> 
> Andrew
> 
> Email Disclaimer: http://www.marincounty.org/main/disclaimers
> 
> 
> [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-346
Cambridge, MA 02139
eglenn at mit.edu 
http://dusp.mit.edu/faculty/ezra-glenn
617.253.2024 (w)
617.721.7131 (c)



More information about the acs-r mailing list