Kossiesa commited on
Commit
2029e26
·
verified ·
1 Parent(s): 428dd17

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-regression
7
+ - time-series-forecasting
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 10K<n<100K
11
+ tags:
12
+ - tabular
13
+ - xlsx
14
+ - africa
15
+ - chad
16
+ - official-statistics
17
+ - open-data
18
+ configs:
19
+ - config_name: default
20
+ data_files:
21
+ - split: train
22
+ path: data/train-00000-of-00001.parquet
23
+ pretty_name: "African Financial Survey Database, 2016 | Africa (Chad official open data)"
24
+ ---
25
+
26
+ # African Financial Survey Database, 2016 | Africa (Chad official open data)
27
+
28
+ 27,772 rows - 1 Africa country - 2005-2014 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-27772-blue)
31
+ ![countries](https://img.shields.io/badge/countries-1-green)
32
+ ![years](https://img.shields.io/badge/years-2005-2014-orange)
33
+ ![indicators](https://img.shields.io/badge/indicators-1-purple)
34
+ ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
35
+
36
+ ## TL;DR
37
+
38
+ This dataset packages one official `XLSX` resource from **Chad** as
39
+ ML-ready Parquet. The source file is the provenance boundary; all usable
40
+ indicators or tabular columns from the resource stay together in this repo.
41
+
42
+ ## About the source
43
+
44
+ - **Source:** [African Financial Survey Database, 2016](https://data.humdata.org/dataset/african-financial-survey-database-2016)
45
+ - **Publisher:** African Development Bank Group (inactive)
46
+ - **Resource:** [African Financial Survey.xlsx](https://data.humdata.org/dataset/b86e546e-c1ea-4c07-9d5e-4fcce746a127/resource/82781d9d-1e12-441c-a1f8-bdd682db5b83/download/african-financial-survey.xlsx)
47
+ - **Format:** `XLSX`
48
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
49
+ - **Packaging mode:** `indicator_long`
50
+
51
+ ## Geographic coverage
52
+
53
+ 1 Africa country:
54
+
55
+ | Country | Rows | First year | Last year | Name |
56
+ |---------|-----:|-----------:|----------:|------|
57
+ | `TCD` | 27,772 | 2005 | 2014 | `Chad` |
58
+
59
+ ## Indicators or Resource Contents
60
+
61
+ - `african-financial-survey-database-2016-8ebb7dee` - African Financial Survey Database, 2016
62
+
63
+ ## Schema
64
+
65
+ | Column | Type | Description | Example |
66
+ |--------|------|-------------|---------|
67
+ | `indicator_id` | `string` | Stable indicator identifier. | `african-financial-survey-database-2016-8ebb7dee` |
68
+ | `indicator_name` | `string` | Human-readable indicator name. | `African Financial Survey Database, 2016` |
69
+ | `country_iso3` | `string` | ISO3 country code. | `TCD` |
70
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Sheet1` |
71
+ | `country_name` | `string` | Country name. | `Chad` |
72
+ | `year` | `Int64` | Observation year. | `2005` |
73
+ | `value` | `float64` | Numeric observation value. | `33.960903` |
74
+ | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
75
+ | `dimension_countryname` | `string` | Source dimension. | `Algeria` |
76
+ | `dimension_pays` | `string` | Source dimension. | `Algérie` |
77
+ | `dimension_country` | `string` | Source dimension. | `DZA` |
78
+ | `dimension_capital` | `string` | Source dimension. | `Algiers` |
79
+ | `dimension_capitale` | `string` | Source dimension. | `Alger` |
80
+ | `dimension_currency` | `string` | Source dimension. | `Algerian Dinar` |
81
+ | `dimension_monnaie` | `string` | Source dimension. | `Dinar Algérien` |
82
+ | `dimension_region` | `string` | Source dimension. | `North Africa` |
83
+ | `dimension_indicator` | `string` | Source dimension. | `AF1` |
84
+ | `dimension_indicatorname` | `string` | Source dimension. | `Total Population - Million` |
85
+ | `dimension_unit` | `string` | Source dimension. | `Million` |
86
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2016` |
87
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2016` |
88
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2016` |
89
+ | `source_provider` | `category` | Publishing organization. | `African Development Bank Group (inactive)` |
90
+ | `source_dataset` | `category` | Source package title. | `African Financial Survey Database, 2016` |
91
+ | `source_resource` | `category` | Source resource title. | `African Financial Survey.xlsx` |
92
+ | `source_package_id` | `category` | CKAN package UUID. | `b86e546e-c1ea-4c07-9d5e-4fcce746a127` |
93
+ | `source_resource_id` | `category` | CKAN resource UUID. | `82781d9d-1e12-441c-a1f8-bdd682db5b83` |
94
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/b86e546e-c1ea-4c07-9d5e-4fcce746a127/re` |
95
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
96
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-10T22:51:43Z` |
97
+
98
+ ## Usage
99
+
100
+ ```python
101
+ from datasets import load_dataset
102
+
103
+ ds = load_dataset("electricsheepafrica/africa-chad-african-financial-survey-database-2016-cf495a06")
104
+ df = ds["train"].to_pandas()
105
+ print(df.head())
106
+ ```
107
+
108
+ ### Filter to one country
109
+
110
+ ```python
111
+ sample_country = df[df["country_iso3"] == "TCD"]
112
+ ```
113
+
114
+ ### Work with indicators
115
+
116
+ ```python
117
+ if "indicator_id" in df.columns:
118
+ print(df["indicator_id"].value_counts().head())
119
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
120
+ ```
121
+
122
+ ## Citation
123
+
124
+ ```bibtex
125
+ @misc{electric_sheep_africa_africa_chad_african_financial_survey_database_2016_cf495a06_2014,
126
+ title = {African Financial Survey Database, 2016 | Africa (Chad official open data)},
127
+ author = {African Development Bank Group (inactive)},
128
+ year = {2014},
129
+ url = {https://data.humdata.org/dataset/african-financial-survey-database-2016},
130
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
131
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-chad-african-financial-survey-database-2016-cf495a06}}
132
+ }
133
+ ```
134
+
135
+ ## License
136
+
137
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
138
+
139
+ Original data (c) African Development Bank Group (inactive). When using this dataset, please cite both the
140
+ original source above and the Electric Sheep Africa repackaging.
141
+
142
+ ## About Electric Sheep
143
+
144
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
145
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
146
+ open sources, normalize the schemas, package as Parquet, and publish with
147
+ consistent dataset cards so researchers and developers can use `load_dataset()`
148
+ to start working in seconds.
149
+
150
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
151
+
152
+ ---
153
+
154
+ Provenance: ingested 2026-08-11 via the Electric Sheep pipeline. Source URL:
155
+ https://data.humdata.org/dataset/b86e546e-c1ea-4c07-9d5e-4fcce746a127/resource/82781d9d-1e12-441c-a1f8-bdd682db5b83/download/african-financial-survey.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4420d93c9dd0742984f7c6bfd077252c57a4f7ca8a5bc15c5116e279740acfb2
3
+ size 246842
metadata/source_snapshot.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "indicator_id",
4
+ "indicator_name",
5
+ "country_iso3",
6
+ "source_sheet",
7
+ "country_name",
8
+ "year",
9
+ "value",
10
+ "unit",
11
+ "dimension_countryname",
12
+ "dimension_pays",
13
+ "dimension_country",
14
+ "dimension_capital",
15
+ "dimension_capitale",
16
+ "dimension_currency",
17
+ "dimension_monnaie",
18
+ "dimension_region",
19
+ "dimension_indicator",
20
+ "dimension_indicatorname",
21
+ "dimension_unit",
22
+ "source_period_start_year",
23
+ "source_period_end_year",
24
+ "source_period_label",
25
+ "source_provider",
26
+ "source_dataset",
27
+ "source_resource",
28
+ "source_package_id",
29
+ "source_resource_id",
30
+ "source_url",
31
+ "license_id",
32
+ "retrieved_at"
33
+ ],
34
+ "generated_at": "2026-08-11T01:37:25Z",
35
+ "indicator_count": 1,
36
+ "mode": "indicator_long",
37
+ "repo_id": "electricsheepafrica/africa-chad-african-financial-survey-database-2016-cf495a06",
38
+ "rows": 27772,
39
+ "source": {
40
+ "api_base_url": "https://data.humdata.org/api/3/action",
41
+ "country_iso3": "TCD",
42
+ "country_name": "Chad",
43
+ "group_names": "dza,ago,ben,bwa,bfa,bdi,cpv,cmr,caf,tcd,com,cog,civ,cod,dji,egy,gnq,eri,swz,eth,gab,gmb,gha,gin,gnb,ken,lso,lbr,lby,mdg,mwi,mli,mrt,mus,myt,mar,moz,nam,ner,nga,reu,rwa,shn,stp,sen,syc,sle,som,zaf,ssd,sdn,tgo,tun,uga,tza,esh,zmb,zwe",
44
+ "license_id": "cc-by",
45
+ "license_title": "Creative Commons Attribution International (CC BY)",
46
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
47
+ "organization_name": "afdb",
48
+ "organization_title": "African Development Bank Group (inactive)",
49
+ "package_id": "b86e546e-c1ea-4c07-9d5e-4fcce746a127",
50
+ "package_name": "african-financial-survey-database-2016",
51
+ "package_notes": "African Financial Survey Database, 2005-2014",
52
+ "package_page_url": "https://data.humdata.org/dataset/african-financial-survey-database-2016",
53
+ "package_title": "African Financial Survey Database, 2016",
54
+ "portal_url": "https://data.humdata.org",
55
+ "resource_description": "http://opendataforafrica.org/lhqjltd/african-financial-survey-database-2016",
56
+ "resource_format": "XLSX",
57
+ "resource_id": "82781d9d-1e12-441c-a1f8-bdd682db5b83",
58
+ "resource_last_modified": "2016-11-24T11:09:56.626643",
59
+ "resource_name": "African Financial Survey.xlsx",
60
+ "resource_position": "0",
61
+ "resource_url": "https://data.humdata.org/dataset/b86e546e-c1ea-4c07-9d5e-4fcce746a127/resource/82781d9d-1e12-441c-a1f8-bdd682db5b83/download/african-financial-survey.xlsx",
62
+ "tag_names": "africa,economics,gross domestic product-gdp"
63
+ },
64
+ "year_max": 2014,
65
+ "year_min": 2005
66
+ }