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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- feature-extraction
|
| 5 |
+
- tabular-classification
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- music
|
| 10 |
+
- african-music
|
| 11 |
+
- clean
|
| 12 |
+
- curated
|
| 13 |
+
- tutorial
|
| 14 |
+
size_categories:
|
| 15 |
+
- n<1K
|
| 16 |
+
pretty_name: Spotify-Africa Analysis-Ready Tracks
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Spotify-Africa Analysis-Ready Tracks
|
| 20 |
+
|
| 21 |
+
## Dataset Description
|
| 22 |
+
|
| 23 |
+
Clean subset of 155 tracks from top 30 African artists, perfect for tutorials, demos, and quick analysis with high metadata quality.
|
| 24 |
+
|
| 25 |
+
### Dataset Details
|
| 26 |
+
|
| 27 |
+
- **Language:** English
|
| 28 |
+
- **License:** CC-BY-4.0 (Creative Commons Attribution 4.0 International)
|
| 29 |
+
- **Source:** Spotify Web API
|
| 30 |
+
- **Collection Period:** 2025
|
| 31 |
+
- **Geographic Coverage:** Africa (5 regions: West, East, Southern, Central, North)
|
| 32 |
+
|
| 33 |
+
## Dataset Structure
|
| 34 |
+
|
| 35 |
+
### Data Fields
|
| 36 |
+
|
| 37 |
+
This dataset includes comprehensive metadata about African music tracks and artists:
|
| 38 |
+
|
| 39 |
+
**Core Metadata:**
|
| 40 |
+
- Track identifiers (track_id, track_name, ISRC)
|
| 41 |
+
- Artist information (artist_id, artist_name, genres, popularity)
|
| 42 |
+
- Album details (album_id, album_name, album_type, release_date)
|
| 43 |
+
- Technical specs (duration_ms, explicit, preview_url)
|
| 44 |
+
|
| 45 |
+
**Enrichment Features:**
|
| 46 |
+
- **Regional metadata:** country, region inference
|
| 47 |
+
- **Temporal classifications:** release_era, release_decade, track_age_years
|
| 48 |
+
- **Popularity metrics:** popularity_tier, market_scope, region_popularity_percentile
|
| 49 |
+
- **Collaboration detection:** has_collab, collab_count
|
| 50 |
+
- **Genre consolidation:** primary_genre, genre_tags (15+ standardized African genres)
|
| 51 |
+
- **Streaming analytics:** streaming_potential (0-100 score), market_penetration
|
| 52 |
+
- **Duration categorization:** duration_category (Short/Standard/Long/Extended)
|
| 53 |
+
- **Track features:** track_name_length, has_parentheses, track_position
|
| 54 |
+
|
| 55 |
+
### Data Splits
|
| 56 |
+
|
| 57 |
+
This dataset contains a single split:
|
| 58 |
+
- **train:** All available data
|
| 59 |
+
|
| 60 |
+
### File Formats
|
| 61 |
+
|
| 62 |
+
- **CSV:** Human-readable format for general use
|
| 63 |
+
- **Parquet:** Compressed, type-safe format for efficient loading
|
| 64 |
+
|
| 65 |
+
## Usage
|
| 66 |
+
|
| 67 |
+
### Loading the Dataset
|
| 68 |
+
|
| 69 |
+
```python
|
| 70 |
+
from datasets import load_dataset
|
| 71 |
+
|
| 72 |
+
# Load dataset
|
| 73 |
+
dataset = load_dataset("electricsheepafrica/analysis_ready_tracks")
|
| 74 |
+
df = dataset['train'].to_pandas()
|
| 75 |
+
|
| 76 |
+
print(f"Loaded {len(df):,} rows")
|
| 77 |
+
print(df.head())
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
### Direct File Access
|
| 81 |
+
|
| 82 |
+
```python
|
| 83 |
+
import pandas as pd
|
| 84 |
+
|
| 85 |
+
# Load from CSV
|
| 86 |
+
df = pd.read_csv("hf://datasets/electricsheepafrica/analysis_ready_tracks/*.csv")
|
| 87 |
+
|
| 88 |
+
# Load from Parquet (faster)
|
| 89 |
+
df = pd.read_parquet("hf://datasets/electricsheepafrica/analysis_ready_tracks/*.parquet")
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
## Dataset Statistics
|
| 93 |
+
|
| 94 |
+
- **Data Quality:** 92% metadata completeness
|
| 95 |
+
- **Deduplication:** All tracks deduplicated across sources
|
| 96 |
+
- **Validation:** All Spotify IDs validated
|
| 97 |
+
- **Coverage:** Spans 67 years of African music (1958-2025)
|
| 98 |
+
|
| 99 |
+
## Research Applications
|
| 100 |
+
|
| 101 |
+
This dataset is ideal for:
|
| 102 |
+
|
| 103 |
+
- **Music Information Retrieval:** Genre classification, similarity detection
|
| 104 |
+
- **Machine Learning:** Popularity prediction, streaming success modeling
|
| 105 |
+
- **Network Analysis:** Artist collaboration patterns
|
| 106 |
+
- **Cultural Studies:** African music evolution and globalization
|
| 107 |
+
- **Market Research:** Regional preferences, distribution strategies
|
| 108 |
+
|
| 109 |
+
## Standardized Genres
|
| 110 |
+
|
| 111 |
+
The dataset includes 15+ consolidated African music genres:
|
| 112 |
+
|
| 113 |
+
- **Afrobeats** - Contemporary West African pop fusion
|
| 114 |
+
- **Amapiano** - South African house/jazz hybrid
|
| 115 |
+
- **Afropop** - Pan-African popular music
|
| 116 |
+
- **Afro House** - African electronic dance music
|
| 117 |
+
- **Highlife** - West African guitar-based music
|
| 118 |
+
- **Bongo Flava** - Tanzanian hip-hop/R&B fusion
|
| 119 |
+
- **Gqom** - South African electronic/house
|
| 120 |
+
- **Kwaito** - South African township music
|
| 121 |
+
- **Gengetone** - Kenyan hip-hop fusion
|
| 122 |
+
- **Afro-Fusion** - Contemporary genre-blending
|
| 123 |
+
- **Azonto** - Ghanaian dance music
|
| 124 |
+
- **Soukous** - Central African dance music
|
| 125 |
+
- **Mbalax** - Senegalese pop music
|
| 126 |
+
- **Afro Drill** - African drill rap
|
| 127 |
+
- **Alte** - Alternative Afrobeats
|
| 128 |
+
|
| 129 |
+
## Citation
|
| 130 |
+
|
| 131 |
+
If you use this dataset in your research, please cite:
|
| 132 |
+
|
| 133 |
+
```bibtex
|
| 134 |
+
@dataset{spotify_africa_analysis_ready_tracks_2025,
|
| 135 |
+
title={Spotify-Africa Analysis-Ready Tracks: African Music Metadata from Spotify},
|
| 136 |
+
author={Electric Sheep Africa},
|
| 137 |
+
year={2025},
|
| 138 |
+
publisher={Hugging Face},
|
| 139 |
+
howpublished={\url{https://huggingface.co/datasets/electricsheepafrica/analysis_ready_tracks}}
|
| 140 |
+
}
|
| 141 |
+
```
|
| 142 |
+
|
| 143 |
+
## License
|
| 144 |
+
|
| 145 |
+
This dataset is released under **CC BY 4.0** (Creative Commons Attribution 4.0 International).
|
| 146 |
+
|
| 147 |
+
**You are free to:**
|
| 148 |
+
- Share — copy and redistribute the material
|
| 149 |
+
- Adapt — remix, transform, and build upon the material
|
| 150 |
+
- Use commercially — for any purpose
|
| 151 |
+
|
| 152 |
+
**Under the following terms:**
|
| 153 |
+
- Attribution — You must give appropriate credit and indicate if changes were made
|
| 154 |
+
|
| 155 |
+
## Collection
|
| 156 |
+
|
| 157 |
+
This dataset is part of the **Spotify-Africa Music Research Collection**:
|
| 158 |
+
https://huggingface.co/collections/electricsheepafrica/spotify-africa-music-research-69038be619ca34d864018cda
|
| 159 |
+
|
| 160 |
+
### Related Datasets
|
| 161 |
+
|
| 162 |
+
Explore other datasets in the collection:
|
| 163 |
+
- **master_tracks** - Primary unified dataset (recommended)
|
| 164 |
+
- **tracks** - Main enriched tracks
|
| 165 |
+
- **artist_summary** - Artist-level aggregations
|
| 166 |
+
- **region_summary** - Regional statistics
|
| 167 |
+
- **analysis_ready_tracks** - Clean subset for tutorials
|
| 168 |
+
- **scaled_tracks** - Large-scale collection
|
| 169 |
+
- **popular_tracks** - Top hits
|
| 170 |
+
|
| 171 |
+
## Ethical Considerations
|
| 172 |
+
|
| 173 |
+
- **Data Source:** All data collected from public Spotify Web API
|
| 174 |
+
- **Privacy:** No user data or listening history included
|
| 175 |
+
- **Representation:** Strives for geographic and genre diversity
|
| 176 |
+
- **Bias:** May reflect Spotify's platform availability and market penetration in Africa
|
| 177 |
+
- **Cultural Sensitivity:** African music genres standardized with respect to local naming
|
| 178 |
+
|
| 179 |
+
## Contact
|
| 180 |
+
|
| 181 |
+
- **Organization:** Electric Sheep Africa
|
| 182 |
+
- **Repository:** https://huggingface.co/datasets/electricsheepafrica/analysis_ready_tracks
|
| 183 |
+
- **Collection:** https://huggingface.co/collections/electricsheepafrica/spotify-africa-music-research-69038be619ca34d864018cda
|
| 184 |
+
|
| 185 |
+
For questions or collaborations, please use the repository discussions or issues.
|
| 186 |
+
|
| 187 |
+
---
|
| 188 |
+
|
| 189 |
+
**Explore African Music. Celebrate Diversity. Amplify Voices.** 🌍🎵
|