API AccessAccess dataset files directly from scripts, code, or AI agents.
Browse dataset files
Access dataset files directly from scripts, code, or AI agents.
Dataset Files
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
/core/primary-tumor/
https://datahub.io/core/primary-tumor/_r/-/README.md
https://datahub.io/core/primary-tumor/_r/-/UPDATE_SCRIPT_MAINTENANCE_REPORT.md
https://datahub.io/core/primary-tumor/_r/-/data/primary-tumor.csv
https://datahub.io/core/primary-tumor/_r/-/datapackage.json
Key Files
Start with these files — they give you everything you need to understand and access the dataset.
datapackage.json— metadata & schema
https://datahub.io/core/primary-tumor/_r/-/datapackage.json
README.md— documentation
https://datahub.io/core/primary-tumor/_r/-/README.md
Typical Usage
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Previews
primary-tumor
Loading data...
Schema
| name | type | format | description |
|---|---|---|---|
| age | string | default | <30, 30-59, >=60 |
| sex | string | default | female, male |
| histologic-type | string | default | epidermoid, adeno, anaplastic |
| degree-of-diffe | string | default | well, fairly, poorly |
| bone | boolean | default | |
| bone-marrow | boolean | default | |
| lung | boolean | default | |
| pleura | boolean | default | |
| peritoneum | boolean | default | |
| liver | boolean | default | |
| brain | boolean | default | |
| skin | boolean | default | |
| neck | boolean | default | |
| supraclavicular | boolean | default | |
| axillar | boolean | default | |
| mediastinum | boolean | default | |
| abdominal | boolean | default | |
| class | string | default | lung, head & neck, esophasus, thyroid, stomach, duoden & sm.int, colon, rectum, anus, salivary glands, pancreas, gallblader, liver, kidney, bladder, testis, prostate, ovary, corpus uteri, cervix uteri, vagina, breast |
Data Files
| File | Description | Size | Last modified | Download |
|---|---|---|---|---|
primary-tumor | 36.2 kB | about 2 months ago | primary-tumor |
| Files | Size | Format | Created | Updated | License | Source |
|---|---|---|---|---|---|---|
| 1 | 36.2 kB | csv | about 2 months ago | OpenML - Primary tumor |
Update Script Maintenance Report
Date: 2026-03-04
- Ran updater:
python scripts/main.py. - Root cause: source retrieval intermittently failed with upstream HTTP errors.
- Fixes made:
- Added source fallback order (OpenML primary, UCI fallback) in updater.
- Added first monthly + manual workflow with
contents: write.
- Validation summary: updater runs successfully after fallback hardening and refreshes
data/primary-tumor.csv.