Kossisoroyce commited on
Commit
f2a33b7
·
verified ·
1 Parent(s): d95e8e3

Upload dataset nigerian_agriculture_farm_gate_prices

Browse files
README.md ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - time-series-forecasting
5
+ tags:
6
+ - nigeria
7
+ - agriculture
8
+ - food-systems
9
+ - synthetic
10
+ - agricultural-markets-and-pricing
11
+ size_categories:
12
+ - 100K<n<1M
13
+ ---
14
+
15
+ # Nigeria Agriculture – Farm Gate Prices
16
+
17
+ ## Dataset Description
18
+
19
+ Farmer prices vs market prices, middleman margins.
20
+
21
+ **Category**: Agricultural Markets & Pricing
22
+ **Rows**: 140,000
23
+ **Format**: CSV, Parquet
24
+ **License**: MIT
25
+ **Synthetic**: Yes (generated using reference data from FAO, NBS, NiMet, FMARD)
26
+
27
+ ## Dataset Structure
28
+
29
+ ### Schema
30
+
31
+ - **farm_id**: string
32
+ - **crop**: string
33
+ - **date**: string
34
+ - **farm_gate_price_ngn_kg**: float
35
+ - **market_price_ngn_kg**: float
36
+ - **margin_pct**: float
37
+
38
+ ### Sample Data
39
+
40
+ ```
41
+ | farm_id | crop | date | farm_gate_price_ngn_kg | market_price_ngn_kg | margin_pct |
42
+ |:------------|:--------|:-----------|-------------------------:|----------------------:|-------------:|
43
+ | FARM-006016 | soybean | 2022-06-02 | 30 | 642.24 | 52.2 |
44
+ | FARM-040866 | onion | 2022-11-03 | 684.97 | 607.89 | 44.4 |
45
+ | FARM-018843 | rice | 2022-10-01 | 166.57 | 599.51 | 31 |
46
+ | FARM-033325 | sorghum | 2024-06-14 | 402.58 | 814.02 | 52.6 |
47
+ | FARM-008010 | maize | 2023-01-20 | 499.65 | 949.56 | 53.2 |
48
+ ```
49
+
50
+ ## Data Generation Methodology
51
+
52
+ This dataset was synthetically generated using:
53
+
54
+ 1. **Reference Sources**:
55
+ - FAO (Food and Agriculture Organization) - crop yields, production data
56
+ - NBS (National Bureau of Statistics, Nigeria) - farm characteristics, surveys
57
+ - NiMet (Nigerian Meteorological Agency) - weather patterns
58
+ - FMARD (Federal Ministry of Agriculture and Rural Development) - extension guides
59
+ - IITA (International Institute of Tropical Agriculture) - agronomic research
60
+
61
+ 2. **Domain Constraints**:
62
+ - Crop calendars and phenology (planting/harvest windows)
63
+ - Agro-ecological zone characteristics (Sahel, Sudan Savanna, Guinea Savanna, Rainforest)
64
+ - Nigeria-specific realities (smallholder dominance, market dynamics, conflict zones)
65
+ - Statistical distributions matching national agricultural patterns
66
+
67
+ 3. **Quality Assurance**:
68
+ - Distribution testing (KS test, chi-square)
69
+ - Correlation validation (rainfall-yield, fertilizer-yield, yield-price)
70
+ - Causal consistency (DAG-based generation)
71
+ - Multi-scale coherence (farm → state aggregations)
72
+ - Ethical considerations (representative, unbiased)
73
+
74
+ See `QUALITY_ASSURANCE.md` in the repository for full methodology.
75
+
76
+ ## Use Cases
77
+
78
+ - **Machine Learning**: Yield prediction, price forecasting, pest detection, supply chain optimization
79
+ - **Policy Analysis**: Agricultural program evaluation, subsidy impact assessment, food security planning
80
+ - **Research**: Climate-agriculture interactions, market dynamics, technology adoption patterns
81
+ - **Education**: Teaching agricultural economics, data science applications in agriculture
82
+
83
+ ## Limitations
84
+
85
+ - **Synthetic data**: While grounded in real distributions, individual records are not real observations
86
+ - **Simplified dynamics**: Some complex interactions (e.g., multi-generational pest populations) are simplified
87
+ - **Temporal scope**: Covers 2022-2025; may not reflect longer-term trends or future climate scenarios
88
+ - **Spatial resolution**: State/LGA level; does not capture micro-level heterogeneity within localities
89
+
90
+ ## Citation
91
+
92
+ If you use this dataset, please cite:
93
+
94
+ ```bibtex
95
+ @dataset{nigeria_agriculture_2025,
96
+ title = {Nigeria Agriculture – Farm Gate Prices},
97
+ author = {Electric Sheep Africa},
98
+ year = {2025},
99
+ publisher = {Hugging Face},
100
+ url = {https://huggingface.co/datasets/electricsheepafrica/nigerian_agriculture_farm_gate_prices}
101
+ }
102
+ ```
103
+
104
+ ## Related Datasets
105
+
106
+ This dataset is part of the **Nigeria Agriculture & Food Systems** collection:
107
+ - https://huggingface.co/collections/electricsheepafrica/nigeria-agriculture-and-food-systems
108
+
109
+ ## Contact
110
+
111
+ For questions, feedback, or collaboration:
112
+ - **Organization**: Electric Sheep Africa
113
+ - **Collection**: Nigeria Agriculture & Food Systems
114
+ - **Repository**: https://github.com/electricsheepafrica/nigerian-datasets
115
+
116
+ ## Changelog
117
+
118
+ ### Version 1.0.0 (October 2025)
119
+ - Initial release
120
+ - 140,000 synthetic records
121
+ - Quality-assured using FAO/NBS/NiMet reference data
nigerian_agriculture_farm_gate_prices.csv ADDED
The diff for this file is too large to render. See raw diff
 
nigerian_agriculture_farm_gate_prices.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d528e8c4d5689b463d2cc865ce083f321ddda921efc6e00cc6fe3f61e3f47f73
3
+ size 2224299