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: