<<

iso 3166 country codes download csv Countries List. Continents & countries (with , capital and currency, native name, calling codes). Countries, Languages & Continents data. Continents & countries: ISO 3166-1 alpha-2 code, name, ISO 639-1 languages, capital and currency, native name, calling codes. Lists are available in JSON, CSV and SQL formats. Also, contains separate JSON files with additional country Emoji flags data. Version 2.0: Breaking changes. This version changes a lot in the data structures, and placement of the files. So, if your projects depend on the old structure — specify previous versions, <2.0.0 . Installation. Package is available via: NPM npm install countries-list Composer / Packagist composer require annexare/countries-list Bower bower install countries. Usage. Module exports continents , countries , languages , languagesAll and functions: getEmojiFlag(countryCode) , where countryCode is alpha-2 String getUnicode(emoji) , where emoji is alpha-2 emoji flag String. Built files are in the ./dist directory. The ./data directory contains source data. The consistent data is available from ./dist/data.* files (JSON, SQL). Note : Country item languages field is an Array in JSON files to easily count and match items with a item. But currency and phone calling codes may be a comma-separated String . Note : Languages list only contains languages used in Countries data. Full list of known languages is exported as languagesAll from ./dist/languages.all. . Data example. Contributing. Everything is generated from files in ./data , including SQL file. Everything in ./dist is generated, so please make data related changes ONLY to files from ./data and then run gulp default command to commit generated files as well. Credits. Prepared by Annexare Studio from different public sources. Feel free to use it as you need in your apps or send updates into this public repository. It’s under MIT license. Countries is maintained by annexare. This page was generated by GitHub Pages. CSV downloads. Some of our data is provided here in downloadable csv files. For licensing reasons this is only offered for some limited data, which is listed below. Payments are made via Paypal. After we have received the confirmation of your payment, you will receive an automatic email with the corresponding CSV file attached. In general, this process takes about 1 or 2 minutes. CSV files. Country name (english) Country name (german) Country name in local language Country code ISO 3166-1 (2 letters) Capital Continent Population Surface area (km² and sq mi) Coastline (km and mi) Government form Currency Currency code Dialing prefix Birthrate (per 1000 inhabitants/year) Deathrate (per 1000 inhabitants/year) Country name (english) Country name (german) Country code ISO 3166-1 (numeric) Country code ISO 3166-1 (2 letters) Country code ISO 3166-1 (3 letters) Fips10 STANAG 1059 domain Dialing prefix Country code International Olympic Committee Country code FIFA (also non-members) Vehicle registration code United Nations Code for Trade and Transport Locations Maritime identification digits (MID) International Union (ITU) International Union of Railways (UIC) Mobile Country Code (MCC) City name (english) City name (german) Country name (english) Country name (german) Country code ISO 3166-1 (2 letters) Population Latitude Longitude Region. Country name (english) Country name (german) Country code ISO 3166-1 (2 letters) Name of currency (english) Name of currency (german) Sub-units (e.g. Cent, Centime, Øre) Currency code ISO 4217 (3 letters) Currency code ISO 4217 (numeric) Currency symbol (for 174 countries) Fixed rate (for pegged currencies, e.g. "1 USD = 7.80 HKD") Exchange Rate to US-Dollar Exchange Rate to Euro Date of exchange rate. created: 04.12.2019 size: 368.44 kB files: 248 price: 9.00 USD. All country flags as GIF files each in 190 x 114 pixels. All images are unified and contain no borders (the frames in the files of and belong to the flag). The number of colors is manually optimized. World countries in JSON, CSV, XML and YAML. This repository contains lists of world countries in JSON, CSV and XML. Each line contains the country: name - common - common name in english - official - official name in english - native - list of all native names - key: three-letter ISO 639-3 - value: name object + key: official - official name translation + key: common - common name translation country code top-level domain ( tld ) code ISO 3166-1 alpha-2 ( cca2 ) code ISO 3166-1 numeric ( ccn3 ) code ISO 3166-1 alpha-3 ( cca3 ) code International Olympic Committee ( cioc ) ISO 4217 currency code(s) ( currency ) calling code(s) ( callingCode ) capital city ( capital ) alternative spellings ( altSpellings ) region subregion list of official languages ( languages ) - key: three-letter ISO 639-3 language code - value: name of the language in english list of name translations ( translations ) - key: three-letter ISO 639-3 language code - value: name object + key: official - official name translation + key: common - common name translation latitude and longitude ( latlng ) name of residents ( demonym ) landlocked status ( landlocked ) land borders ( borders ) land area in km² ( area ) Additional data. The data folder contains additional data such as the countries GeoJSON outlines and flags in SVG format. Examples. GeoJSON outline. See an example for . Customising the output. The data files provided in the dist directory include all available fields, but is also possible to build a custom version of the data with certain fields excluded. To do this, you will first need a working PHP installation, composer and a local copy of this repository. Once you have these, open a terminal in your local version of this project’s root directory and run this command to install the necessary dependencies: After this finishes, run the following command (here we will exclude the tld field from the output, but you can exclude any field you want): Country name to ISO 3166-2 code. I know how to convert an ISO 3166-2 code to the full English name, e.g. "US" to "" by using RegionInfo . However, how can I do the opposite, i.e. that takes "United States" and returns "US"? 4 Answers 4. The main idea: take all region objects and select from them one which contains given full name. You could just do something like this: Not the answer you're looking for? Browse other questions tagged c# globalization cultureinfo iso-3166 regioninfo or ask your own question. Linked. Related. Hot Network Questions. Subscribe to RSS. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.8.13.39972. By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Csv list of country codes/names? [closed] Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Where can I get a list of easily parseable country codes and names? Note: 2 letter codes wanted. Examples: 4 Answers 4. Edit: Posting it here: Here's a maintained repo of country codes with friendly country names in multiple languages and in many formats, including text, CSV, JSON, YAML, XML, SQL, and others: In case it can help anyone, I just took the list of ISO 3166 country codes and names in English and French and put them together in CSV and SQL format: http://blog.plsoucy.com/2012/04/iso-3166-country-code-list-csv-/ While doing that, I fixed the capitalization so names aren't all uppercase, and renamed a few countries to the name that is used on Wikipedia, so "MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF" became "Macedonia" for example. That should allow for shorter lists.