Coverage for censusdis/counties/connecticut.py: 100%

18 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2025-04-03 05:39 +0000

1# Copyright (c) 2023 Darren Erik Vengroff 

2""" 

3Counties in Connecticut. 

4 

5Connecticut is a little different than other states because in 2022, 

6the U.S. Census, at the state's request, began tracking planning 

7regions as county-like divisions. 

8 

9We support both symbolically. Which one you get back from the census for 

10county queries will depend on the data set and vintage. 

11 

12See 

13https://www.federalregister.gov/documents/2022/06/06/2022-12063/change-to-county-equivalents-in-the-state-of-connecticut 

14for more on this. 

15""" 

16 

17# Pre-2022 counties. 

18FAIRFIELD = "001" 

19HARTFORD = "003" 

20LITCHFIELD = "005" 

21MIDDLESEX = "007" 

22NEW_HAVEN = "009" 

23NEW_LONDON = "011" 

24TOLLAND = "013" 

25WINDHAM = "015" 

26 

27# Post-2020 planning regions. 

28CAPITOL_PLANNING_REGION = "110" 

29GREATER_BRIDGEPORT_PLANNING_REGION = "120" 

30LOWER_CONNECTICUT_RIVER_VALLEY_PLANNING_REGION = "130" 

31NAUGATUCK_VALLEY_PLANNING_REGION = "140" 

32NORTHEASTERN_CONNECTICUT_PLANNING_REGION = "150" 

33NORTHWEST_HILLS_PLANNING_REGION = "160" 

34SOUTH_CENTRAL_CONNECTICUT_PLANNING_REGION = "170" 

35SOUTHEASTERN_CONNECTICUT_PLANNING_REGION = "180" 

36WESTERN_CONNECTICUT_PLANNING_REGION = "190"