Skip to content
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

WRU not working for block-level predictions using 2010 Census Data #159

Open
etrrosenman opened this issue Feb 22, 2025 · 0 comments
Open

Comments

@etrrosenman
Copy link
Collaborator

I'm working on a project that requires conducting race prediction on the 2018 voter file, and I noticed that I couldn't get any non-null predictions when running predict_race at the block level with argument year = '2010'. Digging in further, I'm actually concerned that the variables we are pulling from the Census API (PCT012I001, PCT012J001, PCT012H001, PCT012L001, PCT012M001, PCT012K001, PCT012N001, PCT012O001) are not provided at the block level for the 2010 Census.

Here is a sample query in which the API exclusively returns NULLs.
https://api.census.gov/data/2010/dec/sf1?key=2591cffde26d4140c933bd42f6faaf983a902dd7&get=PCT012I001,PCT012J001,PCT012H001,PCT012L001,PCT012M001,PCT012K001,PCT012N001,PCT012O001&for=block:*&in=state:06+county:003

I've tried a few different states/counties and I always get back NULLs.

My understanding is that the set of variables we request from the 2010 Census changed about a year age. The old set (P005003, P005004, P005010, P005006, P005007, P005005, P005008, P005009) is available at the Block level for the 2010 Census. I'm not remembering what induced the change. Can anyone help me out here?

Thanks,

Evan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant