Datasets:
Update dataset card for parquet format
Browse files
README.md
CHANGED
|
@@ -7,57 +7,56 @@ language:
|
|
| 7 |
tags:
|
| 8 |
- cricket
|
| 9 |
- cricsheet
|
| 10 |
-
-
|
| 11 |
- aicrix
|
| 12 |
size_categories:
|
| 13 |
- 1M<n<10M
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# AICrix — processed cricket data (
|
| 17 |
|
| 18 |
-
Processed cricket tables
|
| 19 |
|
| 20 |
## Files
|
| 21 |
|
| 22 |
| File | Description |
|
| 23 |
|------|-------------|
|
| 24 |
-
| `continents.
|
| 25 |
-
| `countries.
|
| 26 |
-
| `leagues.
|
| 27 |
-
| `seasons.
|
| 28 |
-
| `stages.
|
| 29 |
-
| `venues.
|
| 30 |
-
| `positions.
|
| 31 |
-
| `teams.
|
| 32 |
-
| `players.
|
| 33 |
-
| `squad.
|
| 34 |
-
| `officials.
|
| 35 |
-
| `fixtures.
|
| 36 |
-
| `fixture_dl_data.
|
| 37 |
-
| `runs.
|
| 38 |
-
| `batting_scoreboards.
|
| 39 |
-
| `bowling_scoreboards.
|
| 40 |
-
| `balls.
|
| 41 |
-
| `lineups.
|
| 42 |
-
| `standings.
|
| 43 |
-
| `team_rankings.
|
| 44 |
|
| 45 |
## Usage
|
| 46 |
|
| 47 |
```python
|
| 48 |
-
import
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
break
|
| 61 |
```
|
| 62 |
|
| 63 |
Download from the Hub:
|
|
@@ -74,4 +73,4 @@ hf download veloria-tech/aicrix --repo-type dataset --local-dir ./aicrix
|
|
| 74 |
|
| 75 |
## Source
|
| 76 |
|
| 77 |
-
Derived from Cricsheet JSON
|
|
|
|
| 7 |
tags:
|
| 8 |
- cricket
|
| 9 |
- cricsheet
|
| 10 |
+
- parquet
|
| 11 |
- aicrix
|
| 12 |
size_categories:
|
| 13 |
- 1M<n<10M
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# AICrix — processed cricket data (Parquet)
|
| 17 |
|
| 18 |
+
Processed cricket tables in **Apache Parquet** (ZSTD compression), using the **AICrix relational schema** (`db/migrations/001_cricket_schema.sql`).
|
| 19 |
|
| 20 |
## Files
|
| 21 |
|
| 22 |
| File | Description |
|
| 23 |
|------|-------------|
|
| 24 |
+
| `continents.parquet` | Continents |
|
| 25 |
+
| `countries.parquet` | Countries |
|
| 26 |
+
| `leagues.parquet` | Competitions |
|
| 27 |
+
| `seasons.parquet` | Seasons |
|
| 28 |
+
| `stages.parquet` | Tournament stages |
|
| 29 |
+
| `venues.parquet` | Venues |
|
| 30 |
+
| `positions.parquet` | Player positions |
|
| 31 |
+
| `teams.parquet` | Teams |
|
| 32 |
+
| `players.parquet` | Players |
|
| 33 |
+
| `squad.parquet` | Season squads |
|
| 34 |
+
| `officials.parquet` | Umpires / referees |
|
| 35 |
+
| `fixtures.parquet` | Matches |
|
| 36 |
+
| `fixture_dl_data.parquet` | D/L method rows |
|
| 37 |
+
| `runs.parquet` | Innings team scores |
|
| 38 |
+
| `batting_scoreboards.parquet` | Batting cards |
|
| 39 |
+
| `bowling_scoreboards.parquet` | Bowling cards |
|
| 40 |
+
| `balls.parquet` | Ball-by-ball (largest table) |
|
| 41 |
+
| `lineups.parquet` | Match lineups |
|
| 42 |
+
| `standings.parquet` | Table standings |
|
| 43 |
+
| `team_rankings.parquet` | ICC-style rankings |
|
| 44 |
|
| 45 |
## Usage
|
| 46 |
|
| 47 |
```python
|
| 48 |
+
import pandas as pd
|
| 49 |
+
|
| 50 |
+
fixtures = pd.read_parquet("fixtures.parquet")
|
| 51 |
+
print(fixtures[["id", "type", "starting_at"]].head())
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
With DuckDB (SQL over parquet):
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
import duckdb
|
| 58 |
+
|
| 59 |
+
duckdb.sql("SELECT id, type FROM 'fixtures.parquet' LIMIT 5").show()
|
|
|
|
| 60 |
```
|
| 61 |
|
| 62 |
Download from the Hub:
|
|
|
|
| 73 |
|
| 74 |
## Source
|
| 75 |
|
| 76 |
+
Derived from Cricsheet JSON (`data/raw` → NDJSON pipeline → Parquet export).
|