Statsnz geographic tables

From thecolab-ai/.skills · View interactive version

Statsnz geographic tables is an AI agent skill from the GitHub repository thecolab-ai/.skills. Read Stats NZ Datafinder metadata and the published sample for the Current Geographic Boundaries table (122777) and the Geographic Areas Table 2026 (123518). Use for the table licence, feature count, publication time, geography-version names, and a bounded meshblock-concordance preview. Stats NZ CPI

How to use this skill

Skill file

Stats NZ geographic tables

Read public Koordinates metadata and the published sample for two Stats NZ Datafinder tables. Attribute Stats NZ under Creative Commons Attribution 4.0 International.

Use this when

Use another skill when

CLI

python3 skills/statsnz-geographic-tables/scripts/cli.py table 122777 --json
python3 skills/statsnz-geographic-tables/scripts/cli.py sample 122777 --json
python3 skills/statsnz-geographic-tables/scripts/cli.py table 123518 --json
python3 skills/statsnz-geographic-tables/scripts/cli.py sample 123518 --json

Commands:

feature_count is the Koordinates count for the whole table. sample_row_count counts only the rows returned by the published sample. Table 122777 is a geography-version index. Table 123518 is a meshblock concordance whose sample is a short wide preview.

Each request times out after 15 seconds. A response over 256 KiB, or a sample over 200 rows, is rejected. Redirects must stay on datafinder.stats.govt.nz and on the table or sample path. The created_by user profile is not emitted.

--json prints a meta and results envelope. meta.latest_data is the table published_at timestamp, not a statistical reference period. A row field such as Date_Published keeps the geography version date, including its original spacing.

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.