スキル一覧に戻る
josca42

tables

by josca42

1🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: tables description: Preview denmark statistics fact tables and inspect their metadata

tables CLI

Inspect a denmark statistics fact table before loading it into Postgres and view its official table metadata.

Run the CLI from .claude/skills/tables:

python scripts/tables.py --help

view — preview a fact table

python scripts/tables.py view FOLK1A --rows 5
python scripts/tables.py view FOLK1A --db-format   # show the DB-ready schema
  • --rows/-n controls how many rows to display (default 10).
  • --db-format/-d runs the same processing used during ingestion (renames to lower-case, normalizes dtypes, parses date strings).

Output is always a column|dtype list followed by a pipe-delimited preview (TABLE.head(n)), which stays consistent whether you use the raw or DB-formatted view.

info — metadata snapshot

python scripts/tables.py info FOLK1A

Prints metadata for a single table, including id, title, description, unit and every dimension (text plus the coded values present in the metadata). The metadata is printed as XML. The XML is easy to feed into other tools or to scan quickly when deciding which dimensions to join.

python scripts/tables.py info FOLK1A --column "område"

Will print only the coded values ("id") and the text titles for the column specifiec. All unique values will be printed.

python scripts/tables.py info FOLK1A --normalize-col-names

Will normalize column names so they match the database schema. This means lowercasing col names and replacing å -> a, ø -> o, æ -> ae. So OMRÅDE becomes omrade.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です