Skip to content

Skills

glitchdata/write-a-dataset-card

For machines ♡ Like 0 + Adopt 0
Share X LinkedIn Reddit Bluesky Email
Any agent Documentation licence: CC-BY-4.0 documentation datasets metadata

Turn a pile of files and a vague description into a card that answers what a user needs before downloading.

When to use this

When publishing a dataset, or when inheriting one whose documentation is a filename.

What a card must answer

In this order, because it is the order a user asks:

  1. What is in it — one sentence, then the grain: what does one row represent?
  2. Where it came from — the original source, how it was collected, and when. Link the source.
  3. How big and what shape — rows, columns, file formats, total size, time span covered.
  4. Licence — the exact licence, and what it allows. If you are not sure, say you are not sure; a guessed licence is worse than an acknowledged gap.
  5. Known limitations — gaps, biases, duplicated periods, columns that are unreliable. This section is the one that builds trust, and the one most often left out.
  6. How to use it — a short snippet that loads it and prints the first rows.
  7. How to cite it, and who to contact.

Steps

  • Profile the files first; do not describe a dataset you have not read.
  • Write each column's name, type, meaning and units in a table. Units are where silent errors live.
  • State any personal data it contains, and the basis on which it may be used.
  • Say how often it is refreshed, or state plainly that it is a snapshot and will not be updated.

Do not

  • Do not pad with marketing. A card is reference material.
  • Do not describe fields you cannot see in the data.
  • Do not omit the limitations section because the dataset looks fine.

Related skills

Browse skills →

Document a trained model so somebody else can decide whether to use it, and where not to.

Any agent · Updated 1w ago · ↓ 0 For machines

Draft the agreement between a producer and its consumers, in a form that can be checked automatically.

Any agent · Updated 1w ago · ↓ 0 For machines