Created
November 14, 2011 05:59
-
-
Save Nub/1363357 to your computer and use it in GitHub Desktop.
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
| regionCodes = {"United States":{ | |
| "Alabama":"AL", | |
| "Alaska":"AK", | |
| "Arizona":"AZ", | |
| "Arkansas":"AR", | |
| "California":"CA", | |
| "Colorado":"CO", | |
| "Connecticut":"CT", | |
| "Delaware":"DE", | |
| "Florida":"FL", | |
| "Georgia":"GA", | |
| "Hawaii":"HI", | |
| "Idaho":"ID", | |
| "Illinois":"IL", | |
| "Indiana":"IN", | |
| "Iowa":"IA", | |
| "Kansas":"KS", | |
| "Kentucky":"KY", | |
| "Louisiana":"LA", | |
| "Maine":"ME", | |
| "Maryland":"MD", | |
| "Massachusetts":"MA", | |
| "Michigan":"MI", | |
| "Minnesota":"MN", | |
| "Mississippi":"MS", | |
| "Missouri":"MO", | |
| "Montana":"MT", | |
| "Nebraska":"NE", | |
| "Nevada":"NV", | |
| "New Hampshire":"NH", | |
| "New Jersey":"NJ", | |
| "New Mexico":"NM", | |
| "New York":"NY", | |
| "North Carolina":"NC", | |
| "North Dakota":"ND", | |
| "Ohio":"OH", | |
| "Oklahoma":"OK", | |
| "Oregon":"OR", | |
| "Pennsylvania":"PA", | |
| "Rhode Island":"RI", | |
| "South Carolina":"SC", | |
| "South Dakota":"SD", | |
| "Tennessee":"TN", | |
| "Texas":"TX", | |
| "Utah":"UT", | |
| "Vermont":"VT", | |
| "Virginia":"VA", | |
| "Washington":"WA", | |
| "West Virginia":"WV", | |
| "Wisconsin":"WI", | |
| "Wyoming":"WY", | |
| "American Samoa":"AS", | |
| "District of Columbia":"DC", | |
| "Federated States of Micronesia":"FM", | |
| "Guam":"GU", | |
| "Marshall Islands":"MH", | |
| "Northern Mariana Islands":"MP", | |
| "Palau":"PW", | |
| "Puerto Rico":"PR", | |
| "Virgin Islands":"VI", | |
| "Armed Forces Africa":"AE", | |
| "Armed Forces Americas":"AA", | |
| "Armed Forces Canada":"AE", | |
| "Armed Forces Europe":"AE", | |
| "Armed Forces Middle East":"AE", | |
| "Armed Forces Pacific":"AP" | |
| }, | |
| "Australia":{ | |
| "Australian Capital Territory":"ACT", | |
| "New South Wales":"NSW", | |
| "Northern Territory":"NT", | |
| "Queensland":"QLD", | |
| "South Australia":"SA", | |
| "Tasmania":"TAS", | |
| "Victoria":"VIC", | |
| "Western Australia":"WA" | |
| }, | |
| "New Zealand":{ | |
| "Auckland":"AUK", | |
| "Bay of Plenty":"BOP", | |
| "Canterbury":"CAN", | |
| "Chatham Islands Territory":"CIT", | |
| "Gisborne District":"GIS", | |
| "Hawkes's Bay":"HKB", | |
| "Manawatu-Wanganui":"MWT", | |
| "Marlborough District":"MBH", | |
| "Nelson City":"NSN", | |
| "North Island":"N", | |
| "Northland":"NTL", | |
| "Otago":"OTA", | |
| "South Island":"S", | |
| "Southland":"STL", | |
| "Taranaki":"TKI", | |
| "Tasman District":"TAS", | |
| "Waikato":"WKO", | |
| "Wellington":"WGN", | |
| "West Coast":"WTC" | |
| }, | |
| "United Kingdom":{ | |
| "Aberdeen City":"ABE", | |
| "Aberdeenshire":"ABD", | |
| "Angus":"ANS", | |
| "Antrim":"ANT", | |
| "Ards":"ARD", | |
| "Argyll and Bute":"AGB", | |
| "Armagh":"ARM", | |
| "Ballymena":"BLA", | |
| "Ballymoney":"BLY", | |
| "Banbridge":"BNB", | |
| "Barking and Dagenham":"BDG", | |
| "Barnet":"BNE", | |
| "Barnsley":"BNS", | |
| "Bath and North East Somerset":"BAS", | |
| "Bedfordshire":"BDF", | |
| "Belfast":"BFS", | |
| "Bexley":"BEX", | |
| "Birmingham":"BIR", | |
| "Blackburn with Darwen":"BBD", | |
| "Blackpool":"BPL", | |
| "Blaenau Gwent":"BGW", | |
| "Bolton":"BOL", | |
| "Bournemouth":"BMH", | |
| "Bracknell Forest":"BRC", | |
| "Bradford":"BRD", | |
| "Brent":"BEN", | |
| "Bridgend [Pen-y-bont ar Ogwr GB-POG]":"BGE", | |
| "Brighton and Hove":"BNH", | |
| "Bristol, City of":"BST", | |
| "Bromley":"BRY", | |
| "Buckinghamshire":"BKM", | |
| "Bury":"BUR", | |
| "Caerphilly [Caerffili GB-CAF]":"CAY", | |
| "Calderdale":"CLD", | |
| "Cambridgeshire":"CAM", | |
| "Camden":"CMD", | |
| "Cardiff [Caerdydd GB-CRD]":"CRF", | |
| "Carmarthenshire [Sir Gaerfyrddin GB-GFY]":"CMN", | |
| "Carrickfergus":"CKF", | |
| "Castlereagh":"CSR", | |
| "Ceredigion [Sir Ceredigion]":"CGN", | |
| "Cheshire":"CHS", | |
| "Clackmannanshire":"CLK", | |
| "Coleraine":"CLR", | |
| "Conwy":"CWY", | |
| "Cookstown":"CKT", | |
| "Cornwall":"CON", | |
| "Coventry":"COV", | |
| "Craigavon":"CGV", | |
| "Croydon":"CRY" | |
| }, | |
| "Canada":{ | |
| "Alberta":"AB", | |
| "British Columbia":"BC", | |
| "Manitoba":"MB", | |
| "New Brunswick":"NB", | |
| "Newfoundland and Labrador":"NL", | |
| "Northwest Territories":"NT", | |
| "Nova Scotia":"NS", | |
| "Nunavut":"NU", | |
| "Ontario":"ON", | |
| "Prince Edward Island":"PE", | |
| "Quebec":"QC", | |
| "Saskatchewan":"SK", | |
| "Yukon Territory":"YT" | |
| }, | |
| "Mexico":{ | |
| "Aguascalientes":"AGU", | |
| "Baja California":"BCN", | |
| "Baja California Sur":"BCS", | |
| "Campeche":"CAM", | |
| "Chiapas":"CHP", | |
| "Chihuahua":"CHH", | |
| "Coahuila":"COA", | |
| "Colima":"COL", | |
| "Distrito Federal":"DIF", | |
| "Durango":"DUR", | |
| "Guanajuato":"GUA", | |
| "Guerrero":"GRO", | |
| "Hidalgo":"HID", | |
| "Jalisco":"JAL", | |
| "Michoacán":"MIC", | |
| "Morelos":"MOR", | |
| "México":"MEX", | |
| "Nayarit":"NAY", | |
| "Nuevo León":"NLE", | |
| "Oaxaca":"OAX", | |
| "Puebla":"PUE", | |
| "Querétaro":"QUE", | |
| "Quintana Roo":"ROO", | |
| "San Luis Potosí":"SLP", | |
| "Sinaloa":"SIN", | |
| "Sonora":"SON", | |
| "Tabasco":"TAB", | |
| "Tamaulipas":"TAM", | |
| "Tlaxcala":"TLA", | |
| "Veracruz":"VER", | |
| "Yucatán":"YUC", | |
| "Zacatecas":"ZAC" | |
| }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment