[acs-r] Error message in acs 2.0

Jonah Newman jnewman at chicagoreporter.com
Mon Apr 18 17:29:31 EDT 2016


Hi everyone,

I’m new to this listserv, and pretty new to R. I’ve used the acs package once before, on a fairly small set of geographies, and it was great! Now I’m trying it on a larger set, and it’s having some trouble. For reference, I’m using R version 3.2.5, and R Studio version 0.98.1103.

My geo.set has 591 elements (census tracts). I used check=T to make sure they were all good, and they are.

But when I try to use acs.fetch to download data, I’m getting the following error:

Error in if (url.test["statusMessage"] != "OK") { :
  missing value where TRUE/FALSE needed

Here’s my code:

#select race by Hispanic Origin data from ACS for selected geographies
race <- acs.fetch(endyear=2014, span=5, geography = mygeo, table.number="B03002", dataset = "acs")

Can anyone help me figure out what’s happening, and why?

Thanks!
Jonah
---
​​Jonah Newman
​​Data & Investigative Reporter
​​The Chicago Reporter
​​(312) 673-3807 (office)
(312) 857-8675 (cell)
​​@jonahshai

​​The Chicago Reporter is a nonprofit investigative news organization that focuses on race, poverty and income inequality.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/acs-r/attachments/20160418/09cac824/attachment.html


More information about the acs-r mailing list