File size: 3,283 Bytes
5a0135f
e274eac
 
 
 
 
 
 
 
 
 
 
5a0135f
 
 
 
 
 
 
 
 
 
7d31995
 
5a0135f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4c6f2bd
 
 
 
5a0135f
 
 
 
 
f483fa6
 
 
5a0135f
f483fa6
 
 
 
 
49e4729
f483fa6
 
 
 
 
 
 
 
 
515ceeb
f483fa6
 
 
 
 
 
 
 
 
 
 
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
---
language:
- en
- fr
- es
- de
license: apache-2.0
size_categories:
- 100K<n<1M
task_categories:
- text-classification
pretty_name: International Aid Transparency Initiative (IATI) Policy Marker Dataset
dataset_info:
  features:
  - name: iati_identifier
    dtype: string
  - name: reporting_org_ref
    dtype: string
  - name: text
    dtype: string
  - name: languages
    dtype: string
  - name: activity_dates
    dtype: string
  - name: gender_equality_sig
    dtype: float64
  - name: environment_sig
    dtype: float64
  - name: pdgg_sig
    dtype: float64
  - name: trade_sig
    dtype: float64
  - name: bio_diversity_sig
    dtype: float64
  - name: climate_mitigation_sig
    dtype: float64
  - name: climate_adaptation_sig
    dtype: float64
  - name: desertification_sig
    dtype: float64
  - name: rmnch_sig
    dtype: float64
  - name: drr_sig
    dtype: int64
  - name: disability_sig
    dtype: int64
  - name: nutrition_sig
    dtype: int64
  - name: gender_equality
    dtype: bool
  - name: environment
    dtype: bool
  - name: pdgg
    dtype: bool
  - name: trade
    dtype: bool
  - name: bio_diversity
    dtype: bool
  - name: climate_mitigation
    dtype: bool
  - name: climate_adaptation
    dtype: bool
  - name: desertification
    dtype: bool
  - name: rmnch
    dtype: bool
  - name: drr
    dtype: bool
  - name: disability
    dtype: bool
  - name: nutrition
    dtype: bool
  splits:
  - name: train
    num_bytes: 847221626
    num_examples: 895519
  download_size: 300347056
  dataset_size: 847221626
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
tags:
- finance
- climate
---

# International Aid Transparency Initiative (IATI) Policy Marker Dataset

A multi-purpose dataset including all activity title and description text published to IATI with metadata for policy markers.
For more information on IATI policy markers, see the [element page](https://iatistandard.org/en/iati-standard/203/activity-standard/iati-activities/iati-activity/policy-marker/) on the IATI Standard Website.
IATI is a living data source, and this dataset was last updated on 21 August, 2024. For the code to generate an updated version of this dataset, please see my Github repository [here](https://github.com/akmiller01/iati-policy-marker-hf-dataset).

For any given policy marker in this dataset, there are two columns. One indicates whether the publisher utilizes the policy marker at all (e.g. `gender_equality`), and the other represents the marker significance (e.g. `gender_equality_sig`).
The language column is pipe separated. It should be mostly ISO 639, but it's a free-text field so there may be other values.

A suggested use would be:

```
from datasets import load_dataset

iati = load_dataset("devinitorg/iati-policy-markers", split="train")
gender_relevant_iati = iati.filter(lambda example: example["gender_equality"]).rename_column("gender_equality_sig", "label")
cols_to_remove = gender_relevant_iati.column_names
cols_to_remove.remove("text")
cols_to_remove.remove("label")
gender_relevant_iati = gender_relevant_iati.remove_columns(cols_to_remove)
dataset = gender_relevant_iati.class_encode_column("label").train_test_split(
    test_size=0.2,
    stratify_by_column="label",
    shuffle=True,
)
```