Created
March 24, 2021 16:27
-
-
Save LyleScott/5e5e628bcd67f2d4d34b560106fbe630 to your computer and use it in GitHub Desktop.
US States by Region (organized by Census Bureau)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I needed these for something and had to manually create it. Hope this helps someone. | |
# Reference: https://en.wikipedia.org/wiki/List_of_regions_of_the_United_States | |
US_REGION_STATE_MAP = { | |
"northeast": ['CT', 'MA', 'ME', 'NH', 'NJ', 'NY', 'PA', 'RI', 'VT'], | |
"midwest": ['IA', 'IL', 'IN', 'KS', 'MI', 'MN', 'MO', 'ND', 'NE', 'OH', 'SD', 'WI'], | |
"south": ['AL', 'AR', 'DC', 'DE', 'FL', 'GA', 'KY', 'LA', 'MD', 'MS', 'NC', 'OK', 'SC', 'TN', 'TX', 'VA', 'WV'], | |
"west": ['AZ', 'CA', 'CO', 'ID', 'MT', 'NM', 'NV', 'OR', 'UT', 'WA', 'WY'], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment