Laurie Molina
Laurie Molina

Reputation: 11

How do I get zip code level data from acs for all zipcodes in the US? geo.make is not working

I am trying to get a table from the ACS with zip code level data, for all zip codes in the US When I try using geo.make from the acs library I get an error term. Can anyone advice on how to get the desired table?

If I run:

    library(acs)
 api.key.install(key="592bc14cnotarealkey686552b17fda3c89dd389")
    zipcodes<-geo.make(zip.code="*", check=T)

I get the following error:

Testing geography item 1: Zip Code Tabulation Area * .... Error in dimnames([email protected]) <- list(acs.obj@geography[[1]],  : 
  length of 'dimnames' [2] not equal to array extent
In addition: Warning message:
In acs.fetch(endyear = endyear, span = span, geography = geography[[1]],  :
  NAs introduced by coercion

Any advice is greatly appreciated.

Upvotes: 1

Views: 185

Answers (0)

Related Questions