Datasets:
Standardize Electric Sheep Africa dataset card
Browse files
README.md
CHANGED
|
@@ -1,123 +1,143 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
|
|
|
|
|
|
| 3 |
task_categories:
|
| 4 |
- tabular-classification
|
| 5 |
- tabular-regression
|
| 6 |
-
|
| 7 |
-
- en
|
| 8 |
-
tags:
|
| 9 |
-
- financial-inclusion
|
| 10 |
-
- fintech
|
| 11 |
-
- africa
|
| 12 |
-
- synthetic-data
|
| 13 |
-
- sub-saharan-africa
|
| 14 |
-
- credit-access
|
| 15 |
-
- synthetic
|
| 16 |
size_categories:
|
| 17 |
- 10K<n<100K
|
| 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 |
-
| employment_status | string | Employment category |
|
| 64 |
-
| monthly_income_usd | float | Monthly income in USD |
|
| 65 |
-
| income_stability | int | Income stability score (1-10) |
|
| 66 |
-
| credit_history | string | Credit history quality |
|
| 67 |
-
| has_bank_account | int | Has bank account (0/1) |
|
| 68 |
-
| credit_score | int | Credit score (0-850) |
|
| 69 |
-
| credit_need | int | Needs credit (0/1) |
|
| 70 |
-
| preferred_credit_source | string | Preferred lender type |
|
| 71 |
-
| loan_amount_requested_usd | float | Requested loan amount |
|
| 72 |
-
| collateral_available | string | Collateral type |
|
| 73 |
-
| loan_purpose | string | Purpose of loan |
|
| 74 |
-
| approved | int | Loan approved (0/1) |
|
| 75 |
-
| loan_disbursed_usd | float | Disbursed loan amount |
|
| 76 |
-
| interest_rate | float | Annual interest rate |
|
| 77 |
-
| loan_term_months | int | Loan term in months |
|
| 78 |
-
| monthly_payment_usd | float | Monthly payment |
|
| 79 |
-
| repayment_status | string | Current repayment status |
|
| 80 |
-
| rejection_reason | string | Reason for rejection |
|
| 81 |
-
| scenario | string | Burden scenario label |
|
| 82 |
-
|
| 83 |
-
## Usage Example
|
| 84 |
|
| 85 |
```python
|
| 86 |
-
|
| 87 |
|
| 88 |
-
|
| 89 |
-
|
| 90 |
|
| 91 |
-
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
-
#
|
| 95 |
-
from sklearn.ensemble import RandomForestClassifier
|
| 96 |
-
from sklearn.model_selection import train_test_split
|
| 97 |
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
X = pd.get_dummies(seekers[features], drop_first=True)
|
| 101 |
-
y = seekers['approved']
|
| 102 |
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
|
|
|
| 106 |
```
|
| 107 |
|
| 108 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
|
| 110 |
-
-
|
| 111 |
-
-
|
| 112 |
-
-
|
| 113 |
-
-
|
| 114 |
|
| 115 |
## Citation
|
| 116 |
|
| 117 |
```bibtex
|
| 118 |
-
@
|
| 119 |
-
title={Credit Access Patterns
|
| 120 |
-
|
| 121 |
-
|
|
|
|
|
|
|
|
|
|
| 122 |
}
|
| 123 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
task_categories:
|
| 6 |
- tabular-classification
|
| 7 |
- tabular-regression
|
| 8 |
+
multilinguality: monolingual
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
size_categories:
|
| 10 |
- 10K<n<100K
|
| 11 |
+
tags:
|
| 12 |
+
- "africa"
|
| 13 |
+
- "electric-sheep-africa"
|
| 14 |
+
- "open-data"
|
| 15 |
+
- "metadata-backed"
|
| 16 |
+
- "economics-finance"
|
| 17 |
+
- "csv"
|
| 18 |
+
- "tabular"
|
| 19 |
+
- "text"
|
| 20 |
+
- "financial-inclusion"
|
| 21 |
+
- "fintech"
|
| 22 |
+
- "synthetic-data"
|
| 23 |
+
- "sub-saharan-africa"
|
| 24 |
+
- "credit-access"
|
| 25 |
+
- "synthetic"
|
| 26 |
+
- "financial"
|
| 27 |
+
pretty_name: "Africa Synth Financial Inclusion Credit Access Patterns Africa All | Africa (Electric Sheep Africa metadata inventory)"
|
| 28 |
---
|
| 29 |
|
| 30 |
+
# Africa Synth Financial Inclusion Credit Access Patterns Africa All | Africa (Electric Sheep Africa metadata inventory)
|
| 31 |
+
|
| 32 |
+
**Size category:** `10K<n<100K` - **Formats:** `csv` - **Sector:** economics_finance - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
|
| 33 |
+
|
| 34 |
+

|
| 35 |
+

|
| 36 |
+

|
| 37 |
+

|
| 38 |
+
|
| 39 |
+
## TL;DR
|
| 40 |
+
|
| 41 |
+
This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
|
| 42 |
+
|
| 43 |
+
## What This Dataset Covers
|
| 44 |
+
|
| 45 |
+
Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
|
| 46 |
+
|
| 47 |
+
Dataset context from the existing Hugging Face card: ⚠️ Synthetic dataset — Parameterized from published SSA literature, not real observations. Not suitable for empirical analysis or policy inference. Credit Access Patterns in Africa Synthetic dataset modeling credit access, approval, and repayment patterns across 15 Sub-Saharan African countries from 2018-2025. Dataset Description This dataset simulates individual-level credit seeking behavior, application outcomes, and repayment patterns. It captures the spectrum of… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-synth-financial-inclusion-credit-access-patterns-africa-all.
|
| 48 |
+
|
| 49 |
+
## Dataset Profile
|
| 50 |
+
|
| 51 |
+
| Field | Value |
|
| 52 |
+
|---|---|
|
| 53 |
+
| Hugging Face repo | [`electricsheepafrica/africa-synth-financial-inclusion-credit-access-patterns-africa-all`](https://huggingface.co/datasets/electricsheepafrica/africa-synth-financial-inclusion-credit-access-patterns-africa-all) |
|
| 54 |
+
| Sector | economics_finance |
|
| 55 |
+
| Topic tags | financial-inclusion, fintech, synthetic-data, sub-saharan-africa, credit-access, synthetic |
|
| 56 |
+
| Modalities | `tabular`, `text` |
|
| 57 |
+
| Formats | `csv` |
|
| 58 |
+
| Size category | `10K<n<100K` |
|
| 59 |
+
| Countries | Africa-wide or source-defined African coverage |
|
| 60 |
+
| ISO3 coverage | `not declared` |
|
| 61 |
+
| Last modified on HF | `2026-04-14 22:53:30+00:00` |
|
| 62 |
+
| Inventory snapshot | `2026-07-16T16:00:34Z` |
|
| 63 |
+
|
| 64 |
+
## How To Read This Dataset
|
| 65 |
+
|
| 66 |
+
- Start from the repository files and the dataset viewer when available.
|
| 67 |
+
- Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
|
| 68 |
+
- Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
|
| 69 |
+
- Preserve missing values until you have a defensible imputation rule.
|
| 70 |
+
|
| 71 |
+
## Usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
```python
|
| 74 |
+
from datasets import load_dataset
|
| 75 |
|
| 76 |
+
ds = load_dataset("electricsheepafrica/africa-synth-financial-inclusion-credit-access-patterns-africa-all")
|
| 77 |
+
print(ds)
|
| 78 |
|
| 79 |
+
split_name = next(iter(ds))
|
| 80 |
+
table = ds[split_name]
|
| 81 |
+
print(table.features)
|
| 82 |
+
print(table[:3])
|
| 83 |
+
```
|
| 84 |
|
| 85 |
+
### Convert To Pandas When Tabular
|
|
|
|
|
|
|
| 86 |
|
| 87 |
+
```python
|
| 88 |
+
from datasets import Dataset
|
|
|
|
|
|
|
| 89 |
|
| 90 |
+
first_split = ds[next(iter(ds))]
|
| 91 |
+
if isinstance(first_split, Dataset):
|
| 92 |
+
df = first_split.to_pandas()
|
| 93 |
+
print(df.head())
|
| 94 |
```
|
| 95 |
|
| 96 |
+
## Data Quality Notes
|
| 97 |
+
|
| 98 |
+
- This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
|
| 99 |
+
- Exact schema, row counts, and source files should be inspected in the repository data files.
|
| 100 |
+
- Metadata gaps from the inventory: country, upstream_publisher.
|
| 101 |
+
- Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
|
| 102 |
+
|
| 103 |
+
## Source And Provenance
|
| 104 |
+
|
| 105 |
+
- **Source context:** Electric Sheep Africa metadata inventory
|
| 106 |
+
- **Publisher/source attribution:** Public dataset metadata
|
| 107 |
+
- **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 108 |
+
- **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-synth-financial-inclusion-credit-access-patterns-africa-all](https://huggingface.co/datasets/electricsheepafrica/africa-synth-financial-inclusion-credit-access-patterns-africa-all)
|
| 109 |
+
- **Inventory retrieved at:** `2026-07-16T16:00:34Z`
|
| 110 |
+
|
| 111 |
+
## Suggested Analyses
|
| 112 |
|
| 113 |
+
- Inspect schema and missingness before modeling.
|
| 114 |
+
- Profile variables by geography, time, and subgroup columns where present.
|
| 115 |
+
- Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
|
| 116 |
+
- Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
|
| 117 |
|
| 118 |
## Citation
|
| 119 |
|
| 120 |
```bibtex
|
| 121 |
+
@misc{electric_sheep_africa_africa_synth_financial_inclusion_credit_access_patterns_africa_all_2026,
|
| 122 |
+
title = {Africa Synth Financial Inclusion Credit Access Patterns Africa All | Africa (Electric Sheep Africa metadata inventory)},
|
| 123 |
+
author = {Public dataset metadata},
|
| 124 |
+
year = {2026},
|
| 125 |
+
url = {https://huggingface.co/datasets/electricsheepafrica/africa-synth-financial-inclusion-credit-access-patterns-africa-all},
|
| 126 |
+
publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
|
| 127 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-synth-financial-inclusion-credit-access-patterns-africa-all}}
|
| 128 |
}
|
| 129 |
```
|
| 130 |
+
|
| 131 |
+
## License
|
| 132 |
+
|
| 133 |
+
Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
| 134 |
+
|
| 135 |
+
Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
|
| 136 |
+
|
| 137 |
+
## About Electric Sheep Africa
|
| 138 |
+
|
| 139 |
+
Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
|
| 140 |
+
|
| 141 |
+
---
|
| 142 |
+
|
| 143 |
+
Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.
|