Skip to content

Commit

Permalink
Merge pull request #251 from PSLmodels/2010-census-data
Browse files Browse the repository at this point in the history
Temporarily move back to using Congressional districts based on 2010 Census
  • Loading branch information
martinholmer authored Oct 24, 2024
2 parents f04f12c + e28b374 commit 877cff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmd/areas/create_area_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ def valid_area(area: str):
all_ok = False
# check state congressional district number if appropriate
if len(area) == 4:
# assume CDs are based on 2020 Census (that is, 118th Congress)
max_cdn = state_info[scode][2020]
# assume CDs are based on 2010 Census (that is, 117th Congress)
max_cdn = state_info[scode][2010]
cdn = int(area[2:4])
if max_cdn <= 1:
if cdn != 0:
Expand Down

0 comments on commit 877cff3

Please sign in to comment.