Updates README
Browse files
README.md
CHANGED
|
@@ -1,97 +1,70 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
[](https://doi.org/10.5281/zenodo.17264782)
|
| 3 |
|
| 4 |
-
|
| 5 |
-
**
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
- **File:** `data/cs2_playstyle_roles_2024.csv`
|
| 9 |
-
- **Rows:** players (unique by `steamid`)
|
| 10 |
-
- **Key features:** opening attempts (OAP), trading behaviour (PODT/POKT), time-alive-per-death (TAPD), and positioning **team-relative ranking** metrics (ADNT/ADAT), plus per-side and overall role labels.
|
| 11 |
-
|
| 12 |
-
> **License:** CC BY 4.0 (attribution required).
|
| 13 |
-
> **Credit:** dataset engineered with the help of the [`awpy`](https://github.com/pnxenopoulos/awpy) library; role labels derived from Harry Richards’ [(@NER0cs)](https://x.com/NER0cs) [Positions Database](https://public.tableau.com/app/profile/harry.richards4213/viz/OLDPositionsDatabaseArchived/PositionsDatabaseNER0cs) (credited below). Special Thanks!
|
| 14 |
|
| 15 |
---
|
| 16 |
|
| 17 |
-
##
|
| 18 |
|
| 19 |
-
|
| 20 |
-
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
- `podt_*` – % of deaths that were traded (0–100)
|
| 24 |
-
- `pokt_*` – % of kills that were trades (0–100)
|
| 25 |
-
- **Positioning (team-relative ranking, 0.2–1.0):**
|
| 26 |
-
- `adnt_rank_*` – relative rank for distance to nearest teammate
|
| 27 |
-
- `adat_rank_*` – relative rank for distance from team centre
|
| 28 |
-
- **Roles:** `role_t`, `role_ct`, `role_overall`
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
-
##
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
- For each map and team, per-player map-level means are converted to **team-relative ranking scores** in (0.2–1.0], where 0.2 ≈ closest to teammates and 1.0 ≈ furthest.
|
| 42 |
-
- Ranks are then **round-weighted across maps** to produce `*_t`, `*_ct`, and `*_overall`.
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
## Data coverage & limitations
|
| 47 |
-
|
| 48 |
-
- **Demo selection:** Demos were collected from professional Counter-Strike 2 matches played in 2024.
|
| 49 |
-
Only `.dem` files that were publicly available and successfully parsed by `awpy` were included.
|
| 50 |
-
Some matches may be absent if demos were missing, corrupted, or caused parse failures.
|
| 51 |
|
| 52 |
-
|
| 53 |
-
Role data come from [Harry Richards’ Positions Database](https://public.tableau.com/app/profile/harryrichards);
|
| 54 |
-
players or teams not covered by that source are left blank in the `role_t`, `role_ct`, and `role_overall` columns.
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
---
|
| 58 |
|
| 59 |
-
##
|
| 60 |
|
| 61 |
-
**Python (pandas)**
|
| 62 |
```python
|
| 63 |
import pandas as pd
|
| 64 |
df = pd.read_csv("data/cs2_playstyle_roles_2024.csv")
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
**R (readr)**
|
| 68 |
-
```r
|
| 69 |
-
library(readr)
|
| 70 |
-
df <- read_csv("data/cs2_playstyle_roles_2024.csv")
|
| 71 |
```
|
| 72 |
|
| 73 |
---
|
| 74 |
|
| 75 |
-
##
|
| 76 |
-
|
| 77 |
-
- **License:** Creative Commons **CC BY 4.0** (see `LICENSE`). You may use, share, and adapt with attribution.
|
| 78 |
-
- **Please attribute:**
|
| 79 |
-
- Jamie Packer (this repo).
|
| 80 |
-
- [**awpy**](https://github.com/pnxenopoulos/awpy) (demo parsing).
|
| 81 |
-
- [**Harry Richards’ Positions Database**](https://public.tableau.com/app/profile/harry.richards4213/viz/OLDPositionsDatabaseArchived/PositionsDatabaseNER0cs) (source for role labels).
|
| 82 |
-
|
| 83 |
-
Suggested attribution line:
|
| 84 |
-
> “This work uses the CS2 Playstyle & Roles Dataset (2024), created by Jamie Packer, generated using awpy; role labels adapted from Harry Richards’ Positions Database. Licensed under CC BY 4.0.”
|
| 85 |
-
|
| 86 |
-
---
|
| 87 |
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
If you create a paper, post, or tool using this dataset, please cite the repository.
|
| 91 |
-
Please also credit [**Harry Richards’ Positions Database**](https://public.tableau.com/app/profile/harry.richards4213/viz/OLDPositionsDatabaseArchived/PositionsDatabaseNER0cs) when roles are used.
|
| 92 |
-
|
| 93 |
-
```
|
| 94 |
-
Jamie Packer (2024). CS2 Playstyle & Roles Dataset (2024). GitHub repository.
|
| 95 |
-
```
|
| 96 |
|
|
|
|
| 97 |
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- cs2
|
| 7 |
+
- counter-strike
|
| 8 |
+
- esports
|
| 9 |
+
- gaming
|
| 10 |
+
pretty_name: CS2 Playstyle Dataset (2024)
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
| 13 |
+
---
|
| 14 |
+
# CS2 Playstyle Dataset (2024)
|
| 15 |
[](https://doi.org/10.5281/zenodo.17264782)
|
| 16 |
|
| 17 |
+
**Author:** Jamie Packer
|
| 18 |
+
**License:** [CC BY 4.0](LICENSE)
|
| 19 |
+
**Source:** [GitHub Repository](https://github.com/Jamie-Packer/cs2-playstyle-dataset-2024)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
---
|
| 22 |
|
| 23 |
+
## Overview
|
| 24 |
|
| 25 |
+
This dataset captures **player playstyle features and role labels** from professional Counter-Strike 2 matches in 2024.
|
| 26 |
+
It includes aggregated player-level metrics describing opening attempts, trading behaviour, time-alive-per-death,
|
| 27 |
+
and **team-relative positioning features** (ADNT, ADAT) derived from parsed demo files using
|
| 28 |
+
[`awpy`](https://github.com/pnxenopoulos/awpy).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
+
Designed for clustering, player profiling, and role-based analysis.
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
+
## Contents
|
| 35 |
|
| 36 |
+
| File | Description |
|
| 37 |
+
|------|--------------|
|
| 38 |
+
| `data/cs2_playstyle_roles_2024.csv` | Main dataset (player-level records). |
|
| 39 |
+
| `docs/DATA_DICTIONARY.md` | Feature definitions and schema. |
|
| 40 |
+
| `LICENSE` | Creative Commons Attribution 4.0 International. |
|
|
|
|
|
|
|
| 41 |
|
| 42 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
+
## Data coverage
|
|
|
|
|
|
|
| 45 |
|
| 46 |
+
- **Demos:** Professional matches played in 2024, parsed with `awpy`.
|
| 47 |
+
Some demos are excluded if missing or failed to parse.
|
| 48 |
+
- **Roles:** Adapted from [Harry Richards’ Positions Database](https://public.tableau.com/app/profile/harry.richards4213/viz/OLDPositionsDatabaseArchived/PositionsDatabaseNER0cs).
|
| 49 |
+
Players not covered in that source are left blank in `role_t`, `role_ct`, or `role_overall`.
|
| 50 |
|
| 51 |
---
|
| 52 |
|
| 53 |
+
## Quick start
|
| 54 |
|
|
|
|
| 55 |
```python
|
| 56 |
import pandas as pd
|
| 57 |
df = pd.read_csv("data/cs2_playstyle_roles_2024.csv")
|
| 58 |
+
df.head()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
```
|
| 60 |
|
| 61 |
---
|
| 62 |
|
| 63 |
+
## Citation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
+
If you use this dataset, please cite:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
+
> Jamie Packer (2024). *CS2 Playstyle Dataset (2024).* Zenodo. [DOI: 10.5281/zenodo.17264782](https://doi.org/10.5281/zenodo.17264782)
|
| 68 |
|
| 69 |
+
Also credit [Harry Richards’ Positions Database](https://public.tableau.com/app/profile/harry.richards4213/viz/OLDPositionsDatabaseArchived/PositionsDatabaseNER0cs)
|
| 70 |
+
when using the role labels.
|