Skip to content

Instantly share code, notes, and snippets.

@joshsmith
Created April 10, 2016 05:24
Show Gist options
  • Save joshsmith/832a982e3ef71ff40c00d9a2e2a86a6c to your computer and use it in GitHub Desktop.
Save joshsmith/832a982e3ef71ff40c00d9a2e2a86a6c to your computer and use it in GitHub Desktop.
List of United States subdivisions: states, territories, and DC with FIPS codes and postal abbreviations
UnitedStatesSubdivision.create([
{
name: "Alabama",
postal_abbreviation: "AL",
fips_code: "01",
},
{
name: "Alaska",
postal_abbreviation: "AK",
fips_code: "02",
},
{
name: "American Samoa",
postal_abbreviation: "AS",
fips_code: "60",
},
{
name: "Arizona",
postal_abbreviation: "AZ",
fips_code: "04",
},
{
name: "Arkansas",
postal_abbreviation: "AR",
fips_code: "05",
},
{
name: "California",
postal_abbreviation: "CA",
fips_code: "06",
},
{
name: "Colorado",
postal_abbreviation: "CO",
fips_code: "08",
},
{
name: "Connecticut",
postal_abbreviation: "CT",
fips_code: "09",
},
{
name: "Delaware",
postal_abbreviation: "DE",
fips_code: "10",
},
{
name: "District of Columbia",
postal_abbreviation: "DC",
fips_code: "11",
},
{
name: "Florida",
postal_abbreviation: "FL",
fips_code: "12",
},
{
name: "Federated States of Micronesia",
postal_abbreviation: "FM",
fips_code: "64",
},
{
name: "Georgia",
postal_abbreviation: "GA",
fips_code: "13",
},
{
name: "Guam",
postal_abbreviation: "GU",
fips_code: "66",
},
{
name: "Hawaii",
postal_abbreviation: "HI",
fips_code: "15",
},
{
name: "Idaho",
postal_abbreviation: "ID",
fips_code: "16",
},
{
name: "Illinois",
postal_abbreviation: "IL",
fips_code: "17",
},
{
name: "Indiana",
postal_abbreviation: "IN",
fips_code: "18",
},
{
name: "Iowa",
postal_abbreviation: "IA",
fips_code: "19",
},
{
name: "Kansas",
postal_abbreviation: "KS",
fips_code: "20",
},
{
name: "Kentucky",
postal_abbreviation: "KY",
fips_code: "21",
},
{
name: "Louisiana",
postal_abbreviation: "LA",
fips_code: "22",
},
{
name: "Maine",
postal_abbreviation: "ME",
fips_code: "23",
},
{
name: "Marshall Islands",
postal_abbreviation: "MH",
fips_code: "68",
},
{
name: "Maryland",
postal_abbreviation: "MD",
fips_code: "24",
},
{
name: "Massachusetts",
postal_abbreviation: "MA",
fips_code: "25",
},
{
name: "Michigan",
postal_abbreviation: "MI",
fips_code: "26",
},
{
name: "Minnesota",
postal_abbreviation: "MN",
fips_code: "27",
},
{
name: "Mississippi",
postal_abbreviation: "MS",
fips_code: "28",
},
{
name: "Missouri",
postal_abbreviation: "MO",
fips_code: "29",
},
{
name: "Montana",
postal_abbreviation: "MT",
fips_code: "30",
},
{
name: "Nebraska",
postal_abbreviation: "NE",
fips_code: "31",
},
{
name: "Nevada",
postal_abbreviation: "NV",
fips_code: "32",
},
{
name: "New Hampshire",
postal_abbreviation: "NH",
fips_code: "33",
},
{
name: "New Jersey",
postal_abbreviation: "NJ",
fips_code: "34",
},
{
name: "New Mexico",
postal_abbreviation: "NM",
fips_code: "35",
},
{
name: "New York",
postal_abbreviation: "NY",
fips_code: "36",
},
{
name: "North Carolina",
postal_abbreviation: "NC",
fips_code: "37",
},
{
name: "North Dakota",
postal_abbreviation: "ND",
fips_code: "38",
},
{
name: "Ohio",
postal_abbreviation: "OH",
fips_code: "39",
},
{
name: "Oklahoma",
postal_abbreviation: "OK",
fips_code: "40",
},
{
name: "Oregon",
postal_abbreviation: "OR",
fips_code: "41",
},
{
name: "Palau",
postal_abbreviation: "PW",
fips_code: "70",
},
{
name: "Pennsylvania",
postal_abbreviation: "PA",
fips_code: "42",
},
{
name: "Puerto Rico",
postal_abbreviation: "PR",
fips_code: "72",
},
{
name: "Rhode Island",
postal_abbreviation: "RI",
fips_code: "44",
},
{
name: "South Carolina",
postal_abbreviation: "SC",
fips_code: "45",
},
{
name: "South Dakota",
postal_abbreviation: "SD",
fips_code: "46",
},
{
name: "Tennessee",
postal_abbreviation: "TN",
fips_code: "47",
},
{
name: "Texas",
postal_abbreviation: "TX",
fips_code: "48",
},
{
name: "U.S. Minor Outlying Islands",
postal_abbreviation: "UM",
fips_code: "74",
},
{
name: "United States Virgin Islands",
postal_abbreviation: "VI",
fips_code: "78",
},
{
name: "Utah",
postal_abbreviation: "UT",
fips_code: "49",
},
{
name: "Vermont",
postal_abbreviation: "VT",
fips_code: "50",
},
{
name: "Virginia",
postal_abbreviation: "VA",
fips_code: "51",
},
{
name: "Washington",
postal_abbreviation: "WA",
fips_code: "53",
},
{
name: "West Virginia",
postal_abbreviation: "WV",
fips_code: "54",
},
{
name: "Wisconsin",
postal_abbreviation: "WI",
fips_code: "55",
},
{
name: "Wyoming",
postal_abbreviation: "WY",
fips_code: "56",
},
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment