reddit-subreddits / README.md
Binxk's picture
document null-metadata rows
d6f073f verified
|
Raw History Blame Contribute Delete
2.04 kB
---
license: mit
configs:
- config_name: default
data_files:
- split: train
path: data/*.parquet
---
# reddit-subreddits
One row per subreddit, derived from the January 2025 subreddit metadata files in
[Binxk/pushshift-reddit](https://huggingface.co/datasets/Binxk/pushshift-reddit).
## Contents
| source_type | subreddits |
|-------------|-----------:|
| public | 2,776,279 |
| restricted | 1,923,526 |
| private | 182,045 |
| other | 100 |
Total: 4,881,950 subreddits.
**Null-metadata rows:** about 1.5 million public rows have null `subscribers`,
`over18`, `quarantine`, and `lang` together. These are subreddits that existed at
some point but were banned, deleted, or unfetchable when the metadata was scraped
(January–February 2025); only their identity fields survive from historical
records. Filter with `WHERE subscribers IS NOT NULL` to keep subreddits that were
live at scrape time.
## Columns
| column | type | description |
|--------|------|-------------|
| display_name | string | subreddit name (no `r/` prefix) |
| id | string | Reddit base-36 identifier |
| title | string | sidebar title |
| created_utc | int64 | creation time, Unix seconds |
| subscribers | int64 | subscriber count at retrieval (null for private) |
| over18 | bool | not-safe-for-work flag |
| subreddit_type | string | public / restricted / private / … |
| quarantine | bool | quarantined at retrieval |
| lang | string | language code |
| url | string | `/r/<name>/` path |
| public_description | string | short public description |
| advertiser_category | string | Reddit ad category |
| retrieved_on | int64 | scrape time, Unix seconds |
| source_type | string | which source file the row came from |
## Example
```sql
SELECT display_name, subscribers
FROM 'hf://datasets/Binxk/reddit-subreddits/data/*.parquet'
ORDER BY subscribers DESC LIMIT 20;
```
Companion dataset: [Binxk/reddit-users](https://huggingface.co/datasets/Binxk/reddit-users)
— per-user monthly activity across all subreddits.