Error fetching acs data

Can anyone help with this error? I am trying to load demographic data. I'm not sure what the error is. Here is my code.

state.IN=geo.make(state="IN")
indiana.total.pop=acs.fetch(geography=state.IN,table.number="B01003")

      

Error in seq.default(1, (length(in.data) - geo.length), 2)

: Invalid sign in argument 'by'

+3


source to share


1 answer


Make sure you start before working with any of the acs functions acs::api.key.install("YOUR CENSUS KEY")

. I was getting the same error and once I fixed the api key installation it solved the problem



+1


source







All Articles