-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upcoming Census API changes #29
Comments
Thanks for posting - I didn't get the email! |
Hi, I was wondering if you'd had a chance to check this out - mostly seems like it changes how it deals with annotation flags for missing values, controlled estimates, etc. But there also is a change to the url. Here's the reminder email from Census, in case you didn't get it:
I use your package in my job literally every day, so thank you so much for all of your work on it! |
Hi @murray-cecile & @jcdepth - thanks for flagging. I won't be able to test until it's released, but please reply here with code if you run in to any issues. Since censusapi basically passes whatever you give it to the underlying API, the new endpoint should work. |
This code from the 2015 1-year ACS works fine for me. They released the new "acs/acs1" endpoint for 2015 a little while ago. So hopefully 2016 should be fine too! getCensus(name="acs/acs1", vintage=2015, vars=c("B01001_001E", "NAME"), region="state:*") To get the apis <- listCensusApis() And look at the The decimal place change also shouldn't break anything. |
I've run a few basic tests and so far haven't run into any issues with the 2016 ACS. I'll leave this thread open for a little while in case anyone else does. dt <- getCensus(name = "acs/acs1",
vintage = 2016,
vars = c("B01001_001E", "B19013_001E", "B19013_001EA", "B19013_001M", "B19013_001MA", "NAME"),
region = "state:*")
head(dt) |
As soon as I changed the endpoint, everything worked perfectly. Thanks again for creating this awesome package! |
Closing since no issues have been reported. If anyone runs in to bugs related to the 2016 ACS changes please open a new issue. Thanks all. |
Hi, I got an email from the Census today. It seems like there are some pretty major changes coming to how to query their API. The most relevant part of the email was:
There was a linked guide to the changes:
https://www.census.gov/content/dam/Census/data/developers/acs/acs-data-variables-guide.pdf
Does this mean there will have to be a rewriting of the functions in this package?
Thanks for all your hard work with
censusapi
, I use it on a daily basis.The text was updated successfully, but these errors were encountered: