Last active
October 11, 2019 07:42
-
-
Save 75th/a026318b084d7df65d14 to your computer and use it in GitHub Desktop.
US state abbreviations in JSON
This file contains hidden or 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
{ | |
"al": { "full": "alabama", "other": ["ala"] }, | |
"ak": { "full": "alaska", "other": ["alas"] }, | |
"az": { "full": "arizona", "other": ["ariz"] }, | |
"ar": { "full": "arkansas", "other": ["ark"] }, | |
"ca": { "full": "california", "other": ["calif", "cal"] }, | |
"co": { "full": "colorado", "other": ["colo", "col"] }, | |
"ct": { "full": "connecticut", "other": ["conn"] }, | |
"de": { "full": "delaware", "other": ["del"] }, | |
"dc": { "full": "district of columbia", "other": ["washington dc", "wash dc"] }, | |
"fl": { "full": "florida", "other": ["fla", "flor"] }, | |
"ga": { "full": "georgia", "other": [] }, | |
"hi": { "full": "hawaii", "other": ["hawaii"] }, | |
"id": { "full": "idaho", "other": ["ida"] }, | |
"il": { "full": "illinois", "other": ["ill", "ills"] }, | |
"in": { "full": "indiana", "other": ["ind"] }, | |
"ia": { "full": "iowa", "other": ["ioa"] }, | |
"ks": { "full": "kansas", "other": ["kans", "kan", "ka"] }, | |
"ky": { "full": "kentucky", "other": ["ken", "kent"] }, | |
"la": { "full": "louisiana", "other": [] }, | |
"me": { "full": "maine", "other": [] }, | |
"md": { "full": "maryland", "other": [] }, | |
"ma": { "full": "massachusetts", "other": ["mass"] }, | |
"mi": { "full": "michigan", "other": ["mich"] }, | |
"mn": { "full": "minnesota", "other": ["minn"] }, | |
"ms": { "full": "mississippi", "other": ["miss"] }, | |
"mo": { "full": "missouri", "other": [] }, | |
"mt": { "full": "montana", "other": ["mont"] }, | |
"ne": { "full": "nebraska", "other": ["nebr", "neb"] }, | |
"nv": { "full": "nevada", "other": ["nev"] }, | |
"nh": { "full": "new hampshire", "other": [] }, | |
"nj": { "full": "new jersey", "other": [] }, | |
"nm": { "full": "new mexico", "other": ["n mex", "new m"] }, | |
"ny": { "full": "new york", "other": ["n york"] }, | |
"nc": { "full": "north carolina", "other": ["n carolina", "n car"] }, | |
"nd": { "full": "north dakota", "other": ["n dakota", "n dak", "nodak", "no dak"] }, | |
"oh": { "full": "ohio", "other": ["o"] }, | |
"ok": { "full": "oklahoma", "other": ["okla"] }, | |
"or": { "full": "oregon", "other": ["oreg", "ore"] }, | |
"pa": { "full": "pennsylvania", "other": ["penn", "penna"] }, | |
"ri": { "full": "rhode island", "other": ["ri pp", "r isl"] }, | |
"sc": { "full": "south carolina", "other": ["s carolina", "s car"] }, | |
"sd": { "full": "south dakota", "other": ["s dakota", "s dak", "sodak", "so dak"] }, | |
"tn": { "full": "tennessee", "other": ["tenn"] }, | |
"tx": { "full": "texas", "other": ["tex"] }, | |
"ut": { "full": "utah", "other": [] }, | |
"vt": { "full": "vermont", "other": [] }, | |
"va": { "full": "virginia", "other": ["virg"] }, | |
"wa": { "full": "washington", "other": ["wash", "wn"] }, | |
"wv": { "full": "west virginia", "other": ["w virginia", "w va", "wva", "w virg"] }, | |
"wi": { "full": "wisconsin", "other": ["wis", "wisc"] }, | |
"wy": { "full": "wyoming", "other": ["wyo"] } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Taken from https://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations.
I lowercased everything and stripped punctuation, because presumably you want to normalize things before comparing them. But this might cause weirdness in some situations, such as with Illinois, where both obsolete abbreviations are English words.