Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: other
|
| 5 |
+
license_name: world-bank-microdata-terms
|
| 6 |
+
license_link: https://microdata.worldbank.org/index.php/terms-of-use
|
| 7 |
+
tags:
|
| 8 |
+
- agriculture
|
| 9 |
+
- financial-inclusion
|
| 10 |
+
- survey-data
|
| 11 |
+
- smallholder-farmers
|
| 12 |
+
- africa
|
| 13 |
+
- nigeria
|
| 14 |
+
- tabular
|
| 15 |
+
pretty_name: "CGAP Smallholder Survey - Nigeria 2016"
|
| 16 |
+
size_categories:
|
| 17 |
+
- 1K<n<10K
|
| 18 |
+
task_categories:
|
| 19 |
+
- tabular-classification
|
| 20 |
+
- tabular-regression
|
| 21 |
+
dataset_info:
|
| 22 |
+
- config_name: household
|
| 23 |
+
splits:
|
| 24 |
+
- name: train
|
| 25 |
+
num_examples: 3026
|
| 26 |
+
- config_name: single
|
| 27 |
+
splits:
|
| 28 |
+
- name: train
|
| 29 |
+
num_examples: 2773
|
| 30 |
+
- config_name: multiple
|
| 31 |
+
splits:
|
| 32 |
+
- name: train
|
| 33 |
+
num_examples: 5128
|
| 34 |
+
configs:
|
| 35 |
+
- config_name: household
|
| 36 |
+
data_files: household.parquet
|
| 37 |
+
- config_name: single
|
| 38 |
+
data_files: single.parquet
|
| 39 |
+
- config_name: multiple
|
| 40 |
+
data_files: multiple.parquet
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
# CGAP Smallholder Household Survey - Nigeria (2016)
|
| 44 |
+
|
| 45 |
+
## Dataset Description
|
| 46 |
+
|
| 47 |
+
Nationally representative household survey of smallholder farming families in **Nigeria**, conducted by the Consultative Group to Assist the Poor (CGAP) in 2016.
|
| 48 |
+
|
| 49 |
+
### Dataset Summary
|
| 50 |
+
|
| 51 |
+
| Metric | Value |
|
| 52 |
+
|--------|-------|
|
| 53 |
+
| **Country** | Nigeria |
|
| 54 |
+
| **Year** | 2016 |
|
| 55 |
+
| **Households Surveyed** | ~3,000 |
|
| 56 |
+
| **Total Records** | 10,927 |
|
| 57 |
+
|
| 58 |
+
### Tables
|
| 59 |
+
|
| 60 |
+
| Table | Rows | Columns | Description |
|
| 61 |
+
|-------|------|---------|-------------|
|
| 62 |
+
| `household` | 3,026 | 272 | Household-level characteristics |
|
| 63 |
+
| `single` | 2,773 | 1,223 | Single respondent detailed survey |
|
| 64 |
+
| `multiple` | 5,128 | 471 | Repeated measures (members, plots, livestock) |
|
| 65 |
+
|
| 66 |
+
## Usage
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
from datasets import load_dataset
|
| 70 |
+
|
| 71 |
+
# Load household-level data
|
| 72 |
+
household = load_dataset("electricsheepafrica/cgap-smallholder-survey-nigeria-2016", "household", split="train")
|
| 73 |
+
|
| 74 |
+
# Load single respondent data
|
| 75 |
+
single = load_dataset("electricsheepafrica/cgap-smallholder-survey-nigeria-2016", "single", split="train")
|
| 76 |
+
|
| 77 |
+
# Load multiple respondent data
|
| 78 |
+
multiple = load_dataset("electricsheepafrica/cgap-smallholder-survey-nigeria-2016", "multiple", split="train")
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
### With Pandas
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
import pandas as pd
|
| 85 |
+
df = pd.read_parquet("hf://datasets/electricsheepafrica/cgap-smallholder-survey-nigeria-2016/household.parquet")
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
## Features
|
| 89 |
+
|
| 90 |
+
The dataset covers:
|
| 91 |
+
|
| 92 |
+
- **Demographics**: Household composition, age, gender, education levels
|
| 93 |
+
- **Agriculture**: Crops cultivated, land holdings, livestock, farming practices
|
| 94 |
+
- **Financial Services**: Bank accounts, mobile money usage, savings groups, credit access
|
| 95 |
+
- **Income & Expenditure**: Income sources, consumption patterns
|
| 96 |
+
- **Assets**: Household and productive assets
|
| 97 |
+
- **Shocks**: Economic shocks and coping mechanisms
|
| 98 |
+
|
| 99 |
+
## Suggested ML Tasks
|
| 100 |
+
|
| 101 |
+
- Financial inclusion prediction (binary classification)
|
| 102 |
+
- Income/wealth classification
|
| 103 |
+
- Household segmentation (clustering)
|
| 104 |
+
- Agricultural productivity prediction
|
| 105 |
+
- Vulnerability/poverty risk assessment
|
| 106 |
+
|
| 107 |
+
## Source
|
| 108 |
+
|
| 109 |
+
- **Publisher**: Consultative Group to Assist the Poor (CGAP)
|
| 110 |
+
- **Host**: World Bank Microdata Library
|
| 111 |
+
- **URL**: https://www.cgap.org/research/data/smallholder-families-data-hub
|
| 112 |
+
|
| 113 |
+
## Citation
|
| 114 |
+
|
| 115 |
+
```bibtex
|
| 116 |
+
@misc{cgap_smallholder_nga_2016,
|
| 117 |
+
title={CGAP Smallholder Families Household Survey - Nigeria},
|
| 118 |
+
author={{Consultative Group to Assist the Poor}},
|
| 119 |
+
year={2016},
|
| 120 |
+
publisher={World Bank Microdata Library}
|
| 121 |
+
}
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
## License
|
| 125 |
+
|
| 126 |
+
Subject to World Bank Microdata Library [Terms of Use](https://microdata.worldbank.org/index.php/terms-of-use). Intended for research and educational purposes.
|