devmaxjasper commited on
Commit
2ea2e40
·
verified ·
1 Parent(s): ad231af

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -31
README.md CHANGED
@@ -1,10 +1,8 @@
1
  ---
2
  pretty_name: Spotify Public Playlists (Nov 2025)
3
  dataset_summary: >-
4
- CSV export of 91,906 Spotify public playlists captured from a PostgreSQL dump
5
- in November 2025, including playlist metadata, owner info, follower counts,
6
- cover images, JSON blobs with the raw Spotify payload, and historical
7
- snapshots.
8
  language:
9
  - en
10
  license: cc-by-4.0
@@ -21,31 +19,21 @@ task_categories:
21
 
22
  # Spotify Public Playlists (November 2025)
23
 
24
- This repository contains an open dataset with **91,906** Spotify playlists that
25
- were present in a PostgreSQL backup captured in **November 2025**. Each row
26
- represents a playlist and includes high-level metadata (name, owner, follower
27
- count), cover image URLs, JSON payloads with the full Spotify response, and
28
- various bookkeeping columns (status, popularity histograms, history, etc.).
29
-
30
- The public release ships as a ready-to-use CSV (`playlists.csv`, ~9 GB) plus
31
- supporting documentation. The original PostgreSQL dump and extractor script are
32
- kept private but can be shared on request for verification purposes.
33
-
34
- > ⚠️ **Attribution + ToS**: This dataset aggregates Spotify metadata originally
35
- > provided via their APIs. Redistribution is offered under CC BY 4.0, but you are
36
- > responsible for complying with Spotify's terms of service and ensuring any
37
- > downstream use respects user privacy.
38
 
39
  ## Files
40
 
41
  | Path | Description |
42
  | --- | --- |
43
  | `playlists.csv` | Final 91,906-row CSV (17 columns, ~9 GB) with one playlist per row. |
 
44
  | `LICENSE` | CC BY 4.0 license text covering this dataset. |
45
 
46
- > The original SQL dump and exporter script remain private. Contact the
47
- > maintainer if you require the raw source data for verification.
48
-
49
  ## Schema
50
 
51
  | Column | Type | Notes |
@@ -68,16 +56,12 @@ kept private but can be shared on request for verification purposes.
68
  | `status` | string | ETL status flag from the upstream system. |
69
  | `popularity_distribution` | JSON (string) | Histogram of track popularity buckets. |
70
 
71
- ## Regenerating the CSV
72
-
73
- The private repository includes an extraction script that streams the SQL dump,
74
- filters the `public.playlists` table, and writes the CSV with progress
75
- reporting and batching. Reach out if you need access to reproduce the export.
76
-
77
  ## Loading the Dataset
78
 
79
  Once the CSV is available (locally or via Hugging Face), you can load it with
80
- your favorite data tooling:
 
 
81
 
82
  ```python
83
  import pandas as pd
@@ -97,13 +81,13 @@ chunked `pandas.read_csv(..., chunksize=10_000)`.
97
 
98
  1. **Create dataset repo**: `huggingface-cli repo create <namespace>/spotify-playlists-2025 --type dataset`.
99
  2. **Clone with Git LFS**: `GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/datasets/<namespace>/spotify-playlists-2025` then `cd` into it and run `git lfs install`.
100
- 3. **Copy assets**: Bring over `playlists.csv`, `README.md`, and `LICENSE`.
101
  4. **Track large files**: `git lfs track "*.csv" "*.sql"`. Commit the updated `.gitattributes`.
102
  5. **Push**: `git add . && git commit -m "Add Spotify playlists dataset" && git push`.
103
  6. **Add metadata**: The `README.md` you are reading doubles as the Hugging Face dataset card, so it will render on the hub automatically.
104
 
105
- Optional: Upload `playlists_full.sql` as a release artifact or keep it in LFS if
106
- you want to allow full reproducibility for others.
107
 
108
  ## License
109
 
 
1
  ---
2
  pretty_name: Spotify Public Playlists (Nov 2025)
3
  dataset_summary: >-
4
+ CSV export of 91,906 Spotify public playlists with playlist metadata, owner
5
+ info, follower counts, cover images, JSON payloads, and historical signals.
 
 
6
  language:
7
  - en
8
  license: cc-by-4.0
 
19
 
20
  # Spotify Public Playlists (November 2025)
21
 
22
+ This repository contains an open dataset with **91,906** Spotify playlists.
23
+ Each row represents a playlist and includes high-level metadata (name, owner,
24
+ follower count), cover image URLs, JSON payloads with the full Spotify
25
+ response, and various bookkeeping columns (status, popularity histograms,
26
+ history, etc.). The release ships as a ready-to-use CSV (`playlists.csv`,
27
+ ~9 GB) plus a small preview file for browsing.
 
 
 
 
 
 
 
 
28
 
29
  ## Files
30
 
31
  | Path | Description |
32
  | --- | --- |
33
  | `playlists.csv` | Final 91,906-row CSV (17 columns, ~9 GB) with one playlist per row. |
34
+ | `playlists_preview.csv` | 200-row slice (64 MB) for quick inspection / Hugging Face preview. |
35
  | `LICENSE` | CC BY 4.0 license text covering this dataset. |
36
 
 
 
 
37
  ## Schema
38
 
39
  | Column | Type | Notes |
 
56
  | `status` | string | ETL status flag from the upstream system. |
57
  | `popularity_distribution` | JSON (string) | Histogram of track popularity buckets. |
58
 
 
 
 
 
 
 
59
  ## Loading the Dataset
60
 
61
  Once the CSV is available (locally or via Hugging Face), you can load it with
62
+ your favorite data tooling. For quick experiments or to power the Hugging Face
63
+ table preview, use `playlists_preview.csv` (200 rows). When you need the full
64
+ corpus, switch to `playlists.csv`:
65
 
66
  ```python
67
  import pandas as pd
 
81
 
82
  1. **Create dataset repo**: `huggingface-cli repo create <namespace>/spotify-playlists-2025 --type dataset`.
83
  2. **Clone with Git LFS**: `GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/datasets/<namespace>/spotify-playlists-2025` then `cd` into it and run `git lfs install`.
84
+ 3. **Copy assets**: Bring over `playlists.csv`, `playlists_preview.csv`, `README.md`, and `LICENSE` (track the large CSVs with Git LFS).
85
  4. **Track large files**: `git lfs track "*.csv" "*.sql"`. Commit the updated `.gitattributes`.
86
  5. **Push**: `git add . && git commit -m "Add Spotify playlists dataset" && git push`.
87
  6. **Add metadata**: The `README.md` you are reading doubles as the Hugging Face dataset card, so it will render on the hub automatically.
88
 
89
+ Optional: Add any additional metadata files (schema diagrams, notebooks, etc.)
90
+ to enrich the dataset card and help users onboard faster.
91
 
92
  ## License
93