File size: 7,384 Bytes
4fc38d5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
pretty_name: FertX
language:
  - en
license: cc-by-4.0
size_categories:
  - n<1K
tags:
  - agriculture
  - fertilizer
  - africa
  - crop-nutrition
  - soil-fertility
  - provenance
configs:
  - config_name: default
    default: true
    data_files:
      - split: train
        path: data/fertx.parquet
  - config_name: full
    data_files:
      - split: train
        path: data/fertx_full.parquet
  - config_name: sources
    data_files:
      - split: train
        path: data/sources.parquet
---

# FertX: an open dataset of fertilizer products (v1.0.0)

FertX describes the fertilizers farmers buy: the label grade and full composition (N, P2O5, K2O,
S, Ca, Mg, Zn, B), chloride content and potash source, whether the product goes on at planting or
as top dressing, and the African countries it is sold in. Every value carries its source and a
confidence level.

| | |
|---|---|
| **Dataset version** | 1.0.0 |
| **Generated** | 2026-11-17 |
| **Release package prepared** | 2026-11-18 |
| **Records** | 27 products: 22 `VERIFIED`, 5 `PARTIAL` |
| **Categories** | nitrogen 4, phosphate 3, potash 2, NP compound 7, NK compound 1, NPK compound 8, secondary nutrient 2 |
| **Source register** | 24 sources |
| **License** | CC BY 4.0 |

> **Standard or published grades, not a guarantee for any bag.** Labels vary by manufacturer and
> batch, and the same regional name can mean different grades in different countries (Compound D
> is 10-20-10+6S in Zambia and 8-14-7 in Zimbabwe). Always read the label of the product you buy.
> Prices are not included.

## Configurations and files

| Config | File | Rows | Use it for |
|---|---|---|---|
| `default` | `data/fertx.parquet` | 27 | Flat table (25 columns) for pandas, Polars and DuckDB. |
| `full` | `data/fertx_full.parquet` | 27 | Same records plus the nested `fields_detail` (value, confidence, sources and notes per field) and structured `markets`. |
| `sources` | `data/sources.parquet` | 24 | The source register that `source_ids` point to. |

The `full` and `sources` Parquet files are lossless conversions of `data/fertx.jsonl` and
`data/sources.csv`; the release validation checks them value by value against the originals. The
originals are included too: `data/fertx.jsonl`, `data/fertx.json` (with a metadata envelope),
`data/fertx.csv`, `data/sources.csv` and `data/SHA256SUMS`.

## Loading

```python
from datasets import load_dataset

products = load_dataset("xexflare/fertx", split="train")
full = load_dataset("xexflare/fertx", "full", split="train")
basal = products.filter(lambda r: r["role"] == "basal")
```

```python
import pandas as pd

df = pd.read_parquet("hf://datasets/xexflare/fertx/data/fertx.parquet")
malawi = df[df["markets"].str.contains("Malawi", na=False)][["id", "grade", "role"]]
```

## Intended use

- Fertilizer and farm-budget calculators: how many bags of a product supply a crop's N, P and K.
- Comparing the blends sold in different countries on one label basis.
- Teaching: what each product contains, and why tobacco growers avoid chloride.

**Not suitable** as the only basis for a fertilizer recommendation. Soil tests, local extension
advice and the actual product label come first.

## Schema

**Identity:** `id` (stable, e.g. `npk-23-21-0-4s`), `name`, `other_names`, `category`, `grade`
(label grade built from the nutrients, e.g. `23-21-0+4S`).

**Composition (percent by weight):** `n_pct`, `p2o5_pct`, `k2o_pct` (oxide basis, as on the
label), `s_pct`, `ca_pct`, `mg_pct`, `zn_pct`, `b_pct` (elements), `chloride_pct`.

**Product:** `chemical_formula`, `nitrogen_forms`, `potash_source`, `water_solubility_g_l`,
`solution_ph`, `role` (`basal`, `top_dressing`, `either`; only where a source says so).

**Markets:** `markets`, a list of `{ country, use, source_ids }` (countries joined with `; ` in CSV).

**Provenance:** `research_status`, `last_verified`, `source_ids`, `record_path`, and in the `full`
config `fields_detail`.

Full field reference: [`SCHEMA.md`](https://gitlab.com/xexflare/fertx/-/blob/main/SCHEMA.md).

## Confidence levels

| Level | Meaning |
|---|---|
| `CONFIRMED` | Stated explicitly by a primary source, or definitional (a chemical formula). |
| `STRONG` | Two sources agree. |
| `SUPPORTED` | One source, or a value derived from a stated one (Ca from CaO or CaCO3). |
| (empty) | Classifying fields such as `name` and `category`. |

Where a source gives a range, the value is its lower end and the range is in the notes.

## Collection methodology

1. Each product is one research file with a table of fields (value, confidence, source, notes)
   and a table of markets (country, use, source).
2. Straight fertilizers come from the IPNI Nutrient Source Specifics fact sheets (written by the
   International Plant Nutrition Institute; hosted by Fertilizer Australia since IPNI closed in
   2019). Regional blends come from FAO, IFDC, national seed company guides and the press.
3. The build checks that nutrient percentages are in range and add up to 100% or less, that each
   category matches the N, P2O5 and K2O present, and that every value and market cites a
   registered source. The research files themselves are not published.

## Source attribution

`data/sources.csv` lists the 24 registered sources: 13 IPNI fact sheets, an Incitec Pivot CAN
fact sheet, two FAO chapters on Zimbabwe, IFDC's Kenya market survey and Ethiopia statistics, three
Seed Co guides (Malawi and Zambia), NC State Extension on tobacco and chloride, a Malawi newspaper
and a third-party copy of Tanzania's fertilizer register. Facts remain attributable to their
original publishers; each source keeps its own terms.

## Validation and known limits

Automated validation passes: record counts match in every format; ids and grades are unique;
JSON and JSONL are deep-equal; every CSV and Parquet value matches the JSON; nutrient percentages
are in range and add up to 100% or less; categories match N-P-K; every cited source exists; the
`full` and `sources` Parquet files equal the originals. **These are consistency checks. They do
not independently re-verify the research.**

Known limits:

- `PARTIAL`: Malawi 23:10:5+6S+1Zn and the two Minjingu products (one press or third-party source
  each); Zambia's Compound D and NPK 17:17:17 (potash source unknown).
- The Zimbabwe compounds come from an older FAO table; current labels may differ.
- `role` is filled for 13 products; the rest have no source yet.
- Not covered yet: compost and manure, NPK 15-15-15, calcium nitrate, bag sizes.

## Credits

Created by [XexFlare](https://huggingface.co/xexflare). See also [Xexin.app](https://xexin.app).
Repository: [gitlab.com/xexflare/fertx](https://gitlab.com/xexflare/fertx).

## License

FertX is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/): free to share
and adapt, including commercially, with attribution ("FertX v1.0.0"). Facts remain attributable
to their original sources, which keep their own terms.

## Citation

```bibtex
@misc{fertx_2026,
  title  = {FertX: an open, source-cited dataset of fertilizer products},
  author = {{XexFlare}},
  year   = {2026},
  note   = {Version 1.0.0, generated 2026-11-17},
  url    = {https://huggingface.co/datasets/xexflare/fertx}
}
```

## Changelog

See [CHANGELOG.md](CHANGELOG.md). **1.0.0** (generated 2026-11-17): first release, 27 products,
24 sources, CSV/JSON/JSONL/Parquet.