forked from HXLStandard/hxl-hashtag-chooser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hxl-knowledge-base.json
857 lines (855 loc) · 28.2 KB
/
hxl-knowledge-base.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
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
{
"top": {
"question": "What kind of data do you have in the column?",
"options": [
{
"text": "Numbers of people (e.g. census or needs overview)",
"dest": "people_tags"
},
{
"text": "Places",
"dest": "place_tags"
},
{
"text": "Survey or assessment results",
"dest": "survey_tags"
},
{
"text": "Humanitarian organisations",
"hashtag": "org",
"dest": "org_atts"
},
{
"text": "Humanitarian response (activities, clusters, etc.)",
"dest": "response_tags"
},
{
"text": "Crises or events (e.g. security incidents)",
"dest": "event_tags"
},
{
"text": "Dates",
"hashtag": "date",
"dest": "date_atts"
},
{
"text": "Cash or financial information",
"dest": "cash_tags"
},
{
"text": "General humanitarian indicators",
"hashtag": "indicator",
"dest": "indicator_shape"
},
{
"text": "Metadata describing the data row (e.g. source)",
"hashtag": "meta",
"dest": "meta_atts"
},
{
"text": "None of the above",
"hashtag": "x_???",
"note": "The core HXL hashtags cannot cover every specialised type of humanitarian data. If you cannot find any match for what you need to tag, you are free to create a custom hashtag beginning with \"#x_\", e.g. \"#x_virulence\"."
}
]
},
"indicator_shape": {
"question": "How is your overall dataset shaped?",
"options": [
{
"text": "It is wide, with multiple columns of indicator values in each row",
"attribute": "MY_CUSTOM_ATTRIBUTE",
"dest": "datatype_atts"
},
{
"text": "It is narrow and long, with one indicator value in each row, together with the indicator's name or code",
"dest": "indicator_atts"
}
],
"pre-text": "Note that if your dataset contains many columns of indicators, you do not have to tag all of them. Add hashtags only to the columns that people might want to be able to work on using HXL-aware tools."
},
"people_tags": {
"question": "What is the humanitarian context?",
"options": [
{
"text": "General population (including those not affected by the crisis)",
"dest": "gender_atts",
"hashtag": "population"
},
{
"text": "All individuals affected by the crisis",
"hashtag": "affected",
"attribute": "ind",
"dest": "impact_atts"
},
{
"text": "All households affected by the crisis",
"hashtag": "affected",
"attribute": "hh",
"dest": "impact_atts"
},
{
"text": "All individuals in need of humanitarian assistance",
"hashtag": "inneed",
"attribute": "ind",
"dest": "impact_atts"
},
{
"text": "All households in need of humanitarian assistance",
"hashtag": "inneed",
"attribute": "hh",
"dest": "impact_atts"
},
{
"text": "All individuals targeted for humanitarian assistance",
"hashtag": "targeted",
"attribute": "ind",
"dest": "impact_atts"
},
{
"text": "All households targeted for humanitarian assistance",
"hashtag": "targeted",
"attribute": "hh",
"dest": "impact_atts"
},
{
"text": "Only individuals actually reached with humanitarian assistance",
"hashtag": "reached",
"attribute": "ind",
"dest": "impact_atts"
},
{
"text": "Only households actually reached with humanitarian assistance",
"hashtag": "reached",
"attribute": "hh",
"dest": "impact_atts"
}
]
},
"survey_tags": {
"question": "What kind of survey/assessment information?",
"options": [
{
"text": "Individual respondees (e.g. people, households, or merchants)",
"hashtag": "respondee",
"dest": "code_atts"
},
{
"text": "Capacities (number of beds, maximum cargo, etc)",
"hashtag": "capacity",
"dest": "code_atts"
},
{
"text": "Needs (shelter, communications, etc)",
"hashtag": "need",
"dest": "code_atts"
},
{
"text": "Services (healthcare, counselling, etc)",
"hashtag": "service",
"dest": "code_atts"
},
{
"text": "Items (food, shelter kits, etc)",
"hashtag": "item",
"dest": "code_atts"
},
{
"text": "Some other kind of indicator",
"hashtag": "indicator",
"attribute": "MY_CUSTOM_ATTRIBUTE",
"dest": "datatype_atts"
}
],
"post-text": "CAUTION: survey results are often sensitive data."
},
"place_tags": {
"question": "What kind of places?",
"options": [
{
"text": "Administrative subdivisions (region, country, province, district, etc)",
"dest": "admin_tags"
},
{
"text": "Latitude and/or longitude",
"hashtag": "geo",
"dest": "geo_atts"
},
{
"text": "Specific locations (e.g. camps) or mixed types of locations",
"hashtag": "loc",
"dest": "loc_atts"
}
]
},
"response_tags": {
"question": "What kind of response information?",
"options": [
{
"text": "A cluster or sector",
"hashtag": "sector",
"dest": "sector_tags"
},
{
"text": "A programme, project, or activity",
"hashtag": "activity",
"dest": "id_atts"
},
{
"text": "A longer description of an activity, project, etc",
"hashtag": "description",
"dest": "lang_atts"
},
{
"text": "The output or outcome of a humanitarian activity",
"hashtag": "output",
"dest": "code_atts"
},
{
"text": "The intended beneficiary/ies",
"hashtag": "beneficiary",
"dest": "code_atts"
},
{
"text": "The current status of an activity, project, etc.",
"hashtag": "status",
"dest": "code_atts"
},
{
"text": "Contact information",
"hashtag": "contact",
"dest": "contact_atts"
}
]
},
"event_tags": {
"question": "What kind of crisis or event?",
"options": [
{
"text": "A broad humanitarian crisis/emergency",
"hashtag": "crisis",
"dest": "code_atts"
},
{
"text": "A specific event incident",
"hashtag": "event",
"dest": "id_atts"
},
{
"text": "Information about a non-humanitarian group involved an incident",
"hashtag": "group",
"dest": "id_atts"
},
{
"text": "Barriers or restrictions on access",
"hashtag": "access",
"dest": "code_atts"
},
{
"text": "The cause of an incident",
"hashtag": "cause",
"dest": "code_atts"
},
{
"text": "The frequency of an incident",
"hashtag": "frequency",
"dest": "code_atts"
},
{
"text": "The severity of an incident",
"hashtag": "severity",
"dest": "code_atts"
},
{
"text": "An impact of an incident",
"hashtag": "impact",
"dest": "code_atts"
}
]
},
"admin_tags": {
"question": "What administrative level?",
"options": [
{
"text": "A multi-country region, like West Africa or the Caribbean",
"hashtag": "region",
"dest": "movement_atts"
},
{
"text": "A country or country-like (admin0) entity",
"hashtag": "country",
"dest": "movement_atts"
},
{
"text": "A top-level (admin1) subdivision",
"hashtag": "adm1",
"dest": "movement_atts"
},
{
"text": "A second-level (admin2) subdivision",
"hashtag": "adm2",
"dest": "movement_atts"
},
{
"text": "A third-level (admin3) subdivision",
"hashtag": "adm3",
"dest": "movement_atts"
},
{
"text": "A fourth-level (admin4) subdivision",
"hashtag": "adm4",
"dest": "movement_atts"
},
{
"text": "A fifth-level (admin5) subdivision",
"hashtag": "adm5",
"dest": "movement_atts"
}
]
},
"sector_tags": {
"question": "What kind of sector?",
"options": [
{
"text": "A humanitarian cluster",
"hashtag": "sector",
"attribute": "cluster",
"dest": "code_atts"
},
{
"text": "Another kind of top-level sector",
"hashtag": "sector",
"dest": "code_atts"
},
{
"text": "A subsector",
"hashtag": "subsector",
"dest": "code_atts"
}
]
},
"cash_tags": {
"question": "What kind of cash/finance information?",
"options": [
{
"text": "An amount of money",
"hashtag": "value",
"dest": "value_atts"
},
{
"text": "A monetary currency",
"hashtag": "currency",
"attribute": "code",
"note": "Preferred content is ISO 4217 currency codes, such as \"CFA\" for the West African franc."
},
{
"text": "A modality/method of cash transfer",
"hashtag": "modality",
"dest": "code_atts"
},
{
"text": "The channel through which money is transferred",
"hashtag": "channel",
"dest": "code_atts"
}
]
},
"impact_atts": {
"question": "What is the humanitarian situation?",
"options": [
{
"text": "No, the situation is unspecified",
"dest": "gender_atts"
},
{
"text": "People killed",
"dest": "gender_atts",
"attribute": "killed",
"exclude": ["inneed", "targeted", "reached"]
},
{
"text": "People injured",
"dest": "gender_atts",
"attribute": "injured"
},
{
"text": "People abducted",
"dest": "gender_atts",
"attribute": "abducted"
},
{
"text": "All displaced people (internal or external)",
"dest": "gender_atts",
"attribute": "displaced"
},
{
"text": "Internally-displaced people (IDPs)",
"dest": "gender_atts",
"attribute": "idps"
},
{
"text": "Refugees",
"dest": "gender_atts",
"attribute": "refugees"
}
]
},
"gender_atts": {
"question": "What is the gender specific gender?",
"options": [
{
"text": "All genders are included",
"dest": "age_atts"
},
{
"text": "Female people only",
"dest": "age_atts",
"attribute": "f"
},
{
"text": "Male people only",
"dest": "age_atts",
"attribute": "m"
},
{
"text": "Non-gender-binary people only",
"dest": "age_atts",
"attribute": "i"
}
]
},
"age_atts": {
"question": "Do the numbers apply only to a specific age group?",
"options": [
{
"text": "All ages are included",
"note": "The values should always be numbers"
},
{
"text": "Any children (might include infants or adolescents)",
"attribute": "children",
"note": "The values should always be numbers. You may also add a custom attribute like +age_5_12 to give a specific range."
},
{
"text": "Infants only",
"attribute": "infants",
"note": "The values should always be numbers. You may also add a custom attribute like +age_0_2 to give a specific range."
},
{
"text": "Adolescents only",
"attribute": "adolescents",
"note": "The values should always be numbers. You may also add a custom attribute like +age_12_17 to give a specific range."
},
{
"text": "Any adults (might include adolescents or elderly people",
"attribute": "adults",
"note": "The values should always be numbers. You may also add a custom attribute like +age_18_64 to give a specific range."
},
{
"text": "Elderly people only",
"attribute": "elderly",
"note": "The values should always be numbers. You may also add a custom attribute like +age_65_ to give a specific range."
}
]
},
"geo_atts": {
"question": "What kind of geographic information do you want to tag?",
"options": [
{
"text": "Latitude only",
"attribute": "lat",
"note": "The preferred format for latitude is a decimal value, e.g. \"8.5\" instead of \"8 30.0N\"."
},
{
"text": "Longitude only",
"attribute": "lon",
"note": "The preferred format for longitude is a decimal value, e.g. \"-75.5\" instead of \"75 30.0W\"."
},
{
"text": "Latitude and longitude together in one field",
"attribute": "latlon",
"note": "The preferred format is the decimal latitude separated by a comma from the decimal longitude, e.g. \"8.5, -75.5\"."
},
{
"text": "Elevation above sea level",
"attribute": "elev",
"note": "The preferred unit is metres above sea level."
}
]
},
"movement_atts": {
"question": "Is this location part of a population movement?",
"options": [
{
"text": "No, the dataset is not about population movements",
"dest": "adm_atts"
},
{
"text": "Yes, it is the origin of a population movement",
"attribute": "origin",
"dest": "adm_atts"
},
{
"text": "Yes, it is the destination of a population movement",
"attribute": "dest",
"dest": "adm_atts"
},
{
"text": "Yes, it is a location of asylum",
"attribute": "asylum",
"dest": "adm_atts"
}
]
},
"loc_atts": {
"question": "What kind of locations are they?",
"options": [
{
"text": "Camps",
"attribute": "camp",
"dest": "movement_atts"
},
{
"text": "Facilities (health, education, etc)",
"attribute": "facility",
"dest": "adm_atts"
},
{
"text": "Marketplaces",
"attribute": "market",
"dest": "adm_atts"
},
{
"text": "None of the above",
"dest": "movement_atts"
}
]
},
"id_atts": {
"question": "What kind of information do you want to provide?",
"options": [
{
"text": "A human-readable name",
"attribute": "name",
"dest": "lang_atts"
},
{
"text": "A unique identifier",
"attribute": "id"
},
{
"text": "A type/classification",
"attribute": "type"
}
]
},
"code_atts": {
"question": "What kind of information do you want to provide?",
"options": [
{
"text": "A human-readable name",
"attribute": "name",
"dest": "lang_atts"
},
{
"text": "A unique machine code",
"attribute": "code"
},
{
"text": "A type/classification",
"attribute": "type",
"exclude": ["status"]
}
]
},
"date_atts": {
"question": "What kind of a date is this?",
"options": [
{
"text": "Unspecified",
"note": "The preferred date format is YYYY-MM-DD, e.g. \"2019-04-01\". You may also abbreviate to just the month (\"2019-04\") or just the year (\"2019\")."
},
{
"text": "A start date",
"attribute": "start",
"note": "The preferred date format is YYYY-MM-DD, e.g. \"2019-04-01\". You may also abbreviate to just the month (\"2019-04\") or just the year (\"2019\")."
},
{
"text": "An end date",
"attribute": "end",
"note": "The preferred date format is YYYY-MM-DD, e.g. \"2019-04-01\". You may also abbreviate to just the month (\"2019-04\") or just the year (\"2019\")."
},
{
"text": "A specific date when something happened",
"attribute": "occurred",
"note": "The preferred date format is YYYY-MM-DD, e.g. \"2019-04-01\". You may also abbreviate to just the month (\"2019-04\") or just the year (\"2019\")."
},
{
"text": "A specific date when something was reported",
"attribute": "reported",
"note": "The preferred date format is YYYY-MM-DD, e.g. \"2019-04-01\". You may also abbreviate to just the month (\"2019-04\") or just the year (\"2019\")."
}
]
},
"adm_atts": {
"question": "How is the location described?",
"options": [
{
"text": "By its name",
"attribute": "name",
"dest": "lang_atts"
},
{
"text": "By a code",
"attribute": "code",
"dest": "geocode_atts"
}
]
},
"lang_atts": {
"question": "Do you want to identify the language of the content?",
"options": [
{
"text": "No, I want to leave it unspecified"
},
{
"text": "Yes, the text is in English",
"attribute": "i_en"
},
{
"text": "Yes, the text is in French",
"attribute": "i_fr"
},
{
"text": "Yes, the text is in Arabic",
"attribute": "i_ar"
},
{
"text": "Yes, the text is in Spanish",
"attribute": "i_es"
},
{
"text": "Yes, the text is in Russian",
"attribute": "i_ru"
},
{
"text": "Yes, the text is in Swahili",
"attribute": "i_sw"
},
{
"text": "The text is in a language not listed here",
"attribute": "i_xx",
"note": "Replace the \"xx\" in +i_xx with the two-letter ISO 639 code for your language, e.g. +i_tl for Tagalog."
}
]
},
"geocode_atts": {
"question": "Do you want to indicate what code list you are using?",
"pre-text": "We assume ISO3 for countries and P-codes for administrative subdivisions if unspecified.",
"options": [
{
"text": "No, leave it unspecified"
},
{
"text": "Yes, specify ISO3 country codes (like \"SYR\" for Syria)",
"attribute": "v_iso3",
"include": ["country"]
},
{
"text": "Yes, specify ISO2 country codes (like \"SY\" for Syria)",
"attribute": "v_iso2",
"include": ["country"]
},
{
"text": "Yes, specify P-codes",
"attribute": "v_pcodes",
"exclude": ["region", "country"]
}
]
},
"indicator_atts": {
"question": "What do these values tell about the indicator (one indicator per row)?",
"options": [
{
"text": "The indicator's name",
"attribute": "name",
"dest": "lang_atts"
},
{
"text": "The indicator's identifier or code",
"attribute": "code"
},
{
"text": "The indicators type/classification",
"attribute": "type"
},
{
"text": "The indicator's value",
"attribute": "value",
"dest": "datatype_atts"
}
]
},
"datatype_atts": {
"question": "What is the most-specific data type that applies to every indicator value?",
"options": [
{
"text": "Mixed types, or all text"
},
{
"text": "A boolean (true/false or yes/no-style) value",
"attribute": "bool"
},
{
"text": "A percentage",
"attribute": "pct"
},
{
"text": "Any other numeric value",
"attribute": "num"
},
{
"text": "A web link",
"attribute": "url"
}
]
},
"org_atts": {
"question": "Are all the organisations tagged playing a specific role?",
"options": [
{
"text": "No, there are different roles mixed in the column",
"dest": "id_atts"
},
{
"text": "Yes, they are all donor organisations",
"attribute": "funding",
"dest": "id_atts"
},
{
"text": "Yes, they are all programming/extending organisations",
"attribute": "prog",
"dest": "id_atts"
},
{
"text": "Yes, they are all implementing partners",
"attribute": "impl",
"dest": "id_atts"
},
{
"text": "Yes, they are all organisations making a report",
"attribute": "reporting",
"dest": "id_atts"
}
]
},
"value_atts": {
"question": "What type of monetary value is this?",
"options": [
{
"text": "Not specified",
"dest": "currency_atts"
},
{
"text": "A cash transfer",
"attribute": "transfer",
"dest": "currency_atts"
},
{
"text": "An incoming funding commitment",
"attribute": "incoming",
"dest": "currency_atts"
},
{
"text": "An outgoing funding commitment",
"attribute": "outgoing",
"dest": "currency_atts"
},
{
"text": "A budget",
"attribute": "budget",
"dest": "currency_atts"
},
{
"text": "A disbursement",
"attribute": "disbursement",
"dest": "currency_atts"
},
{
"text": "An expenditure",
"attribute": "expenditure",
"dest": "currency_atts"
}
]
},
"currency_atts": {
"question": "What currency do the monetary values represent?",
"options": [
{
"text": "A mixture of different currencies",
"note": "there should be another column tagged with #currency"
},
{
"text": "Us dollars",
"attribute": "usd"
},
{
"text": "Euros",
"attribute": "eur"
},
{
"text": "Pounds Sterling",
"attribute": "gbp"
},
{
"text": "A currency not listed here",
"attribute": "xxx",
"note": "Replace +xxx with your currency code, e.g. +caf for West African francs"
}
]
},
"contact_atts": {
"question": "What kind of contact information?",
"options": [
{
"text": "Name of a contact person",
"attribute": "name"
},
{
"text": "Email address",
"attribute": "email"
},
{
"text": "Phone number",
"attribute": "phone"
},
{
"text": "Web site",
"attribute": "url"
}
]
},
"meta_atts": {
"question": "What kind of row metadata?",
"options": [
{
"text": "A unique identifier for the record/row",
"attribute": "id",
"note": "Assumed to be unique only within the dataset, not globally."
},
{
"text": "The source of the data",
"attribute": "source"
},
{
"text": "A URL for the data in the row",
"attribute": "url"
},
{
"text": "Metadata not listed above",
"attribute": "XXX",
"note": "You can invent any custom attribute you need to describe your metadata, e.g. +certainty"
}
]
}
}