File size: 1,176 Bytes
5d8f990
 
 
0ff6241
 
5d8f990
0ff6241
5d8f990
0ff6241
d8a892f
0ff6241
 
 
 
 
5d8f990
 
 
 
0ff6241
5d8f990
 
 
 
 
8b2bc26
0ff6241
 
 
d8a892f
8023b71
d8a892f
8023b71
0ff6241
8023b71
5d8f990
 
 
 
 
 
0ff6241
5d8f990
d8a892f
8023b71
 
 
 
 
 
5d8f990
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
license: mit
task_categories:
  - other
  - text-classification
language:
  - en
size_categories:
  - 1M<n<10M
tags:
  - wikipedia
  - pageviews
  - popularity
  - knowledge-graph
  - bias-detection
---

# English Wikipedia Pageviews 2022 (Monthly Average)

This dataset links Wikipedia article IDs (from the 1st September 2019 Wikipedia dump) to their average monthly pageview counts recorded during 2022.

## Features

| Column | Type | Description |
|--------|------|-------------|
| `wikipedia_id` | int64 | Wikipedia article ID (page_id) |
| `wikipedia_title` | string | Wikipedia article title |
| `popularity_avg` | float64 | Average monthly pageviews across 2022 |
| `rank_avg` | float64 | Average rank of the article |

## Stats

- **Articles**: 6.4M Wikipedia articles
- **Source**: Wikimedia pageview dumps for 2022
- **Split**: 90% train / 10% test (seed=42)

## Usage

```python
from datasets import load_dataset

ds = load_dataset("Cyro1/enwiki_pageviews_2021_m")
df = ds["train"].to_pandas()

# Merge with your dataset
merged = your_df.merge(
    df[["wikipedia_id", "monthly_avg_pageviews"]], 
    left_on="document_id", 
    right_on="wikipedia_id"
)
```