Help us improve
Share bugs, ideas, or general feedback.
From nz-skills
Queries Stats NZ Household Economic Survey data for material hardship, income adequacy, housing affordability, low-income household counts, and Gini coefficient by region or ethnicity, with confidence intervals.
npx claudepluginhub thecolab-ai/.skills --plugin nz-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/nz-skills:household-hardship-nzThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Read-only CLI over the **Stats NZ Household Economic Survey (HES) "Household
Queries official NZ child poverty statistics from Stats NZ: nine CPRA measures, national rates (2007–2025), and breakdowns by region, ethnicity and disability.
Generates demographics and market analysis reports from addresses or locations, covering population, income, age distribution, housing, and employment via web searches.
Queries public statistical data from Data Commons (demographics, economics, health, environment) via the Python API v2. Use for population, GDP, unemployment, disease prevalence, and geographic entity resolution.
Share bugs, ideas, or general feedback.
Read-only CLI over the Stats NZ Household Economic Survey (HES) "Household Wellbeing" release, distributed on data.govt.nz through the public CKAN API. No login, API key, or browser needed. Each dataset ships as a ZIP-of-CSV that the CLI unpacks with the Python standard library only.
It answers questions like material hardship counts, income adequacy, housing affordability (housing cost as a share of income), low-income household numbers, and income inequality (Gini) — broken down by region or by ethnicity (including Maori households), each with 95% confidence intervals (LCI/UCI) and relative standard error.
Not for: live benefit caseloads, the public housing register, or building-level deprivation indexes — those live in other sources.
All commands are run via scripts/cli.py and accept --json for machine output.
Most accept --dataset <ckan-id> to target a different HES release (default is
the 2020-2021 wellbeing release).
| Command | Purpose | Key flags |
|---|---|---|
search <query> | Search data.govt.nz for HES wellbeing/hardship datasets | --limit |
datasets | List available HES Household Wellbeing releases | |
hardship | Material hardship household counts | --region, --ethnicity [name] |
income-adequacy | Income adequate vs not adequate | --region, --ethnicity [name] |
affordability | Households spending over 30/40/50 percent of income on housing | --region, --ethnicity [name], --tenure [name], --threshold, --lowincome |
low-income | Low-income household counts (after housing costs) | --region, --ethnicity [name] |
gini | Gini coefficient of income inequality | --region, --ethnicity [name] |
--ethnicity and --tenure take an optional value: bare --ethnicity returns
all groups; --ethnicity European filters to one. Without --ethnicity or
--tenure, breakdowns are by region (optionally filtered with --region auckland).
--threshold accepts 30, 40, or 50.
# Material hardship households in Auckland with confidence intervals
python3 scripts/cli.py hardship --region auckland
# Material hardship by ethnicity, as JSON
python3 scripts/cli.py hardship --ethnicity --json
# Low-income households spending over 30% of income on housing, by ethnicity
python3 scripts/cli.py affordability --ethnicity --threshold 30 --lowincome --json
# Income adequacy across all regions
python3 scripts/cli.py income-adequacy
# Gini coefficient of income inequality by region
python3 scripts/cli.py gini
# Find other HES wellbeing releases (e.g. 2018-19, "Warm and Dry")
python3 scripts/cli.py search "warm and dry"
python3 scripts/cli.py datasets
household-economic-survey-2020-2021-household-wellbeing-including-maori-households.lci/uci are the 95%
confidence bounds and rse_percent the relative standard error. A flag of
* marks estimates Stats NZ flags as having high sampling error.auckland, hawkes bay, and Maori all work.python3 scripts/smoke_test.py to verify the live data path.