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

Check area name validity using number of 118th Congressional districts #276

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

martinholmer
Copy link
Collaborator

@martinholmer martinholmer commented Nov 3, 2024

This change to the create_area_weights.py script adds a few valid area names for the six states that gained Congressional districts after the 2020 Census redistricting and subtracts one district for the seven states that lost a district. Here are those states:

GAINERS:
state,2010cds,2020cds= CO  7  8
state,2010cds,2020cds= FL 27 28
state,2010cds,2020cds= MT  1  2
state,2010cds,2020cds= NC 13 14
state,2010cds,2020cds= OR  5  6
state,2010cds,2020cds= TX 36 38

LOSERS:
state,2010cds,2020cds= CA 53 52
state,2010cds,2020cds= IL 18 17
state,2010cds,2020cds= MI 14 13
state,2010cds,2020cds= NY 27 26
state,2010cds,2020cds= OH 16 15
state,2010cds,2020cds= PA 18 17
state,2010cds,2020cds= WV  3  2

So, for example, after this change is merged into the master branch, tx37 and tx38 will be considered valid area names and ca53 and ny27 will be considered invalid area names.

Note that as before 00 is a valid area number for all states regardless of the number of Congressional districts. So, for example, after these changes are merged into the master branch, mt00, mt01, and mt02 will be valid area names.

@martinholmer martinholmer merged commit d5601b0 into master Nov 4, 2024
2 checks passed
@donboyd5
Copy link
Collaborator

donboyd5 commented Nov 4, 2024 via email

@martinholmer martinholmer deleted the new-cds branch November 4, 2024 18:52
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

Successfully merging this pull request may close these issues.

2 participants