Skip to content

Instantly share code, notes, and snippets.

@lleger
Created June 2, 2021 20:57
Show Gist options
  • Save lleger/10da20c2566e21238bdf38b4ac597376 to your computer and use it in GitHub Desktop.
Save lleger/10da20c2566e21238bdf38b4ac597376 to your computer and use it in GitHub Desktop.
Elixir map of US states (and DC) with abbreviations
%{
AK: "Alaska",
AL: "Alabama",
AR: "Arkansas",
AZ: "Arizona",
CA: "California",
CO: "Colorado",
CT: "Connecticut",
DC: "District of Columbia",
DE: "Delaware",
FL: "Florida",
GA: "Georgia",
HI: "Hawaii",
IA: "Iowa",
ID: "Idaho",
IL: "Illinois",
IN: "Indiana",
KS: "Kansas",
KY: "Kentucky",
LA: "Louisiana",
MA: "Massachusetts",
MD: "Maryland",
ME: "Maine",
MI: "Michigan",
MN: "Minnesota",
MO: "Missouri",
MS: "Mississippi",
MT: "Montana",
NC: "North Carolina",
ND: "North Dakota",
NE: "Nebraska",
NH: "New Hampshire",
NJ: "New Jersey",
NM: "New Mexico",
NV: "Nevada",
NY: "New York",
OH: "Ohio",
OK: "Oklahoma",
OR: "Oregon",
PA: "Pennsylvania",
RI: "Rhode Island",
SC: "South Carolina",
SD: "South Dakota",
TN: "Tennessee",
TX: "Texas",
UT: "Utah",
VA: "Virginia",
VT: "Vermont",
WA: "Washington",
WI: "Wisconsin",
WV: "West Virginia",
WY: "Wyoming"
}
@lleger
Copy link
Author

lleger commented Jun 2, 2021

Does not include territories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment