Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { keyBy } from "../clientUtils/Util"
// export type CountryNameFormatType = 'NonStandardCountryName' | 'OurWorldInDataName' | 'IsoAlpha2' | 'IsoAlpha3' | 'ImfCode' | 'MarcCode' | 'CowLetter' | 'CowCode' | 'UnctadCode' | 'NCDCode' | 'KansasCode' | 'PennCode' | 'ContinentName' | 'ContinentCode'
export class CountryNameFormat {
static NonStandardCountryName = "NonStandardCountryName"
static OurWorldInDataName = "OurWorldInDataName"
static IsoAlpha2 = "IsoAlpha2"
static IsoAlpha3 = "IsoAlpha3"
static ImfCode = "ImfCode"
static CowLetter = "CowLetter"
static CowCode = "CowCode"
static UnctadCode = "UnctadCode"
static MarcCode = "MarcCode"
static NCDCode = "NCDCode"
static KansasCode = "KansasCode"
static PennCode = "PennCode"
static ContinentName = "ContinentName"
static ContinentCode = "ContinentCode"
}
export const CountryNameFormatDefs = [
{
key: CountryNameFormat.NonStandardCountryName,
label: "Non-Standard Country Name",
use_as_input: true,
use_as_output: false,
},
{
key: CountryNameFormat.OurWorldInDataName,
label: "Our World In Data Name",
use_as_input: true,
column_name: "owid_name",
use_as_output: true,
},
{
key: CountryNameFormat.IsoAlpha2,
label: "ISO 3166-1 ALPHA-2 CODE",
use_as_input: true,
column_name: "iso_alpha2",
use_as_output: true,
},
{
key: CountryNameFormat.IsoAlpha3,
label: "ISO 3166-1 ALPHA-3 CODE",
use_as_input: true,
column_name: "iso_alpha3",
use_as_output: true,
},
{
key: CountryNameFormat.ImfCode,
label: "IMF code",
use_as_input: true,
column_name: "imf_code",
use_as_output: true,
},
{
key: CountryNameFormat.CowLetter,
label: "COW Letters",
use_as_input: true,
column_name: "cow_letter",
use_as_output: true,
},
{
key: CountryNameFormat.CowCode,
label: "COW Codes",
use_as_input: true,
column_name: "cow_code",
use_as_output: true,
},
{
key: CountryNameFormat.UnctadCode,
label: "Unctad 3-Letter Codes",
use_as_input: true,
column_name: "unctad_code",
use_as_output: true,
},
{
key: CountryNameFormat.MarcCode,
label: "MARC Codes",
use_as_input: true,
column_name: "marc_code",
use_as_output: true,
},
{
key: CountryNameFormat.NCDCode,
label: "National Capabilities Codes",
use_as_input: true,
column_name: "ncd_code",
use_as_output: true,
},
{
key: CountryNameFormat.KansasCode,
label: "Kansas Event Data System, Cameo Country Codes",
use_as_input: true,
column_name: "kansas_code",
use_as_output: true,
},
{
key: CountryNameFormat.PennCode,
label: "Penn World Table",
use_as_input: true,
column_name: "penn_code",
use_as_output: true,
},
{
key: CountryNameFormat.ContinentName,
label: "Continent Name",
use_as_input: false,
column_name: "continent_name",
use_as_output: true,
},
{
key: CountryNameFormat.ContinentCode,
label: "Continent Code",
use_as_input: false,
column_name: "continent_code",
use_as_output: true,
},
]
export const CountryDefByKey = keyBy(CountryNameFormatDefs, "key")
|