lucyi-morn commited on
Commit
d0c283c
·
verified ·
1 Parent(s): ea25c05

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - tabular
13
+ - csv
14
+ - africa
15
+ - djibouti
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 (Djibouti official open data)"
24
+ ---
25
+
26
+ # Small Business Surveys - Aggregated Data | Africa (Djibouti official open data)
27
+
28
+ 19,050 rows - 1 Africa country - 2020 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-19050-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 **Djibouti** 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_december_data_aggregate_weighted_smb.csv](https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/resource/16dac718-c134-4203-b107-1b44b8e4834f/download/fob_2020_december_data_aggregate_weighted_smb.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
+ | `DJI` | 19,050 | 2020 | 2020 | `Djibouti` |
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. | `16dac718-c134-4203-b107-1b44b8e4834f:0` |
68
+ | `country_iso3` | `category` | ISO3 country code. | `DJI` |
69
+ | `country_name` | `category` | Country name. | `Djibouti` |
70
+ | `year` | `Int64` | Observation year. | `2020` |
71
+ | `variable` | `string` | Source column. | `bus_cur_opn` |
72
+ | `value` | `string` | Numeric observation value. | `No` |
73
+ | `pop` | `string` | Source column. | `overall_owner_manager` |
74
+ | `logged_iso2` | `string` | Source column. | `AE` |
75
+ | `mean_w` | `float64` | Source column. | `0.277248966` |
76
+ | `se_w` | `float64` | Source column. | `0.045615388` |
77
+ | `count` | `int64` | Source column. | `53` |
78
+ | `question_n` | `int64` | Source column. | `181` |
79
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2020` |
80
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2020` |
81
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2020` |
82
+ | `source_provider` | `category` | Publishing organization. | `AI for Good at Meta` |
83
+ | `source_dataset` | `category` | Source package title. | `Small Business Surveys - Aggregated Data` |
84
+ | `source_resource` | `category` | Source resource title. | `fob_2020_december_data_aggregate_weighted_smb.csv` |
85
+ | `source_package_id` | `category` | CKAN package UUID. | `8bd3d109-d33d-4349-90c4-464c9d7ccb66` |
86
+ | `source_resource_id` | `category` | CKAN resource UUID. | `16dac718-c134-4203-b107-1b44b8e4834f` |
87
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/re` |
88
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
89
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-16T10:32:57Z` |
90
+
91
+ ## Usage
92
+
93
+ ```python
94
+ from datasets import load_dataset
95
+
96
+ ds = load_dataset("electricsheepafrica/africa-djibouti-small-business-surveys-aggregated-data-5585fbc1")
97
+ df = ds["train"].to_pandas()
98
+ print(df.head())
99
+ ```
100
+
101
+ ### Filter to one country
102
+
103
+ ```python
104
+ sample_country = df[df["country_iso3"] == "DJI"]
105
+ ```
106
+
107
+ ### Work with indicators
108
+
109
+ ```python
110
+ if "indicator_id" in df.columns:
111
+ print(df["indicator_id"].value_counts().head())
112
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
113
+ ```
114
+
115
+ ## Citation
116
+
117
+ ```bibtex
118
+ @misc{electric_sheep_africa_africa_djibouti_small_business_surveys_aggregated_data_5585fbc1_2020,
119
+ title = {Small Business Surveys - Aggregated Data | Africa (Djibouti official open data)},
120
+ author = {AI for Good at Meta},
121
+ year = {2020},
122
+ url = {https://data.humdata.org/dataset/future-of-business-survey-aggregated-data},
123
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
124
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-djibouti-small-business-surveys-aggregated-data-5585fbc1}}
125
+ }
126
+ ```
127
+
128
+ ## License
129
+
130
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
131
+
132
+ Original data (c) AI for Good at Meta. When using this dataset, please cite both the
133
+ original source above and the Electric Sheep Africa repackaging.
134
+
135
+ ## About Electric Sheep
136
+
137
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
138
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
139
+ open sources, normalize the schemas, package as Parquet, and publish with
140
+ consistent dataset cards so researchers and developers can use `load_dataset()`
141
+ to start working in seconds.
142
+
143
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
144
+
145
+ ---
146
+
147
+ Provenance: ingested 2026-08-16 via the Electric Sheep pipeline. Source URL:
148
+ https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/resource/16dac718-c134-4203-b107-1b44b8e4834f/download/fob_2020_december_data_aggregate_weighted_smb.csv
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:193ebb0c42762b2a806f401b2f525a9c670d2ed52349b4337ce1a45f10de042d
3
+ size 432500
metadata/source_snapshot.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "year",
7
+ "variable",
8
+ "value",
9
+ "pop",
10
+ "logged_iso2",
11
+ "mean_w",
12
+ "se_w",
13
+ "count",
14
+ "question_n",
15
+ "source_period_start_year",
16
+ "source_period_end_year",
17
+ "source_period_label",
18
+ "source_provider",
19
+ "source_dataset",
20
+ "source_resource",
21
+ "source_package_id",
22
+ "source_resource_id",
23
+ "source_url",
24
+ "license_id",
25
+ "retrieved_at"
26
+ ],
27
+ "generated_at": "2026-08-16T11:11:11Z",
28
+ "indicator_count": 0,
29
+ "mode": "tabular_resource",
30
+ "repo_id": "electricsheepafrica/africa-djibouti-small-business-surveys-aggregated-data-5585fbc1",
31
+ "rows": 19050,
32
+ "source": {
33
+ "api_base_url": "https://data.humdata.org/api/3/action",
34
+ "country_iso3": "DJI",
35
+ "country_name": "Djibouti",
36
+ "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",
37
+ "license_id": "cc-by",
38
+ "license_title": "Creative Commons Attribution International (CC BY)",
39
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
40
+ "organization_name": "meta",
41
+ "organization_title": "AI for Good at Meta",
42
+ "package_id": "8bd3d109-d33d-4349-90c4-464c9d7ccb66",
43
+ "package_name": "future-of-business-survey-aggregated-data",
44
+ "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.",
45
+ "package_page_url": "https://data.humdata.org/dataset/future-of-business-survey-aggregated-data",
46
+ "package_title": "Small Business Surveys - Aggregated Data",
47
+ "portal_url": "https://data.humdata.org",
48
+ "resource_description": "Country level data for the semi-annual Future of Business Survey, fielded in December 2020",
49
+ "resource_format": "CSV",
50
+ "resource_id": "16dac718-c134-4203-b107-1b44b8e4834f",
51
+ "resource_last_modified": "2021-12-16T19:01:53.216822",
52
+ "resource_name": "fob_2020_december_data_aggregate_weighted_smb.csv",
53
+ "resource_position": "14",
54
+ "resource_url": "https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/resource/16dac718-c134-4203-b107-1b44b8e4834f/download/fob_2020_december_data_aggregate_weighted_smb.csv",
55
+ "tag_names": "covid-19,economics,gender,trade,water sanitation and hygiene-wash"
56
+ },
57
+ "year_max": 2020,
58
+ "year_min": 2020
59
+ }