Closed rossellhayes closed 7 months ago
@etrrosenman Please let us know if this looks good to you. Thanks.
Changes look good to me!
On Tue, Apr 2, 2024 at 4:16 PM Kosuke Imai @.***> wrote:
@etrrosenman https://github.com/etrrosenman Please let us know if this looks good to you. Thanks.
— Reply to this email directly, view it on GitHub https://github.com/kosukeimai/wru/pull/146#issuecomment-2033268322, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKZG62NJNI5XTRKWT5Y5ODY3M35FAVCNFSM6AAAAABFUAR5I2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZTGI3DQMZSGI . You are receiving this because you were mentioned.Message ID: @.***>
We also did some due diligence by comparing estimates at state level to TargetSmart Voter File Race and CPS 2022 targets. They look better than previous, with the black and hispanic registered voters having more reasonable proportions. I'm going to merge this branch, then submit as a bugfix to CRAN.
This PR updates the tables pulled by
census_geo_api()
. It will now pull non-Hispanic tables to estimate Black, Asian, and other race populations. Previously, Hispanic respondents could be double counted because they may count towards both the Hispanic population and the Black, Asian, or other race populations of a geography.Fixes #145.