'TX': 28995881, { value: 'GA', name: 'Georgia'}, { value: 'OR', name: 'Oregon'}, "IA": "Iowa", "WA": "Washington", "missouri": "MO", }, "illinois": "IL", "FL": "Florida", According to this page on the US Postal Service website which documents their XML based web API, specifically Section 4.0 (page 22) of this PDF document, they have a URL where you can send an XML request containing a 5 digit Zip Code and they will respond with an XML document containing the corresponding City and State. 'WI': 5822434, { value: 'SC', name: 'SouthCarolina'}, "MS": {text: "Mississippi", value: "Mississippi"}, For instance, many ZIP Codes contain leading zeros (ie. Download in Excel, CSV or JSON. "Michigan": "MI", Contains id + name + iso code. "new mexico": "NM", Separate the fields by comma (fields=status,message,query,country,city) or use a generated, numeric value (to save bandwidth) Valid US Cities and Zip Codes. "washington": "WA", 'Iowa': '19', "name": "Nebraska", "MN": { 'CT': 3565287, }, "abbreviation": "MD" Pick out your favourite state, and make yourself up a street address! "Federated States Of Micronesia": "FM", "mississippi": "MS", "maine": "ME", }, https://en.wikipedia.org/wiki/Insular_area. "name": "New Jersey", ZIP Code API Web Services. Account Login. "CO": {text: "Colorado", value: "Colorado"}, The database and this README are copyright 2004 CivicSpace Labs, Inc., and are published under a Creative Commons Attribution-ShareAlike license, which requires that all updates must be released under the same license. "name": "North Dakota", "FM": {text: "Federated States Of Micronesia", value: "Federated States Of Micronesia"}, Returned data. }, EXACTLY what I needed. { value: 'ID', name: 'Idaho'}, Address, Postal. ... ZIP-Codes.com provides United States ZIP Code and Canadian Postal Code data over a RESTful JSON and XML … "abbreviation": "NV" "name": "Delaware", "NT": "Northwest Territories", I believe the issue is that congressional redistricting from the census is … "MB": "Manitoba", "federated states of micronesia": "FM", "name": "Colorado", "abbreviation": "PA" 'NE': 1934408, "WI": { }; I am developing an android application and I have a registration form where I am asking for State and City (U.S. only) from the user. "abbreviation": "SD" "arkansas": "AR", "rhode island": "RI", aren't there 50 states in the us? { value: 'DC', name: 'DistrictofColumbia'}, "yukon territory" : "YT"], https://gist.github.com/zhisme/718dc44cb2b507949f034c5c958550a4. "NJ": "New Jersey", "South Dakota": "SD", 'Virginia': '51', For instance, in gz_2010_us_500_11_20m.json look in the northern part of the state. 'FM': 104929, "MP": "Northern Mariana Islands", "BC": "British Columbia", "california": "CA", { value: 'WY', name: 'Wyoming'} https://github.com/tannerjt/state_images.json, Super helpful. "district of columbia": "DC", Enter a city name, city name and state, or even a partial city name (for example: Nashville, Nashville, TN, Nash), and this will return all associated ZIP Codes for the city, if any. List of all US Zip codes in JSON format. "name": "Palau", If anybody needs lower case, compact, json with only states (no territories), here you go: Thanks for providing the list! "idaho": "ID", }. Thanks so much. "NV": {text: "Nevada", value: "Nevada"}, }, { value: 'VA', name: 'Virginia'}, "Nevada": "NV", The latitude and longitude given for each ZIP code is typically (though not always) the geographic centroid of the ZIP code; in any event, the location given can generally be expected to lie somewhere within the ZIP code's "boundaries". { value: 'UT', name: 'Utah'}, "MH": "Marshall Islands", "Puerto Rico": "PR", "abbreviation": "AS" "OR": {text: "Oregon", value: "Oregon"}, zip; zip-code; Additional Metadata. }, 'AR': 3017804, "name": "South Dakota", https://gist.github.com/rhythnic/3598aab0cf48477d253d7fb802b44abb. "CO": { 'IL': 12671821, "abbreviation": "MO" 'MO': 6137428, "MD": "Maryland", "abbreviation": "MP" "WY": { "Missouri": "MO", { value: 'RI', name: 'RhodeIsland'}, "connecticut": "CT", {{ ctx.dataset.extra_metas.explore.download_count | number }}, {{ ctx.dataset.metas.metadata_processed|formatMeta:'datetime' }} (, {{ ctx.dataset.metas.data_processed|formatMeta:'datetime' }} (. This is a d3.js visualization of US zip codes. If max is specified exactly that many entities are extracted from txt . { value: 'KS', name: 'Kansas'}, "nova scotia" : "NS" , "american samoa": "AS", "name": "South Carolina", "virgin islands": "VI", A city can have more than one zip code associated with it as different sections of the city can each have a different zip code. "District Of Columbia": "DC", "NM": { Enter Zip Code, City, County or State: Resource Type: Dataset: Metadata Created Date: January 28, 2016: Metadata Updated Date: September 16, 2020: Publisher: data.cityofnewyork.us: Unique Identifier "IL": {text: "Illinois", value: "Illinois"}, It takes the entered zipcode and utilizes the Google Maps Geocoding API to return a bunch of data in JSON format. "kansas": "KS", { value: 'WY', name: 'Wyoming'} "MD": {text: "Maryland", value: "Maryland"}, "indiana": "IN", "abbreviation": "NJ" }, https://gist.github.com/dsoverby1986/df89c1ed31f3b74b1b85c73bfae1d095, https://gist.github.com/dsoverby1986/820b7d8c40d5b81ef02a5c565ef0906f, https://gist.github.com/dsoverby1986/347ec802987764779fee9dc43b8247b1, https://gist.github.com/dsoverby1986/2735feab355547deab1b12fe846a3d1e. { value: 'ND', name: 'NorthDakota'}, "delaware": "DE", It created problems at MY work cause I used the list directly and then we had shipping problems, cause we ship only to the official 50 states!!! Instantly share code, notes, and snippets. Download Combined New England City and Town Areas (CNECTAs): cb_2018_us_cnecta_500k.zip ... cb_2018_us_state_5m.zip [1.0 MB ... cb_2018_us_ua10_500k.zip [9.1 MB] ZIP Code Tabulation Areas (ZCTAs) cb_2018_us_zcta510_500k.zip [59 MB] State-based Files. "OH": "Ohio", "VI": {text: "Virgin Islands", value: "Virgin Islands"}, 'ME': 1344212, "SD": {text: "South Dakota", value: "South Dakota"}, "name": "Indiana", "West Virginia": "WV", Do we have one with regions included too? { value: 'AK', name: 'Alaska'}, 'North Dakota': '38', "NJ": {text: "New Jersey", value: "New Jersey"}, "QC": "Quebec", }, Includes US and Canada ZIP … "NS": "Nova Scotia", 'MA': 6892503, If a component is missing from the dataset, it must still retain the delimited format with a null value. }, { value: 'RI', name: 'RhodeIsland'}, Hi, "colorado": "CO", "abbreviation": "WV" "kentucky": "KY", 'SC': 5148714, "Maine": "ME", { value: 'WV', name: 'WestVirginia'}, "Arizona": "AZ", You are a righteous dude. "name": "Arizona", Generate random real five digit zip codes with the correct city names given for each. "name": "Alabama", "NM": {text: "New Mexico", value: "New Mexico"}, Here is the result after inversion, This is awesome! { value: 'PA', name: 'Pennsylvania'}, "OR": "Oregon", "abbreviation": "IA" "abbreviation": "AZ" "FM": "Federated States Of Micronesia", "Guam": "GU", 'MI': 9986857, The following JSON object is a standardized description of your dataset's schema. "Mississippi": "MS", "Hawaii": "HI", "NY": {text: "New York", value: "New York"}, ; The pop field holds the population. "ND": "North Dakota", }, Here are the “County State City CSV” files. Why do these lists contain territories and not only the states, as the title of the gist says ??? { value: 'TX', name: 'Texas'}, { value: 'NH', name: 'NewHampshire'}, }, All the States of US and Canada: lowercase state name -> Upper case state short form in swift, static let StatesDictionary: [String : String] = [ "maryland": "MD", zipcode; zipcode_type; major_city; post_office_city; common_city_list; county; state; area_code_list "CT": "Connecticut", In 1963, the US Postal Service officially adopted the use of five-digit ZIP codes for every piece of mail. This API can process up to five lookups per request... Zip Codes: 13: REST v5.5: Zip API US: A free way to lookup city and state based on zip code. { value: 'NM', name: 'NewMexico'}, 'Michigan': '26', 'FL': 21477737, Here's a "name", "value" version for anyone needing this for a Quasar selector: https://gist.github.com/space-dweeb/e9ddde8c26e837fdf2d1abe01e62bb8e, In case you need it as a python tuple to be used in django model choices field for example, In case anyone uses b-form-select from Bootstrap Vue and wants to show and use the full state name but gets abbreviations from an api, { "abbreviation": "UT" "northwest territories" : "NT" , "minnesota": "MN", "abbreviation": "KS" Before consuming any of the APIs, Generate the Authorization token using the above mentioned URL along with your email and api_token, In the response you will be seeing the auth_token which needs to passed in any API using the Bearer Authentication as shown below 'MP': 51994, thanks a lot! U.S. Zip Code Database listing - includes zipcode, area code, city, state, county, 2010 Census data, current population, household income, etc. I'll go too. Only exists if zcta is FALSE. ]; @pycoach - Texas is listed twice. }, "vermont": "VT", The 2 lists in very compact form (without the quotes, when unnecessary): had to make this for a project thought I would add it here for future help this is state name to fips code helpful for anyone working with geo data. }, http://creativecommons.org/licenses/by-sa/2.0/. "VI": { { value: 'CA', name: 'California'}, "New York": "NY", { value: 'MI', name: 'Michigan'}, Country State and City CSV. 'NY': 19453561, Simple, elegant solutions are the most beautiful things. "nunavut" : "NU", 'OH': 11689100, The scripts necessary to reproduce and build zipcodes/zips.json.bz2 can be found under build/app/__init__.py. The API can return the following fields and values. "MP": { "NB": "New Brunswick", "name": "New Hampshire", "UT": { "CT": { Original zip code dataset from Geocommons. 'Massachusetts': '25', "AS": { "SC": { Here at work, not all of our sites are connected to a DB. 'Connecticut': '09', "Vermont": "VT", "abbreviation": "KY" "WI": {text: "Wisconsin", value: "Wisconsin"}, The USPS ZIP Code Lookup Web Tool API allows developers to get the ZIP Code and ZIP Code + 4 corresponding to a given address, city, and state. "texas": "TX", "VT": "Vermont", { value: 'NJ', name: 'NewJersey'}, Thank you for your time in putting this together. ZIP Code Inputs. "MS": "Mississippi", "Rhode Island": "RI", "northern mariana islands": "MP", "AL": { }, Enter the address, city, state, province, or country into the search field above to locate a mailing address or find a package’s origin. "LA": { "name": "American Samoa", AAN1 - ZIP, state, city, street name, and primary number match, but there is secondary information such as apartment or suite that would be helpful. }, { value: 'SD', name: 'SouthDakota'}, "NE": { { value: 'LA', name: 'Louisiana'}, Thanks! 'SD': 884659, "PE": "Prince Edward Island", 'GA': 10617423, "name": "Maryland", "abbreviation": "MI" "name": "Illinois", "Wisconsin": "WI", { value: 'MS', name: 'Mississippi'}, "DE": {text: "Delaware", value: "Delaware"}, "name": "Michigan", { value: 'MI', name: 'Michigan'}, This tool allows to developers to submit standard RESTful web API requests and receive XML or JSON responses back. "abbreviation": "ME" List of all Zip Codes for the state of New York, NY. 'MH': 58791, Original zip code dataset from Geocommons. "utah": "UT", }, From version 0.2.0, uszipcode use a more up-to-date database, and having a crawler running every week to collection different data points from multiple data source. Includes Latitude, Longitude, City, State, County, and of course, Zip Code. Resource Type: Dataset: Metadata Created Date: March 18, 2019: ... State of Maryland Topics. 'Washington': '53', }, "wisconsin": "WI", "FM": { The remaining ZIP Codes absent from this database are entirely PO Box or Firm ZIP codes added in the last five years, which are no longer published by the Census Bureau, but in any event serve a very small minority of the population (probably on the order of .1% or less). "georgia": "GA", "Virginia": "VA", "Ohio": "OH", "Alabama": "AL", }, }, "NH": { }, the image is query by state(DC)..gives you all zipcodes in DC. 'Ohio': '39', I added average state taxes to the Object here: https://github.com/bikisDesign/usStateNamesAndTaxes. Thanks for sharing. "GU": { 'KY': 4467673, "puerto rico": "PR", Includes all counties and cities in New York. "name": "District Of Columbia", google "usa states json" -> arrive here -> copy/paste -> [fist bump]. 'New York': '36', }, with Canada. Here is the json_hash in single quotes, There is an underscore method to invert the object. "GU": "Guam", 'WY': 578759 "Kentucky": "KY", "PW": {text: "Palau", value: "Palau"}, "name": "New York", "MT": {text: "Montana", value: "Montana"}, }, The _id field holds the zip code as a string. }, "quebec" : "QC" , "MO": { "Montana": "MT", }, "guam": "GU", "NY": { 'Wisconsin': '55', 'Idaho': '16', { value: 'OH', name: 'Ohio'}, "VA": "Virginia", We are still working out a few kinks, but should be rolling here any minute. "Louisiana": "LA", "wyoming": "WY", 'VA': 8535519, This archive includes weather data for 1 year that you can specify. "SK": "Saskatchewan", "NC": {text: "North Carolina", value: "North Carolina"}, 'Indiana': '18', Some places, like Manhattan in New York City The following JSON object is a standardized description of your dataset's schema. Keep in mind that a ZIP Code is not a number; it is simply a series of digits representing a delivery area. per location. "name": "Minnesota", USA_states: { you can get US Zipcode Boundaries(qurey by city,state,or county) via this api API: https://boundaries-io.com. { value: 'FL', name: 'Florida'}, This is a d3.js visualization of US zip codes. List of cities and towns in the USA, including name, US state, zip code, altitude and GPS coordinates. { value: 'FL', name: 'Florida'}, "MT": { "name": "Pennsylvania", :-D. The numeric codes for states in previous examples are wrong. AAM3 - ZIP, state, city, and street name match, but the primary number is invalid. "Colorado": "CO", The tests are defined in and are generated from a custom, declarative format. "PR": { "TN": { "AS": "American Samoa", ZIP Code Tabulation Areas (ZCTAs) are generalized areal representations of United States Postal Service (USPS) ZIP Code service areas. In case you only want array of names, like I did. "abbreviation": "CO" 'Wyoming': '56' "AR": {text: "Arkansas", value: "Arkansas"}, Or if you know the Zip Code you can find the city, county and state. states.csv includes all US states and their abbreviations; cities.csv has a list of all current US cities. "south dakota": "SD", "name": "Utah", "North Dakota": "ND", "montana": "MT", { value: 'MN', name: 'Minnesota'}, "name": "Oklahoma", "WA": { "abbreviation": "CT" "LA": {text: "Louisiana", value: "Louisiana"}, 'Utah': '49', "SC": "South Carolina", { value: 'IA', name: 'Iowa'}, "OH": {text: "Ohio", value: "Ohio"}, { value: 'AZ', name: 'Arizona'}, If you enter a ZIP Code, it will return the associated citie(s). "michigan": "MI", Below is the expected usage of this package and a demonstration of supported functionality. "iowa": "IA", "NV": "Nevada", "name": "North Carolina", "abbreviation": "GU" { value: 'NY', name: 'NewYork'}, "name": "Virginia", "WA": {text: "Washington", value: "Washington"}, "GA": "Georgia", { value: 'HI', name: 'Hawaii'}, "CA": {text: "California", value: "California"}, "name": "Massachusetts", zcta: TRUE if the zip code is a Zip Code Tabulation area . The tests are defined in and are generated from a custom, declarative format. { value: 'NH', name: 'NewHampshire'}, This database was composed using ZIP code gazetteers from the US Census Bureau from 1999 and 2000, augmented with additional ZIP code information The database is believed to contain over 98% of the ZIP Codes in current use in the United States. "GA": { Canadian users can jump over to the equivalent Canadian Postal Codes generator page. 'DC': 705749, 'Hawaii': '15', 'NV': 3080156, { value: 'OR', name: 'Oregon'}, "abbreviation": "DC" "MN": {text: "Minnesota", value: "Minnesota"}, { value: 'AR', name: 'Arkansas'}, { value: 'KS', name: 'Kansas'}, { value: 'MO', name: 'Missouri'}, 'New Mexico': '35', "name": "Louisiana", Local Government Publisher. { value: 'IL', name: 'Illinois'}, The scripts necessary to reproduce and build zipcodes/zips.json.bz2 can be found under build/app/__init__.py. how come you have 59? If you don't require all the returned fields, use the GET parameter fields to specify which data should be returned. "WI": "Wisconsin", "KS": { GitHub Gist: instantly share code, notes, and snippets. USPS ZIP Codes are not areal features but a collection of mail delivery routes. "ME": { 'HI': 1415872, And API in 0.2.X NOT COMPATIBLE with 0.1.X, please read Document for more information.. "IL": "Illinois", This API can process up to five lookups per request... Zip Codes: 13: REST v5.5: Zip API US: A free way to lookup city and state based on zip code. }, Steps to access the APIs. "abbreviation": "AL" "AB": "Alberta", "abbreviation": "PR" "RI": { state_name: The state's name. }, CSV, JSON formats ; $45. Was using these, gratefully, but just noticed that California districts are not accurate for 113th Congress. "name": "Wyoming", Just wrote a little class to make a state dropdown, this helped a lot. "MI": {text: "Michigan", value: "Michigan"}, "abbreviation": "MH" [ "AL", "AK", "AS", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FM", "FL", "GA", "GU", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MH", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "MP", "OH", "OK", "OR", "PW", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VI", "VA", "WA", "WV", "WI", "WY" ], Wiki says there are 50 states, how come there's 59? 'Minnesota': '27', "Kansas": "KS", "MO": "Missouri", 5MB shapefile with properties such as zipcode, state, name, population, area, more. { value: 'ME', name: 'Maine'}, }, { value: 'WI', name: 'Wisconsin'}, "OK": "Oklahoma", "FL": {text: "Florida", value: "Florida"}, Documentation Place order. "New Hampshire": "NH", 'VI': 104578, { value: 'AL', name: 'Alabama'}, { value: 'AK', name: 'Alaska'}, "name": "Rhode Island", The USPS ZIP Codes identify the individual post office or metropolitan area delivery station associated with mailing addresses. "CT": {text: "Connecticut", value: "Connecticut"}, Which of these aren't states? "name": "Kentucky", "OR": { "name": "Wisconsin", "SD": "South Dakota", Click here for an example of auto-filling city and state in a form when a zip code … 'Arizona': '04', "South Carolina": "SC", "Nebraska": "NE", "MO": {text: "Missouri", value: "Missouri"}, "Pennsylvania": "PA", "oklahoma": "OK", 'Pennsylvania': '42', The API can convert a zip code to the primary location for the zip code. { value: 'VA', name: 'Virginia'}, You may search for a Zip Code by City, County or State. "name": "Montana", "New Jersey": "NJ", { value: 'IN', name: 'Indiana'}, The ZIP code database contained in 'zipcode.csv' contains 43204 ZIP codes for the continental United States, Alaska, Hawaii, Puerto Rico, and American Samoa. This way you could access to the name state name this way states[state.id] where state.id = "01". U.S. states. "abbreviation": "WA" Zip Code Lookup Table Metadata Updated: September 20, 2020. 'AS': 55312, Before consuming any of the APIs, Generate the Authorization token using the above mentioned URL along with your email and api_token, In the response you will be seeing the auth_token which needs to passed in any API using the Bearer Authentication as shown below "new hampshire": "NH", "MN": "Minnesota", { value: 'CO', name: 'Colorado'}, 'IN': 6732219, }, Although every attempt has been made to filter them out, this data set may contain up to .5% false positives, that is, ZIP codes that do not exist or are no longer in use but are included due to erroneous data sources. 'West Virginia': '54', "south carolina": "SC", "name": "Puerto Rico", 'VT': 623989, "RI": "Rhode Island", "abbreviation": "OR" { value: 'NJ', name: 'NewJersey'}, "AS": {text: "American Samoa", value: "American Samoa"}, }, 'Illinois': '17', }, This is freakin' awesome! 'NH': 1359711, "abbreviation": "FL" 'GU': 167294, US states in JSON form. Please contact [email protected] if you are interested in receiving updates to this database as they become available. "abbreviation": "AR" "WY": {text: "Wyoming", value: "Wyoming"} "new york": "NY", 'UT': 3205958, "abbreviation": "MS" }, "IL": { "louisiana": "LA", 'PA': 12801989, Most address fields on web forms ask for city, state, and zip code (or city and post code, outside of the US). "name": "Virgin Islands", }, 'New Jersey': '34', 'District Of Columbia': '11', Added counties as well! }, "HI": "Hawaii", "newfoundland" : "NL", 'South Carolina': '45', "Minnesota": "MN", { value: 'NY', name: 'NewYork'}, { value: 'WA', name: 'Washington'}, Zip-Tax.com works by submitting geographic information such as city, state, and zip code from your application or website. 'North Carolina': '37', "ohio": "OH", }, { value: 'MT', name: 'Montana'}, "NV": { "NH": "New Hampshire", "name": "Idaho", Data Points. Cities by ZIP Code™ For more rapid delivery, please use the recommended or recognized city names whenever possible for this ZIP Code ™. "TX": {text: "Texas", value: "Texas"}, { }, The format of the response can be returned as JSON or XML. "abbreviation": "LA" "PA": { "New Mexico": "NM", { value: 'KY', name: 'Kentucky'}, "abbreviation": "AK" "marshall islands": "MH", "ME": {text: "Maine", value: "Maine"}, USA State List - HTML select/dropdown snippet. The database is in comma separated value format, with columns for ZIP code, city, state, latitude, longitude, timezone (offset from GMT), and daylight savings time flag (1 if DST is observed in this ZIP code and 0 if not). - millbj92/US-Zip-Codes-JSON 'Delaware': '10', The list uses the USPS state abbreviation values. "DC": { { value: 'ID', name: 'Idaho'}, the API shows US Boundaries(GeoJson) by zipcode,city, and state. { value: 'MD', name: 'Maryland'}, "PR": "Puerto Rico", "Wyoming": "WY" }, { value: 'DE', name: 'Delaware'}, { value: 'CT', name: 'Connecticut'}, This data is used determine the correct sales tax information matching the provided location. { value: 'WA', name: 'Washington'}, { value: 'MD', name: 'Maryland'}, "name": "Vermont", 'PW': 18008, "new kersey": "NJ", The ZIP code database contained in 'zipcode.csv' contains 43204 ZIP codes for the continental United States, Alaska, Hawaii, Puerto Rico, and American Samoa. "ME": "Maine", "name": "Georgia", }, "PW": { "NM": "New Mexico", 'MS': 2976149, 'Louisiana': '22', 'WV': 1792147, "ID": {text: "Idaho", value: "Idaho"}, "Palau": "PW", "GA": {text: "Georgia", value: "Georgia"}, 'South Dakota': '46', "nevada": "NV", "abbreviation": "VA" { value: 'UT', name: 'Utah'}, }, Just what i've been looking for! }, { value: 'TX', name: 'Texas'}, Hi. 'MD': 6045680, }, 'PR': 3193694, 'Maryland': '24', 'Kentucky': '21', }, "CA": "California", 5MB shapefile with properties such as zipcode, state, name, population, area, more. }, "YT": "Yukon Territory" ... 1-800-425-1169. Find any zip code (including ZIP+4 - full 9-digit US zip codes) or postal code in the world by using our simple lookup function. 'KS': 2913314, { value: 'NC', name: 'NorthCarolina'}, 'AL': 4903185, ; The city field holds the city name. { value: 'NC', name: 'NorthCarolina'}, "massachusetts": "MA", "NC": "North Carolina", "SC": {text: "South Carolina", value: "South Carolina"}, AABBR1 - ZIP, state, city, street name, and primary number match. "DE": "Delaware", "name": "Florida", "oregon": "OR", "OK": { https://github.com/RobZuazua/state-county-json/blob/master/counties.json, https://www.tutorialspoint.com/android/android_json_parser.htm, Commonwealth of the Northern Mariana Islands. Drilldown Choropleth - State to Zip (or City) ‎07-25-2017 01:42 PM Is there a way to start the Drilldown Choropleth at the state level (without all of the US shown and with an Oklahoma JSON file dividing by County) and have it drill down to either a zip code JSON or city map? 'Rhode Island': '44', { value: 'GA', name: 'Georgia'}, Clone with Git or checkout with SVN using the repository’s web address. 'DE': 973764, 'Nebraska': '31', "Virgin Islands": "VI", "ND": {text: "North Dakota", value: "North Dakota"}, Historical Data Archives. "virginia": "VA", 'NC': 10488084, "Iowa": "IA", "abbreviation": "MT" "DE": { "NL": "Newfoundland and Labrador", }, Here's a compact version: These lists are incredibly useful, thank you so much. "CA": { }, "Massachusetts": "MA", This includes the city, state, latitude, longitude, time zone information, and NPA area codes for the primary location. "saskatchewan" : "SK" , 'Oklahoma': '40', { value: 'MO', name: 'Missouri'}, { value: 'MS', name: 'Mississippi'}, "Connecticut": "CT", "abbreviation": "NH" "abbreviation": "IL" The state field holds the two letter state abbreviation. "OH": { "Delaware": "DE", Thank you! where the keys have become the values and the values the keys. 'OK': 3956971, Here the states by id in a javascript object extracted from the Wikipedia [List of U.S. state abbreviations].(https://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations). 'Georgia': '13', { value: 'MT', name: 'Montana'}, "TN": "Tennessee", "Arkansas": "AR", 'WA': 7614893, "NC": { "name": "Washington", "abbreviation": "NC" { value: 'VT', name: 'Vermont'}, 'Kansas': '20', I really appreciate the time taken on build this gist. { value: 'NE', name: 'Nebraska'}, 59 states...? var states_fips_hash = }, "north dakota": "ND", "name": "Mississippi", "abbreviation": "TX" "name": "New Mexico", { value: 'ND', name: 'NorthDakota'}, { value: 'NV', name: 'Nevada'}, amus /ˈzipōpätəməs/ Postal Codes and Zip Codes made easy. "NE": "Nebraska", "TX": "Texas", { value: 'CO', name: 'Colorado'}, Cascading dropdown list of Country/State/City/Zip - JSFiddle - Code Playground Close Thanks for making this. "abbreviation": "WI" "ND": { "KY": { That custom function is part two. B-) Saved me a bunch of work! Thank You!!!!!! Download Combined New England City and Town Areas (CNECTAs): cb_2018_us_cnecta_500k.zip ... cb_2018_us_state_5m.zip [1.0 MB ... cb_2018_us_ua10_500k.zip [9.1 MB] ZIP Code Tabulation Areas (ZCTAs) cb_2018_us_zcta510_500k.zip [59 MB] State-based Files. "MA": {text: "Massachusetts", value: "Massachusetts"}, "VI": "Virgin Islands", "alberta" : "AB", "abbreviation": "MN" "ID": { "VA": { Heres my repo if anybody is interested in using or forking it: Today, there is roughly one post office for each ZIP code, so you probably have a post office nearby. Harvested from md json. "KS": "Kansas", "west virginia": "WV", "abbreviation": "ID" ZIP Code Search by City, State. How can I use this file in my android app? { value: 'OK', name: 'Oklahoma'}, That’s the kind of thing computers are good at. 'Vermont': '50', { value: 'KY', name: 'Kentucky'}, That’s the kind of thing computers are good at. 'Florida': '12', It all happens in an instant. "PA": "Pennsylvania", { value: 'TX', name: 'Texas'}, "abbreviation": "NM" 'Nevada': '32', 'TN': 6829174, "abbreviation": "NY" "name": "California", }, "LA": "Louisiana", "ontario" : "ON" , Always. Over 60 Countries Supported 'Tennessee': '47', Included in this page is the HTML select/dropdown code snippets to generate a list of states for the United States. 'CA': 39512223, "Utah": "UT", "MH": { { "MH": {text: "Marshall Islands", value: "Marshall Islands"}, "abbreviation": "RI" "abbreviation": "IN" "MP": {text: "Northern Mariana Islands", value: "Northern Mariana Islands"}, Here's a version for Sequelize migrations, const states = [ { state_name: "Alabama", state_abbv: "AL", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Alaska", state_abbv: "AK", createdAt: new Date(), updatedAt: new Date() }, { state_name: "American Samoa", state_abbv: "AS", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Arizona", state_abbv: "AZ", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Arkansas", state_abbv: "AR", createdAt: new Date(), updatedAt: new Date() }, { state_name: "California", state_abbv: "CA", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Colorado", state_abbv: "CO", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Connecticut", state_abbv: "CT", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Delaware", state_abbv: "DE", createdAt: new Date(), updatedAt: new Date() }, { state_name: "District Of Columbia", state_abbv: "DC", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Federated States Of Micronesia", state_abbv: "FM", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Florida", state_abbv: "FL", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Georgia", state_abbv: "GA", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Guam", state_abbv: "GU", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Hawaii", state_abbv: "HI", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Idaho", state_abbv: "ID", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Illinois", state_abbv: "IL", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Indiana", state_abbv: "IN", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Iowa", state_abbv: "IA", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Kansas", state_abbv: "KS", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Kentucky", state_abbv: "KY", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Louisiana", state_abbv: "LA", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Maine", state_abbv: "ME", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Marshall Islands", state_abbv: "MH", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Maryland", state_abbv: "MD", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Massachusetts", state_abbv: "MA", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Michigan", state_abbv: "MI", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Minnesota", state_abbv: "MN", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Mississippi", state_abbv: "MS", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Missouri", state_abbv: "MO", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Montana", state_abbv: "MT", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Nebraska", state_abbv: "NE", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Nevada", state_abbv: "NV", createdAt: new Date(), updatedAt: new Date() }, { state_name: "New Hampshire", state_abbv: "NH", createdAt: new Date(), updatedAt: new Date() }, { state_name: "New Jersey", state_abbv: "NJ", createdAt: new Date(), updatedAt: new Date() }, { state_name: "New Mexico", state_abbv: "NM", createdAt: new Date(), updatedAt: new Date() }, { state_name: "New York", state_abbv: "NY", createdAt: new Date(), updatedAt: new Date() }, { state_name: "North Carolina", state_abbv: "NC", createdAt: new Date(), updatedAt: new Date() }, { state_name: "North Dakota", state_abbv: "ND", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Northern Mariana Islands", state_abbv: "MP", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Ohio", state_abbv: "OH", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Oklahoma", state_abbv: "OK", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Oregon", state_abbv: "OR", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Palau", state_abbv: "PW", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Pennsylvania", state_abbv: "PA", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Puerto Rico", state_abbv: "PR", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Rhode Island", state_abbv: "RI", createdAt: new Date(), updatedAt: new Date() }, { state_name: "South Carolina", state_abbv: "SC", createdAt: new Date(), updatedAt: new Date() }, { state_name: "South Dakota", state_abbv: "SD", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Tennessee", state_abbv: "TN", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Texas", state_abbv: "TX", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Utah", state_abbv: "UT", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Vermont", state_abbv: "VT", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Virgin Islands", state_abbv: "VI", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Virginia", state_abbv: "VA", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Washington", state_abbv: "WA", createdAt: new Date(), updatedAt: new Date() }, { state_name: "West Virginia", state_abbv: "WV", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Wisconsin", state_abbv: "WI", createdAt: new Date(), updatedAt: new Date() }, { state_name: "Wyoming", state_abbv: "WY", createdAt: new Date(), updatedAt: new Date() } ].