I'm trying to pull in data on places using the pep/population API call. I have updated censusapi to the latest version but the error message doesn't display much info. I'm not actually sure if this is an error with censusapi or something on the Census side of things.
df.pop_cities2 <- getCensus(name = "pep/population",
vintage = 2018,
vars = c("GEONAME", "DATE_CODE", "DATE_DESC", "POP"),
region = "place:*",
regionin = "state:46")
And here is the error code I get
Error: 204, no content was returned. See ?listCensusMetadata to learn more about valid API options.
I tried it with multiple states and get the same error. Any thoughts? Am I doing this wrong somehow? Thanks.
I'm trying to pull in data on places using the pep/population API call. I have updated censusapi to the latest version but the error message doesn't display much info. I'm not actually sure if this is an error with censusapi or something on the Census side of things.
And here is the error code I get
Error: 204, no content was returned. See ?listCensusMetadata to learn more about valid API options.
I tried it with multiple states and get the same error. Any thoughts? Am I doing this wrong somehow? Thanks.