Can anyone help with this error? I am trying to download population data. I am not sure what this error is about. 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)
: wrong sign in 'by' argument
Make sure you run
acs::api.key.install("YOUR CENSUS KEY")
before working with any of the acs functions. I was getting the same error, and once I fixed my api key install, it resolved the issue