[acs-r] 2016 1-year data - unable to acquire
Ezra Haber Glenn
eglenn at mit.edu
Wed Oct 4 15:01:12 EDT 2017
Yes -- patch being tested as we speak, should be on cran by the end of
the week.
Sorry!
On Wed, 04 Oct 2017 14:55:25 -0400, Meagan Pharis wrote:
>
> [1 <multipart/alternative (7bit)>]
> [1.1 <text/plain; us-ascii (quoted-printable)>]
> [1.2 <text/html; us-ascii (quoted-printable)>]
> I’m also unable to acquire ACS 2016 1-year data using acs.fetch. I believe the function is
> calling the wrong url. My code, error message, and suggestion below.
>
> Code:
>
> phila = geo.make(state = "PA", county = 101, check = T)
>
> test <- acs.fetch(2016, span = 1, geography = phila, variable = "B01003_001E")
>
> Returns:
>
> Error in file(file, "rt") : cannot open the connection
>
> In addition: Warning message:
>
> No data found at:
>
> https://api.census.gov/data/2016/acs1?key=9f1ca4bc23f2ff77ab0471d2c80758717b116428&get=B01003_001EE,B01003_001EM,NAME&for=county:101&in=state:42
>
> The correct url would be: https://api.census.gov/data/2016/acs/acs1?key=....
>
> See the extra “/acs/” in the url?
>
> I believe this is a census api address schema change. They’ve left the older ones open,
> allowing for call on 2015 acs data to still work.
>
> Thank you,
>
> Meagan Pharis
>
> Senior Associate, Research and Science – Philadelphia Research Initiative
>
> The Pew Charitable Trusts
>
> 2005 Market Street, 28^th Floor
>
> Philadelphia, PA 19103
>
> p: 215-575-4773 | e: mpharis at pewtrusts.org | www.pewtrusts.org
>
>
> [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