From f19a00c742afaf8856707cf70a8365acd3bce5c7 Mon Sep 17 00:00:00 2001 From: "martin.holmer@gmail.com" Date: Thu, 17 Oct 2024 13:47:02 -0400 Subject: [PATCH] Switch to using 118th Congressional Districts --- tmd/areas/create_area_weights.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmd/areas/create_area_weights.py b/tmd/areas/create_area_weights.py index c4b7342c..2c3ecd98 100644 --- a/tmd/areas/create_area_weights.py +++ b/tmd/areas/create_area_weights.py @@ -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 2010 Census (that is, 117th Congress) - max_cdn = state_info[scode][2010] + # assume CDs are based on 2020 Census (that is, 118th Congress) + max_cdn = state_info[scode][2020] cdn = int(area[2:4]) if max_cdn <= 1: if cdn != 0: