Dataset Viewer
Auto-converted to Parquet
farm_id
stringlengths
11
11
date
stringdate
2022-01-01 00:00:00
2025-03-30 00:00:00
animal_type
stringclasses
5 values
breed
stringclasses
15 values
count
int64
5
10k
avg_age_months
int64
1
70
state
stringclasses
37 values
FARM-020667
2023-11-28
cattle
CATTLE-B
185
43
Delta
FARM-024519
2023-12-25
sheep
SHEEP-LOCAL
89
17
Kebbi
FARM-029896
2025-02-24
sheep
SHEEP-LOCAL
38
30
Bayelsa
FARM-028634
2022-12-17
cattle
CATTLE-LOCAL
21
20
Plateau
FARM-007711
2024-01-23
cattle
CATTLE-LOCAL
169
21
Imo
FARM-005145
2024-10-03
pigs
PIGS-LOCAL
86
5
Kogi
FARM-033953
2023-01-31
poultry
POULTRY-B
7,297
18
Ogun
FARM-016750
2022-12-09
sheep
SHEEP-A
158
6
Gombe
FARM-019847
2024-08-08
pigs
PIGS-B
499
14
Kogi
FARM-036010
2024-01-10
pigs
PIGS-LOCAL
171
11
Bauchi
FARM-017487
2023-12-09
pigs
PIGS-A
446
29
Imo
FARM-007457
2024-02-14
sheep
SHEEP-LOCAL
23
3
Borno
FARM-025400
2024-04-06
pigs
PIGS-B
470
26
Ogun
FARM-024392
2023-10-29
goats
GOATS-B
35
11
Akwa Ibom
FARM-004172
2022-11-23
sheep
SHEEP-LOCAL
22
44
Kaduna
FARM-044716
2022-03-05
pigs
PIGS-A
218
25
Katsina
FARM-033759
2022-08-30
cattle
CATTLE-B
132
1
Anambra
FARM-001048
2023-10-04
poultry
POULTRY-B
9,027
11
Plateau
FARM-011966
2024-02-14
poultry
POULTRY-LOCAL
449
14
Ogun
FARM-025878
2024-02-21
sheep
SHEEP-B
93
25
Kogi
FARM-004970
2024-09-23
pigs
PIGS-B
364
6
Adamawa
FARM-012446
2024-09-02
cattle
CATTLE-A
28
13
Katsina
FARM-024354
2023-01-23
poultry
POULTRY-A
8,262
23
Abia
FARM-038120
2025-02-11
goats
GOATS-A
136
21
FCT
FARM-027320
2023-09-19
sheep
SHEEP-LOCAL
229
11
Abia
FARM-043632
2023-01-26
sheep
SHEEP-A
28
35
Anambra
FARM-022686
2025-02-03
pigs
PIGS-A
197
27
Bayelsa
FARM-035750
2022-02-15
sheep
SHEEP-A
14
15
Jigawa
FARM-026328
2024-05-30
cattle
CATTLE-B
182
37
Abia
FARM-039616
2023-05-03
poultry
POULTRY-A
1,050
21
Plateau
FARM-027717
2023-07-21
sheep
SHEEP-LOCAL
142
23
Bauchi
FARM-043950
2023-07-23
cattle
CATTLE-LOCAL
140
31
Ekiti
FARM-017145
2024-09-08
goats
GOATS-B
23
8
Imo
FARM-014265
2024-07-15
cattle
CATTLE-LOCAL
37
1
Lagos
FARM-006228
2024-05-21
cattle
CATTLE-A
6
34
Ebonyi
FARM-010799
2022-07-10
sheep
SHEEP-B
12
25
Ogun
FARM-032395
2024-12-01
goats
GOATS-B
13
8
Gombe
FARM-014418
2023-12-12
goats
GOATS-LOCAL
35
6
Ondo
FARM-037514
2023-05-30
goats
GOATS-LOCAL
179
19
Taraba
FARM-011476
2022-11-30
goats
GOATS-LOCAL
132
20
Katsina
FARM-014964
2024-02-24
sheep
SHEEP-LOCAL
89
25
Ogun
FARM-042992
2022-10-20
sheep
SHEEP-A
209
9
Bauchi
FARM-027024
2024-01-25
goats
GOATS-B
45
19
Kaduna
FARM-044140
2025-03-26
sheep
SHEEP-B
215
10
Kwara
FARM-046032
2024-11-09
sheep
SHEEP-B
137
1
Jigawa
FARM-002090
2024-07-12
goats
GOATS-A
126
25
Imo
FARM-046883
2022-10-25
poultry
POULTRY-LOCAL
1,083
41
Jigawa
FARM-046907
2022-08-16
goats
GOATS-B
267
28
Zamfara
FARM-037966
2022-01-26
goats
GOATS-B
247
32
Jigawa
FARM-013840
2024-04-09
pigs
PIGS-A
342
24
Kebbi
FARM-007931
2023-11-11
sheep
SHEEP-B
178
1
Anambra
FARM-047524
2024-08-30
goats
GOATS-B
34
1
Edo
FARM-001117
2023-03-11
pigs
PIGS-A
342
17
Ondo
FARM-046277
2023-07-22
pigs
PIGS-B
208
6
Benue
FARM-000051
2023-11-15
cattle
CATTLE-B
143
12
Jigawa
FARM-045589
2022-12-07
cattle
CATTLE-LOCAL
153
11
Oyo
FARM-034471
2023-03-22
cattle
CATTLE-B
141
3
Niger
FARM-031276
2024-01-09
goats
GOATS-LOCAL
266
28
FCT
FARM-021714
2024-10-26
cattle
CATTLE-A
76
17
Osun
FARM-017150
2025-03-18
pigs
PIGS-B
206
1
Benue
FARM-038517
2024-05-13
goats
GOATS-LOCAL
176
21
Kwara
FARM-006230
2023-06-07
goats
GOATS-B
50
19
Abia
FARM-032670
2023-03-14
pigs
PIGS-B
329
20
Taraba
FARM-016869
2022-03-05
goats
GOATS-LOCAL
218
10
Plateau
FARM-025203
2023-11-07
sheep
SHEEP-B
27
25
Oyo
FARM-032137
2022-08-15
poultry
POULTRY-LOCAL
9,549
20
Oyo
FARM-012917
2024-02-25
sheep
SHEEP-LOCAL
112
32
Kwara
FARM-030308
2023-06-17
goats
GOATS-B
165
11
Cross River
FARM-012586
2025-03-06
poultry
POULTRY-B
8,043
29
Kebbi
FARM-034112
2025-01-30
goats
GOATS-LOCAL
217
13
Niger
FARM-043825
2023-08-02
pigs
PIGS-B
439
38
Oyo
FARM-007522
2025-03-05
goats
GOATS-B
201
11
Kaduna
FARM-023788
2022-07-22
cattle
CATTLE-A
38
14
Ondo
FARM-009250
2023-07-09
pigs
PIGS-LOCAL
462
22
Kaduna
FARM-030359
2023-12-18
pigs
PIGS-A
69
26
Adamawa
FARM-010279
2023-02-17
sheep
SHEEP-B
102
11
Zamfara
FARM-043347
2024-02-21
cattle
CATTLE-LOCAL
91
1
Sokoto
FARM-009956
2023-01-30
poultry
POULTRY-A
6,611
28
Ebonyi
FARM-039537
2023-06-24
pigs
PIGS-B
251
26
Kebbi
FARM-028864
2025-01-11
pigs
PIGS-A
123
13
Ebonyi
FARM-007857
2023-08-07
poultry
POULTRY-B
7,214
34
Osun
FARM-035307
2024-02-16
poultry
POULTRY-LOCAL
8,998
28
Yobe
FARM-027378
2024-07-22
sheep
SHEEP-A
245
28
Zamfara
FARM-031359
2023-07-16
cattle
CATTLE-B
33
25
Adamawa
FARM-016323
2023-04-28
cattle
CATTLE-A
117
32
Kwara
FARM-004756
2023-12-30
poultry
POULTRY-B
2,367
9
Ogun
FARM-004338
2023-11-07
sheep
SHEEP-B
249
47
Ogun
FARM-046927
2024-08-12
poultry
POULTRY-B
8,758
1
Nasarawa
FARM-032025
2022-06-13
cattle
CATTLE-A
89
2
Nasarawa
FARM-047165
2024-05-13
cattle
CATTLE-LOCAL
89
1
Nasarawa
FARM-014576
2023-08-19
poultry
POULTRY-LOCAL
9,210
1
Enugu
FARM-016016
2025-01-10
goats
GOATS-A
46
6
Sokoto
FARM-000526
2025-01-13
poultry
POULTRY-B
3,263
1
FCT
FARM-036480
2024-02-20
pigs
PIGS-A
126
15
Adamawa
FARM-043570
2024-08-07
poultry
POULTRY-A
7,199
1
Enugu
FARM-029560
2022-07-06
pigs
PIGS-LOCAL
182
2
Abia
FARM-018388
2022-04-25
poultry
POULTRY-LOCAL
6,722
1
Enugu
FARM-042714
2024-09-05
goats
GOATS-A
193
18
Ebonyi
FARM-001996
2024-08-12
pigs
PIGS-LOCAL
6
42
Osun
FARM-020396
2025-02-14
poultry
POULTRY-A
1,173
15
Osun
End of preview. Expand in Data Studio

Nigeria Agriculture – Livestock Inventory

Dataset Description

Farm livestock counts by type, breed, age, location.

Category: Livestock & Fisheries
Rows: 120,000
Format: CSV, Parquet
License: MIT
Synthetic: Yes (generated using reference data from FAO, NBS, NiMet, FMARD)

Dataset Structure

Schema

  • farm_id: string
  • date: string
  • animal_type: string
  • breed: string
  • count: integer
  • avg_age_months: integer
  • state: string

Sample Data

| farm_id     | date       | animal_type   | breed        |   count |   avg_age_months | state   |
|:------------|:-----------|:--------------|:-------------|--------:|-----------------:|:--------|
| FARM-020667 | 2023-11-28 | cattle        | CATTLE-B     |     185 |               43 | Delta   |
| FARM-024519 | 2023-12-25 | sheep         | SHEEP-LOCAL  |      89 |               17 | Kebbi   |
| FARM-029896 | 2025-02-24 | sheep         | SHEEP-LOCAL  |      38 |               30 | Bayelsa |
| FARM-028634 | 2022-12-17 | cattle        | CATTLE-LOCAL |      21 |               20 | Plateau |
| FARM-007711 | 2024-01-23 | cattle        | CATTLE-LOCAL |     169 |               21 | Imo     |

Data Generation Methodology

This dataset was synthetically generated using:

  1. Reference Sources:

    • FAO (Food and Agriculture Organization) - crop yields, production data
    • NBS (National Bureau of Statistics, Nigeria) - farm characteristics, surveys
    • NiMet (Nigerian Meteorological Agency) - weather patterns
    • FMARD (Federal Ministry of Agriculture and Rural Development) - extension guides
    • IITA (International Institute of Tropical Agriculture) - agronomic research
  2. Domain Constraints:

    • Crop calendars and phenology (planting/harvest windows)
    • Agro-ecological zone characteristics (Sahel, Sudan Savanna, Guinea Savanna, Rainforest)
    • Nigeria-specific realities (smallholder dominance, market dynamics, conflict zones)
    • Statistical distributions matching national agricultural patterns
  3. Quality Assurance:

    • Distribution testing (KS test, chi-square)
    • Correlation validation (rainfall-yield, fertilizer-yield, yield-price)
    • Causal consistency (DAG-based generation)
    • Multi-scale coherence (farm → state aggregations)
    • Ethical considerations (representative, unbiased)

See QUALITY_ASSURANCE.md in the repository for full methodology.

Use Cases

  • Machine Learning: Yield prediction, price forecasting, pest detection, supply chain optimization
  • Policy Analysis: Agricultural program evaluation, subsidy impact assessment, food security planning
  • Research: Climate-agriculture interactions, market dynamics, technology adoption patterns
  • Education: Teaching agricultural economics, data science applications in agriculture

Limitations

  • Synthetic data: While grounded in real distributions, individual records are not real observations
  • Simplified dynamics: Some complex interactions (e.g., multi-generational pest populations) are simplified
  • Temporal scope: Covers 2022-2025; may not reflect longer-term trends or future climate scenarios
  • Spatial resolution: State/LGA level; does not capture micro-level heterogeneity within localities

Citation

If you use this dataset, please cite:

@dataset{nigeria_agriculture_2025,
  title = {Nigeria Agriculture – Livestock Inventory},
  author = {Electric Sheep Africa},
  year = {2025},
  publisher = {Hugging Face},
  url = {https://huggingface.co/datasets/electricsheepafrica/nigerian_agriculture_livestock_inventory}
}

Related Datasets

This dataset is part of the Nigeria Agriculture & Food Systems collection:

Contact

For questions, feedback, or collaboration:

Changelog

Version 1.0.0 (October 2025)

  • Initial release
  • 120,000 synthetic records
  • Quality-assured using FAO/NBS/NiMet reference data
Downloads last month
26

Collection including electricsheepafrica/nigerian_agriculture_livestock_inventory