forked from datasets/country-codes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatapackage.json
444 lines (444 loc) · 15.6 KB
/
datapackage.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
{
"name": "country-codes",
"title": "Comprehensive country codes: ISO 3166, ITU, ISO 4217 currency codes and many more",
"format": "csv",
"datapackage_version": "1.0.0-beta.13",
"last_modified": "2017-11-03",
"repository": {
"type": "git",
"url": "https://github.com/datasets/country-codes"
},
"licenses": [
{
"name": "ODC-PDDL-1.0",
"path": "http://opendatacommons.org/licenses/pddl/",
"title": "Open Data Commons Public Domain Dedication and License v1.0"
}
],
"sources": [
{
"name": "United Nations Protocol and Liaison Service",
"title": "United Nations Protocol and Liaison Service",
"path": "https://protocol.un.org/dgacm/pls/site.nsf/PermanentMissions.xsp"
},
{
"name": "Unicode Common Locale Data Repository (CLDR) Project",
"title": "Unicode Common Locale Data Repository (CLDR) Project",
"path": "https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json"
},
{
"name": "United Nations Department of Ecoonomic and Social Affairs Statistics Division",
"title": "United Nations Department of Ecoonomic and Social Affairs Statistics Division",
"path": "https://unstats.un.org/unsd/methodology/m49/overview/"
},
{
"name": "SIX Interbank Clearing Ltd (on behalf of ISO)",
"title": "SIX Interbank Clearing Ltd (on behalf of ISO)",
"path": "https://www.currency-iso.org/dam/downloads/lists/list_one.xml"
},
{
"name": "Statoids",
"title": "Statoids",
"path": "http://www.statoids.com/wab.html"
},
{
"name": "Geonames",
"title": "Geonames",
"path": "http://download.geonames.org/export/dump/countryInfo.txt"
},
{
"name": "US Securities and Exchange Commission",
"title": "US Securities and Exchange Commission",
"path": "https://www.sec.gov/edgar/searchedgar/edgarstatecodes.htm"
}
],
"resources": [
{
"name": "country-codes",
"format": "csv",
"path": "data/country-codes.csv",
"schema": {
"fields": [
{
"name": "FIFA",
"title": "FIFA code",
"description": "Codes assigned by the Fédération Internationale de Football Association",
"type": "string"
},
{
"name": "Dial",
"title": "telephone dialing code",
"description": "Country code from ITU-T recommendation E.164, sometimes followed by area code",
"type": "string"
},
{
"name": "ISO3166-1-Alpha-3",
"title": "ISO3166-1-Alpha-3",
"description": "Alpha-3 codes from ISO 3166-1 (synonymous with World Bank Codes)",
"type": "string",
"constraints" : {"unique": true, "minLength": 3, "maxLength": 3}
},
{
"name": "MARC",
"title": "MARC code",
"description": "MAchine-Readable Cataloging codes from the Library of Congress",
"type": "string"
},
{
"name": "is_independent",
"title": "independent country",
"description": "Country status, based on the CIA World Factbook",
"type": "string"
},
{
"name": "ISO3166-1-numeric",
"title": "ISO3166-1-numeric",
"description": "Numeric codes from ISO 3166-1",
"type": "string"
},
{
"name": "GAUL",
"title": "GAUL code",
"description": "Global Administrative Unit Layers from the Food and Agriculture Organization",
"type": "string"
},
{
"name": "FIPS",
"title": "FIPS code",
"description": "Codes from the U.S. standard FIPS PUB 10-4",
"type": "string"
},
{
"name": "WMO",
"title": "WMO code",
"description": "Country abbreviations by the World Meteorological Organization",
"type": "string",
"constraints" : {"maxLength": 2}
},
{
"name": "ISO3166-1-Alpha-2",
"title": "ISO3166-1-Alpha-2",
"description": "Alpha-2 codes from ISO 3166-1",
"type": "string",
"constraints" : {"unique": true, "minLength": 2, "maxLength": 2}
},
{
"name": "ITU",
"title": "ITU code",
"description": "Codes assigned by the International Telecommunications Union",
"type": "string"
},
{
"name": "IOC",
"title": "IOC code",
"description": "Codes assigned by the International Olympics Committee",
"type": "string",
"constraints" : {"maxLength": 3}
},
{
"name": "DS",
"title": "distinguishing signs of vehicles",
"description": "Distinguishing signs of vehicles in international traffic",
"type": "string"
},
{
"name": "UNTERM Spanish Formal",
"title": "UNTERM Spanish Formal",
"description": "Country's formal Spanish name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "Global Code",
"title": "global code",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "Intermediate Region Code",
"title": "intermediate region code",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "official_name_fr",
"title": "official name French",
"description": "Country or Area official French short name from UN Statistics Divsion",
"type": "string"
},
{
"name": "UNTERM French Short",
"title": "UNTERM French Short",
"description": "Country's short French name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "ISO4217-currency_name",
"title": "ISO4217-currency_name",
"description": "ISO 4217 currency name",
"type": "string"
},
{
"name": "Developed / Developing Countries",
"title": "developed or developing country",
"description": "Country classification from United Nations Statistics Division",
"type": "string",
"constraints" : {"enum": ["Developing", "Developed"]}
},
{
"name": "UNTERM Russian Formal",
"title": "UNTERM Russian Formal",
"description": "Country's formal Russian name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "UNTERM English Short",
"title": "UNTERM English Short",
"description": "Country's short English name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "ISO4217-currency_alphabetic_code",
"title": "ISO4217-currency_alphabetic_code",
"description": "ISO 4217 currency alphabetic code",
"type": "string"
},
{
"name": "Small Island Developing States (SIDS)",
"title": "small island developing state (SIDS)",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "UNTERM Spanish Short",
"title": "UNTERM Spanish Short",
"description": "Country's short Spanish name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "ISO4217-currency_numeric_code",
"title": "ISO4217-currency_numeric_code",
"description": "ISO 4217 currency numeric code",
"type": "string"
},
{
"name": "UNTERM Chinese Formal",
"title": "UNTERM Chinese Formal",
"description": "Country's formal Chinese name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "UNTERM French Formal",
"title": "UNTERM French Formal",
"description": "Country's formal French name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "UNTERM Russian Short",
"title": "UNTERM Russian Short",
"description": "Country's short Russian name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "M49",
"title": "M49",
"description": "UN Statistics M49 numeric codes (nearly synonymous with ISO 3166-1 numeric codes, which are based on UN M49. ISO 3166-1 does not include Channel Islands or Sark, for example)",
"type": "number",
"constraints" : {"unique": true}
},
{
"name": "Sub-region Code",
"title": "sub-region code",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "Region Code",
"title": "region code",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "official_name_ar",
"title": "official name Arabic",
"description": "Country or Area official Arabic short name from UN Statistics Divsion",
"type": "string"
},
{
"name": "ISO4217-currency_minor_unit",
"title": "ISO4217-currency_minor_unit",
"description": "ISO 4217 currency number of minor units",
"type": "string"
},
{
"name": "UNTERM Arabic Formal",
"title": "UNTERM Arabic Formal",
"description": "Country's formal Arabic name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "UNTERM Chinese Short",
"title": "UNTERM Chinese Short",
"description": "Country's short Chinese name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "Land Locked Developing Countries (LLDC)",
"title": "land locked developing country (LLDC)",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "Intermediate Region Name",
"title": "intermediate region name",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "official_name_es",
"title": "official name Spanish",
"description": "Country or Area official Spanish short name from UN Statistics Divsion",
"type": "string"
},
{
"name": "UNTERM English Formal",
"title": "UNTERM English Formal",
"description": "Country's formal English name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "official_name_cn",
"title": "official name Chinese",
"description": "Country or Area official Chinese short name from UN Statistics Divsion",
"type": "string"
},
{
"name": "official_name_en",
"title": "official name English",
"description": "Country or Area official English short name from UN Statistics Divsion",
"type": "string"
},
{
"name": "ISO4217-currency_country_name",
"title": "ISO4217-currency_country_name",
"description": "ISO 4217 country name",
"type": "string"
},
{
"name": "Least Developed Countries (LDC)",
"title": "least developed country (LDC)",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "Region Name",
"title": "region name",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "UNTERM Arabic Short",
"title": "UNTERM Arabic Short",
"description": "Country's short Arabic name from UN Protocol and Liaison Service",
"type": "string"
},
{
"name": "Sub-region Name",
"title": "sub-region name",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "official_name_ru",
"title": "official name Russian",
"description": "Country or Area official Russian short name from UN Statistics Divsion",
"type": "string"
},
{
"name": "Global Name",
"title": "global name",
"description": "Country classification from United Nations Statistics Division",
"type": "string"
},
{
"name": "Capital",
"title": "capital city",
"description": "Capital city from Geonames",
"type": "string"
},
{
"name": "Continent",
"title": "continent",
"description": "Continent from Geonames",
"type": "string",
"constraints" : {"minLength": 2, "maxLength": 2}
},
{
"name": "TLD",
"title": "TLD",
"description": "Top level domain from Geonames",
"type": "string"
},
{
"name": "Languages",
"title": "languages",
"description": "Languages from Geonames",
"type": "string"
},
{
"name": "Geoname ID",
"title": "Geoname ID",
"description": "Geoname ID",
"type": "number",
"constraints" : {"unique": true}
},
{
"name": "CLDR display name",
"title": "CLDR display name",
"description": "Country's customary English short name (CLDR)",
"type": "string"
},
{
"name": "EDGAR",
"title": "EDGAR code",
"description": "EDGAR country code from SEC",
"type": "string",
"constraints" : {"maxLength": 2}
}
]
}
}
],
"contributors": [
{
"title": "Evan Wheeler",
"path": "https://github.com/datasets/country-codes",
"role": "maintainer"
}
],
"related": [
{
"title": "Country list",
"path": "/core/country-list",
"publisher": "core",
"formats": ["CSV", "JSON"]
},
{
"title": "Language codes",
"path": "/core/language-codes",
"publisher": "core",
"formats": ["CSV", "JSON"]
},
{
"title": "Airport codes",
"path": "/core/airport-codes",
"publisher": "core",
"formats": ["CSV", "JSON"]
},
{
"title": "Continent codes",
"path": "/core/continent-codes",
"publisher": "core",
"formats": ["CSV", "JSON"]
}
]
}