Skip to content

Add the dataset-* repos; catalog entries as Markdown - #1

Merged
emptymalei merged 4 commits into
mainfrom
claude/add-dataset-repos-ghxvls
Oct 7, 2026
Merged

emptymalei merged 4 commits into
mainfrom
claude/add-dataset-repos-ghxvls

Conversation

@emptymalei

@emptymalei emptymalei commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Requested by L · project thread

Before: the catalog listed 3 of the 7 dataset-* repos in the DataHerb org, and entries were plain YAML with no place for free text.

After: all 7 repos are listed. Every entry is now catalog/<id>.md, with the fields in YAML front matter and a Markdown body that the dataset page shows above the dataset's own documentation.

New entries:

Entry Repo Kind
airpassenger dataset-airpassenger inline (the repo has no metadata, so it was inferred)
entso-e-power-consumption dataset-ENTSO-E-power-comsumption inline (15 country CSVs inferred)
amazon-categories dataset-amazon-categories (private) pointer to its dataherb.json
economic-trading-indicators dataset-ecomonic-trading-indicators-by-country (private) pointer to its dataherb.json

These were already present and were skipped: covid-19-csse, data-science-jobs and samsung-device-updates.

How:

  • The entries were generated with dataherb catalog add. Names, descriptions, tags, column descriptions and Markdown bodies (sources, file lists, notes) were written by hand.
  • Every existing .yml entry was wrapped in front matter, so its fields and comments are unchanged.
  • site/assets/lib/util.js has a fuller Markdown renderer, still escaped and dependency-free. It adds numbered lists, tables, block quotes, rules, images and bare URLs, and style.css has matching styles.
  • The docs cover the new entry format and dataherb catalog add.

Dependency: DataHerb/dataherb-python#27 (reads .md entries) is merged, and pyproject.toml/uv.lock now pin dataherb back to master (d1d46b0).

The two private repos resolve only when the CATALOG_GITHUB_TOKEN secret holds a token that can read them. Without it, the build shows them with a "metadata unavailable" error. Browser previews of private raw files won't load either way, because raw.githubusercontent.com needs auth.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ggg4AutCcRdK8c57NMxSqp

claude added 2 commits October 7, 2026 13:22
Generated with `dataherb catalog add --match dataset` for the
dataset-* repos in the DataHerb org, then named and described by hand.
amazon-categories and economic-trading-indicators are private and need
the CATALOG_GITHUB_TOKEN secret to resolve at build time.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ggg4AutCcRdK8c57NMxSqp
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ggg4AutCcRdK8c57NMxSqp
@emptymalei emptymalei self-assigned this Oct 7, 2026
Every catalog/*.yml becomes catalog/*.md: the same fields in front
matter, plus a body rendered on the dataset page above the dataset's own
documentation. The new dataset-* entries get bodies with sources, file
lists and notes. The site's Markdown renderer now handles numbered lists,
tables, block quotes, rules, images and bare URLs.

dataherb is pinned to the dataherb-python#27 branch, which reads .md
entries, until that PR is merged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ggg4AutCcRdK8c57NMxSqp
@emptymalei emptymalei changed the title Add the DataHerb dataset-* repos to the catalog Add the dataset-* repos; catalog entries as Markdown Oct 7, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011e9fA4TL7vcAAy9nC68yCH
@emptymalei
emptymalei merged commit f5c3e1e into main Oct 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants