Dataset page pilot: README and package fixes within the current DataHub design
Recommendations 1-6 from the dataset page research ("Now: within the current design") applied to three Core datasets, using only README, datapackage.json and (for living datasets) the build script that keeps them current. No platform changes; mock-ups A-C not used.
What changed
| Dataset | Commits | Changes |
|---|---|---|
| us-coffee-prices (new, frozen) | 6cc6232 | Hand-written "As of October 2026 … $9.25" opening; Cite as and Upkeep sections; search title, 232-char description, keywords, coverage, citation; chart title and description with the striking fact. Before: png, after: png |
| gdp (older stock, living monthly) | 2b45b7f | process.py now writes the opening sentence, What stands out, title, description, temporalCoverage and chart text from the CSV; workflow commits README; README rebuilt in the fixed order; removed the chart claim "India overtook the UK and France", which 2025 data contradicts. Before: png, after: png |
| population (no chart, living quarterly) | 1ea75cd, 86f5b5a | New world-population chart (vega-lite, filter WLD); same generated opening and metadata as gdp; workflow commits README and package. Before: png, after: png |
Every number was recomputed from data/ (commands in the commit messages and coffee's FACT.md) and checked by Codex (gpt-6-astra, high): coffee PASS; gdp and population PASS-WITH-FIXES, fixes applied (coverage wording, country-code descriptions, start-year logic, source list). dataset-check.mjs: 0 errors on all three, live too. Refresh runs after the push were green and left the README alone (population's added a new World Bank aggregate, FCV, which the summary now treats as a group).
What the current design does with each change
| Rec | Shows on the page? |
|---|---|
| 1. Opening answer | Yes, but low: it is the first line of the README block, below the stats, chart, file previews and the "Get it licensed" banner (about 4,000-5,500px down at 1280px). Synced within a minute of the push. |
| 2. Fixed README order | Yes: the left-hand README contents now read What stands out, Data, Caveats, Source and licence, Cite as, Upkeep. |
3. Short description | No. The header text and <meta name="description"> still show the description from first publish. |
4. Search-style title | No. Header and <title> keep the first-publish title. The synced datapackage.json has the new one. |
| 5. Keywords, coverage, citation, units | Partly: keywords appear in the page payload; field descriptions show in the Schema tab; sources update in each file's sidebar. Coverage and citation are not shown anywhere. |
| 6. One good chart | Yes: views render at the top under "Data views" with title and description; the description is the best place for the striking fact, since it is the first prose a reader sees. Population's chart works on a 17k-row resource with a vega-lite filter. |
What didn't work within the current design
- Title and description are fixed at first publish (known: DataPressr
pushskill); changing them needs the DataHub dashboard, so recs 3-4 are written but invisible until someone edits the site settings or the platform syncs them. Re-runningdh publish -t -ddoes not update them either (tested on us-coffee-prices, 29 Nov). Ask:factory-but.10.33(human; recommendation: platform syncs them fromdatapackage.json). Rules: DataPressrdatapressr-0hk. After the pilot, gdp and population also gotupkeepand a keepalive workflow (3090076, 89691a9). - The README opening appears far down the page; the chart description is the only place near the top we control.
temporalCoverage,spatialCoverageandcitationhave no visible or JSON-LD effect yet (platform rec 7).- Not done: declaring
upkeepfor gdp and population, because declared-living requires a keepalive workflow (rule 7); both still warn.
Proposed rules for the DataPressr dataset standard
- README opens with one sentence containing a number and a year or month ("as of" for frozen data), before any
##. - README
##sections appear in this order: What stands out, Data, Caveats, Source and licence, Cite as, Upkeep. - For a living dataset, the build script writes the opening sentence and What stands out from the CSV, and the refresh workflow
git adds README.md (check: the workflow file names README.md). descriptionis 150-300 characters and contains no series codes.titlecontains a year span (\d{4}[-–]\d{4}) and no other numbers; for living datasets the build updates the span.keywords(at least 5),temporalCoverage(ISO 8601 interval),spatialCoverageandcitationare set.- Every numeric field's
descriptionnames a unit or index base. - At least one view names an existing resource and has a
titleand adescriptionwith a number in it; the live page shows no view error. - Title or description changes after first publish open a
humanbead to update the DataHub site settings (until the platform syncs them).