DataHub Commons: a wiki of data at datahub.io/commons
Publish and grow entries for datasets other people maintain, as normal DataHub datasets at datahub.io/commons/<name>, separate from Core and from collections.
DataHub Commons
Rufus, 28 Nov: the Commons is "almost like this wiki of data that we're maintaining of stuff out there". This continues what ckan.net and the original DataHub started. Epic factory-but.15. The detailed decision note is core-commons-model.md, signed 28 Nov. This file holds the question tree: each question has a short answer, and the detail is in the appendix.
Outcome: datahub.io/commons lists curated entries for datasets and catalogues that matter, each with a screenshot, what it's good for and how to get the data. Entries are fed from one intake, and collections link to them.
Live (29 Nov): datahub.io/commons, with 13 datasets. Source: datasets/commons-datasets.
- First four: dblp, OpenAlex, OpenCitations, Itiner-e.
- Batch 2: GBD, V-Dem, PUDL, Opportunity Insights, NOAA GSOD.
- Batch 3: UN WPP, FAOSTAT, Atlas of Economic Complexity, NCD-RisC height.
- Paused at 13: each linked dataset adds a GitHub webhook (cap 20). The next batch waits on
datahub-next-x91.
Standing yes (Rufus, 29 Nov): batches built this way are published without asking, then checked live and reported.
Next (held):
- The launch blog post, held until the index page is live (releases/2026-commons-core-collections/).
Question tree
How should DataHub publish and grow a Commons of datasets that other people maintain?
- What is the Commons, as distinct from Core and collections? Core is data we maintain (and might sell). The Commons is data we point to. Collections are written-up topic pages that guide readers through both. (28 Nov, A1)
- What can have a Commons entry? A dataset or a catalogue, following the data hierarchy. Sites that are half dataset and half service count as datasets; the
accessfield shows the difference. We dropped a third "project" type. (28 Nov, A2) - What does an entry contain? A README (what it is, what it's good for, how to get the data, caveats), a
datapackage.jsonwhose resources point at the source's files, and a screenshot we took of the page where the data lives. (28 Nov, A3) - Where and how are entries published? As normal DataHub datasets at
datahub.io/commons/<name>, in acommonspublication. They are not pages in the collections repo. (29 Nov, corrected after commons#464, A4) - One repo per entry, or one repo for all? One public repo,
datasets/commons-datasets, separate from the collections repo. An entry moves to its own repo if it grows its own data or refresh job. DataHub's webhook limit must be fixed before about 15 entries (datahub-next-x91). (29 Nov, A5) - Can a Commons entry hold data? Yes. We can cache a copy when the licence is open. Large data goes on R2, not in git. Caching doesn't make an entry Core. (28–29 Nov, A6)
- When does an entry become Core? Only when we decide to take on upkeep and the data passes the dataset standard. Most entries never will. A Core dataset we stop maintaining keeps its URL and gets an "unmaintained" banner. (28 Nov)
- Where does intake state live, and what are Beads for? State lives in a tracker file,
projects/ideas-and-triage/candidates.csv. Beads hold only the work that moves rows between states. (28 Nov, Rufus: "Beads are not great for tracking state";factory-but.12.8, A7) - What is the public front door, and how do we treat outside proposals? Issues and PRs on
datasets/commons. A weekly sweep moves them into the tracker. Entries must pass the inclusion rules: free and substantial data, a stated licence, affiliation declared, our own wording, no marketing links. (28 Nov, A7) - What happens to the existing
d/pages in the collections repo? They move tocommons-datasetsif they pass the inclusion rules, and/collections/d/<slug>redirects. Itiner-e has moved. OpenMercantil did not pass: its advertised free files returned 404 and 502 on 29 Nov. Collections keep only written pages. (29 Nov,factory-but.15.1, A8)
Open:
- the
/commonsindex page: a hero saying what the Commons is (as against Core and Collections), then the datasets, counted as "datasets". It is in review as datahub-next#1016, which also redirects/collections/d/itiner-e. Grouping by type and collection comes later; - link-only resources show "Download · HTML" (OpenAlex, OpenCitations;
datahub-next-e0q); - redirects from
/collections/d/; - the R2 layout for cached copies;
- migrating old.datahub.io entries with traffic.
Appendix
A1. Core, Commons, collections
- Before 28 Nov, our docs said "the Commons at datahub.io/core", which mixed up two different things.
- Rufus, 28 Nov: Core is "stuff we're maintaining and even potentially now selling". The Commons is "listing community datasets that people have made, which are open or out there".
- This matches his Feb 2025 note (collective/ideas/DataHub Commons.md): Commons as a sandbox and library, Core as the place for production quality, with a path from one to the other.
- Collections: Rufus, 29 Nov: "Collections is more just for our kind of written up thematic stories. I started putting data there, but I don't really like that pattern."
A2. Entry types
- The source is the data hierarchy (datapressr/site/docs/data-hierarchy.md): catalogue, dataset, data file. Data files live inside datasets and are not entries.
- A third type, "project", was proposed for sites like OpenMercantil, which offer downloads and an API on top of public data.
- The critique pass cut it: it broke the hierarchy's "keep it simple" rule, and
access: [download, api, web]already carries the difference.
A3. Entry contents
datapackage.jsonholds the standard fields (name, title, homepage, licenses, sources, resources). Acommonsblock addstype,access,status(stub | curated),core,cachedandchecked.- Screenshots (Rufus: "hugely useful"): we take them ourselves and don't hot-link.
- dblp.org (Anubis) and openalex.org ("please use our free API") block automated browsers.
- Our fetch rules forbid working around that, so for those we took screenshots of the data page instead: Dagstuhl's monthly releases and the OpenAlex snapshot docs. Arguably that's better, because it shows where the data is.
- Facts drift. The 2018 collection text said dblp was ODC-By, but it has been CC0 since Nov 2019. Hence
checked. - Remote resources. DataHub passes remote
httpresource paths through without downloading them (datahub-next/lib/computed-fields.ts).- OpenAlex and OpenCitations publish many dump files, so their resource points at the labelled access page.
A4. Publishing route
- The first test, commons#464, put entries in the collections repo's
d/folder. That copied a workaround already there (Itiner-e, OpenMercantil), which made entries pages at/collections/d/<slug>. - Rufus, 29 Nov: "I thought if we're going to put up data sets, they go in at commons, they get published on Data Hub in the normal way." The PR was closed unmerged, so nothing went live.
- The route now:
- one-off:
dh publication create commons; - per entry:
dh publish --github datasets/commons-datasets --subdir <name> -p commons.
- one-off:
- DataHub then git-syncs on every push.
./publish.shin the repo wraps this and refuses to overwrite a live/commons/<name>.
A5. One repo
- For one repo: entries are light (README, datapackage, screenshot), so a bulk fix is one commit, not a hundred repos. Rufus: "often easier to maintain and fix".
- Against one repo:
- DataHub has to track many subfolders in one repo.
- In the code, each linked dataset gets its own GitHub webhook (
datahub-next/app/api/webhook/route.ts, looked up by?postid=), and GitHub allows 20 per repo, so a shared repo caps at about 20 entries. - Every push re-syncs every linked folder, which is wasteful but harmless at this size.
- Fix:
datahub-next-x91, one webhook per repo that re-syncs only the folders the push changed. - Kept separate from the collections repo: collections publish as one site at
/collections, while entries publish one by one. Mixing them caused the #464 confusion. - Name:
commons-datasets(Rufus: "you might call it commons datasets"). It was created ascommons-entriesand renamed before publishing.
A6. Caching
- Rufus, 28 Nov: "even in Commons, we might end up caching some of the data and presenting it".
- Rufus, 29 Nov: many of these datasets are large, so "start storing them on R2 anyway and not directly into a GitHub repo".
- Rules:
- cache only under an open licence;
- the entry records
cached: {date, source, path}; - a cached copy is a snapshot with no promise of upkeep.
A7. Intake
- The evidence and options are in commons-and-triage.md: 253 open Commons issues, 77% from before 2020, and no standing triage.
- Rufus, 28 Nov: Beads are "more useful for tasks and tasking AI". For "a backlog of things to process in different states … a dedicated CSV or JSON file would be better".
- The ideas-triage session had already chosen the same option (option B,
factory-but.12.7), using its existing candidates file. That is why the tracker is that file rather than a newintake/candidates.csv. - Inclusion rules came from the critique: OpenMercantil was submitted by its own team, with a pricing link and the publisher's own copy.
A8. Existing d/ pages
- Itiner-e (added by Rufus, Dec 2025) was rebuilt as a Commons dataset.
- Our own screenshot replaced the hot-linked image.
- The resource is the GeoJSON on Zenodo (78 MB).
- The licence is recorded as unknown, because the Zenodo record states none.
- OpenMercantil (PR #439 by its founder, merged Aug 2026) was not migrated.
- Its site promises free CSV and JSON downloads under CC BY 4.0. On 29 Nov the sample CSV returned 404 and the top-10,000 JSON returned 502.
- The full data is only available record by record through the API.
- Under the inclusion rules (free and substantial data), it waits until the files work. Decision in the PR sweep (
factory-but.15.6).
- Both
d/pages stay in the collections repo for now. They are removed, with redirects, as part offactory-but.15.2.
A9. What the first live pages showed (29 Nov)
- What works: dataset pages render the README, the licence, the sources and a download button for the remote file (dblp's XML).
- What doesn't:
- OpenAlex and OpenCitations point at an access page, so the button reads "Download · HTML" and the preview says "unsupported format".
- The
/commonsindex lists entries as "posts". - Both are filed as
datahub-next-e0q.