Kossiesa commited on
Commit
38ab047
·
verified ·
1 Parent(s): 3dfe436

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - n<1K
11
+ tags:
12
+ - tabular
13
+ - csv
14
+ - africa
15
+ - mali
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: "Small Business Surveys - Aggregated Data | Africa (Mali official open data)"
24
+ ---
25
+
26
+ # Small Business Surveys - Aggregated Data | Africa (Mali official open data)
27
+
28
+ 113 rows - 1 Africa country - 2020 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-113-blue)
31
+ ![countries](https://img.shields.io/badge/countries-1-green)
32
+ ![years](https://img.shields.io/badge/years-2020-orange)
33
+ ![indicators](https://img.shields.io/badge/indicators-0-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 `CSV` resource from **Mali** 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:** [Small Business Surveys - Aggregated Data](https://data.humdata.org/dataset/future-of-business-survey-aggregated-data)
45
+ - **Publisher:** AI for Good at Meta
46
+ - **Resource:** [fob_2020_june_aggregate_codebook.csv](https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/resource/23c6286b-7bda-4e10-9b57-9e5cd04b320c/download/fob_2020_june_aggregate_codebook.csv)
47
+ - **Format:** `CSV`
48
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
49
+ - **Packaging mode:** `tabular_resource`
50
+
51
+ ## Geographic coverage
52
+
53
+ 1 Africa country:
54
+
55
+ | Country | Rows | First year | Last year | Name |
56
+ |---------|-----:|-----------:|----------:|------|
57
+ | `MLI` | 113 | 2020 | 2020 | `Mali` |
58
+
59
+ ## Indicators or Resource Contents
60
+
61
+ - This source file is packaged as a normalized tabular resource.
62
+
63
+ ## Schema
64
+
65
+ | Column | Type | Description | Example |
66
+ |--------|------|-------------|---------|
67
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `23c6286b-7bda-4e10-9b57-9e5cd04b320c:0` |
68
+ | `country_iso3` | `category` | ISO3 country code. | `MLI` |
69
+ | `country_name` | `category` | Country name. | `Mali` |
70
+ | `year` | `Int64` | Observation year. | `2020` |
71
+ | `variable` | `string` | Source column. | `bus_age_yrs` |
72
+ | `question` | `string` | Source column. | `How long ago did this business open? Select one` |
73
+ | `possible_values` | `string` | Source column. | `5 years or more,More than 2 years but less than 5 years,Less than 1 year` |
74
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2020` |
75
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2020` |
76
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2020` |
77
+ | `source_provider` | `category` | Publishing organization. | `AI for Good at Meta` |
78
+ | `source_dataset` | `category` | Source package title. | `Small Business Surveys - Aggregated Data` |
79
+ | `source_resource` | `category` | Source resource title. | `fob_2020_june_aggregate_codebook.csv` |
80
+ | `source_package_id` | `category` | CKAN package UUID. | `8bd3d109-d33d-4349-90c4-464c9d7ccb66` |
81
+ | `source_resource_id` | `category` | CKAN resource UUID. | `23c6286b-7bda-4e10-9b57-9e5cd04b320c` |
82
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/re` |
83
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
84
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-12T23:12:09Z` |
85
+
86
+ ## Usage
87
+
88
+ ```python
89
+ from datasets import load_dataset
90
+
91
+ ds = load_dataset("electricsheepafrica/africa-mali-small-business-surveys-aggregated-data-5e2e2679")
92
+ df = ds["train"].to_pandas()
93
+ print(df.head())
94
+ ```
95
+
96
+ ### Filter to one country
97
+
98
+ ```python
99
+ sample_country = df[df["country_iso3"] == "MLI"]
100
+ ```
101
+
102
+ ### Work with indicators
103
+
104
+ ```python
105
+ if "indicator_id" in df.columns:
106
+ print(df["indicator_id"].value_counts().head())
107
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
108
+ ```
109
+
110
+ ## Citation
111
+
112
+ ```bibtex
113
+ @misc{electric_sheep_africa_africa_mali_small_business_surveys_aggregated_data_5e2e2679_2020,
114
+ title = {Small Business Surveys - Aggregated Data | Africa (Mali official open data)},
115
+ author = {AI for Good at Meta},
116
+ year = {2020},
117
+ url = {https://data.humdata.org/dataset/future-of-business-survey-aggregated-data},
118
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
119
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mali-small-business-surveys-aggregated-data-5e2e2679}}
120
+ }
121
+ ```
122
+
123
+ ## License
124
+
125
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
126
+
127
+ Original data (c) AI for Good at Meta. When using this dataset, please cite both the
128
+ original source above and the Electric Sheep Africa repackaging.
129
+
130
+ ## About Electric Sheep
131
+
132
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
133
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
134
+ open sources, normalize the schemas, package as Parquet, and publish with
135
+ consistent dataset cards so researchers and developers can use `load_dataset()`
136
+ to start working in seconds.
137
+
138
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
139
+
140
+ ---
141
+
142
+ Provenance: ingested 2026-08-13 via the Electric Sheep pipeline. Source URL:
143
+ https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/resource/23c6286b-7bda-4e10-9b57-9e5cd04b320c/download/fob_2020_june_aggregate_codebook.csv
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2745c46bb35288281795b66a35bf337d8c1ad45e58aa1722da7004ccb9cfb55
3
+ size 22113
metadata/source_snapshot.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "year",
7
+ "variable",
8
+ "question",
9
+ "possible_values",
10
+ "source_period_start_year",
11
+ "source_period_end_year",
12
+ "source_period_label",
13
+ "source_provider",
14
+ "source_dataset",
15
+ "source_resource",
16
+ "source_package_id",
17
+ "source_resource_id",
18
+ "source_url",
19
+ "license_id",
20
+ "retrieved_at"
21
+ ],
22
+ "generated_at": "2026-08-12T23:57:09Z",
23
+ "indicator_count": 0,
24
+ "mode": "tabular_resource",
25
+ "repo_id": "electricsheepafrica/africa-mali-small-business-surveys-aggregated-data-5e2e2679",
26
+ "rows": 113,
27
+ "source": {
28
+ "api_base_url": "https://data.humdata.org/api/3/action",
29
+ "country_iso3": "MLI",
30
+ "country_name": "Mali",
31
+ "group_names": "ago,arg,aus,bgd,bel,ben,bfa,bdi,cpv,khm,cmr,can,caf,tcd,chn,hkg,col,cri,civ,cze,cod,dnk,dji,ecu,egy,gnq,est,eth,fra,gab,gmb,deu,gha,grc,gin,gnb,hun,ind,idn,irq,irl,isr,ita,jpn,ken,lbn,lso,lbr,lby,mwi,mli,mrt,mus,mex,moz,mmr,nam,nld,ner,nga,nor,pak,per,phl,pol,prt,kor,reu,rou,rus,rwa,stp,sau,sen,syc,sle,sgp,zaf,esp,swe,che,twn,tha,tgo,tur,uga,are,gbr,tza,usa,vnm,zmb",
32
+ "license_id": "cc-by",
33
+ "license_title": "Creative Commons Attribution International (CC BY)",
34
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
35
+ "organization_name": "meta",
36
+ "organization_title": "AI for Good at Meta",
37
+ "package_id": "8bd3d109-d33d-4349-90c4-464c9d7ccb66",
38
+ "package_name": "future-of-business-survey-aggregated-data",
39
+ "package_notes": "More than 200 million businesses use Facebook globally. The goal of our Small Business Surveys has been to learn about the unique perspectives, challenges and opportunities of small and medium-sized businesses (SMBs). Through 2022, the Future of Business Survey and the Global State of Small Business (GSoSB) Survey were conducted in partnership with the World Bank and Organisation for Economic Cooperation and Development. Aggregated country level data for each survey wave is available to the public on HDX and controlled access microdata is available to Data for Good at Meta partners. Please visit https://ai.meta.com/ai-for-good/datasets/small-business-surveys/ to apply for access to microdata or contact aiforgood@meta.com for any questions. This dataset regularly updated until 2023-03-24 and is no longer expecting additional data.",
40
+ "package_page_url": "https://data.humdata.org/dataset/future-of-business-survey-aggregated-data",
41
+ "package_title": "Small Business Surveys - Aggregated Data",
42
+ "portal_url": "https://data.humdata.org",
43
+ "resource_description": "Codebook for the second wave of the COVID19 focused survey, fielded late June 2020",
44
+ "resource_format": "CSV",
45
+ "resource_id": "23c6286b-7bda-4e10-9b57-9e5cd04b320c",
46
+ "resource_last_modified": "2021-12-16T19:02:29.583168",
47
+ "resource_name": "fob_2020_june_aggregate_codebook.csv",
48
+ "resource_position": "25",
49
+ "resource_url": "https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/resource/23c6286b-7bda-4e10-9b57-9e5cd04b320c/download/fob_2020_june_aggregate_codebook.csv",
50
+ "tag_names": "covid-19,economics,gender,trade,water sanitation and hygiene-wash"
51
+ },
52
+ "year_max": 2020,
53
+ "year_min": 2020
54
+ }