Data Card Writer
Overview
Generates a structured datasheet following the "Datasheets for Datasets" framework (Gebru et al., 2021). Every dataset should ship with a data card that answers: who made this, what's in it, how was it collected, what are the limitations.
Template
# [Dataset Name] — Data Card v[Version]
## Motivation
- Purpose: [What task is this for?]
- Creator: [Who created it?]
- Funding: [Who funded it?]
## Composition
- Instances: [N] examples, [M] features
- Target: [What is being predicted?]
- Protected attributes: [Gender, race, age, etc. — or "not collected"]
- Missing data: [X% missing overall, per-column breakdown]
- Class balance: [Distribution]
## Collection Process
- Source: [URL, database, API, instrument]
- Collection date: [YYYY-MM-DD to YYYY-MM-DD]
- Sampling strategy: [Random, stratified, convenience]
- Ethical review: [IRB protocol # or "not applicable"]
- Consent: [How was consent obtained?]
## Preprocessing
- Raw → cleaned pipeline: [Steps applied]
- Exclusions: [What was removed and why?]
- Transformations: [Normalization, imputation, encoding]
- Cleaning script hash: [sha256]
## Uses
- Recommended uses: [What this dataset is validated for]
- Discouraged uses: [What this should NOT be used for]
- Out-of-scope: [Inappropriate applications]
## Distribution
- License: [e.g., CC-BY-4.0, CDLA-Permissive]
- Access: [URL or process]
- Version: [Semantic version]
## Limitations
- Known biases: [Demographic, temporal, geographic]
- Coverage gaps: [Missing populations, conditions, domains]
- Label quality: [Inter-rater agreement, noise estimates]
## Maintenance
- Maintainer: [Contact or organization]
- Update frequency: [Monthly, annually, none]
- Errata: [Link to corrections]
## Citation
[BibTeX or DOI]
Validation Checklist
1---2name: data-card-writer3description: Generate structured datasheets for datasets (Gebru et al. "Datasheets for Datasets" format) — purpose, composition, collection process, preprocessing, limitations, and licensing.4---56# Data Card Writer78## Overview910Generates a structured datasheet following the "Datasheets for Datasets" framework (Gebru et al., 2021). Every dataset should ship with a data card that answers: who made this, what's in it, how was it collected, what are the limitations.1112## Template1314```markdown15# [Dataset Name] — Data Card v[Version]1617## Motivation18- Purpose: [What task is this for?]19- Creator: [Who created it?]20- Funding: [Who funded it?]2122## Composition23- Instances: [N] examples, [M] features24- Target: [What is being predicted?]25- Protected attributes: [Gender, race, age, etc. — or "not collected"]26- Missing data: [X% missing overall, per-column breakdown]27- Class balance: [Distribution]2829## Collection Process30- Source: [URL, database, API, instrument]31- Collection date: [YYYY-MM-DD to YYYY-MM-DD]32- Sampling strategy: [Random, stratified, convenience]33- Ethical review: [IRB protocol # or "not applicable"]34- Consent: [How was consent obtained?]3536## Preprocessing37- Raw → cleaned pipeline: [Steps applied]38- Exclusions: [What was removed and why?]39- Transformations: [Normalization, imputation, encoding]40- Cleaning script hash: [sha256]4142## Uses43- Recommended uses: [What this dataset is validated for]44- Discouraged uses: [What this should NOT be used for]45- Out-of-scope: [Inappropriate applications]4647## Distribution48- License: [e.g., CC-BY-4.0, CDLA-Permissive]49- Access: [URL or process]50- Version: [Semantic version]5152## Limitations53- Known biases: [Demographic, temporal, geographic]54- Coverage gaps: [Missing populations, conditions, domains]55- Label quality: [Inter-rater agreement, noise estimates]5657## Maintenance58- Maintainer: [Contact or organization]59- Update frequency: [Monthly, annually, none]60- Errata: [Link to corrections]6162## Citation63[BibTeX or DOI]64```6566## Validation Checklist6768- [ ] All sections populated (none left as placeholder).69- [ ] Limitations section is honest — not "no known limitations".70- [ ] License is verified (not guessed).71- [ ] Provenance traces to source data.72- [ ] Contact information is current.73- [ ] Version matches the dataset release tag.