From 0c76f81c6c324b780a748e3dd8e3a89c872ad7aa Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sun, 11 Oct 2026 22:08:28 -0400 Subject: [PATCH 1/2] Add 2023 Census weekly rent facts by NZ regional council Add 18 package members sharing the unchanged, already-published Place summaries files. Emit 162 publisher facts: eight rent-band counts and one published median in NZD per week per place. Pin table median line 1763 rather than identical Quick stats line 13; preserve labels and status lineage, census-night coverage, and unstated population/boundary qualifications. Add independent literal row/cell tests, six red YAML demonstrations, aliases, checklist/evidence, changelog and default-bundle pins. Validation: 185 weekly-rent cases verified (184 initial passes plus the corrected 2018-median mutant rerun); final real Auckland map rerun passes. All 18 validate-package and build-source-suite checks pass; existing household/family 186 cases and alias-drift 1 case pass. Six scratch YAML mutants fail the independent-map test as required. Local source-fidelity and boundary read-only reviews PASS; formal merge gates remain for the hub. Measured delta against main (3c113e8a0b27073c4a52e2eaffff4eb942a73d67): facts +162 (144 Count, 18 published Median), default 1004092 -> 1004254; geographies +0 (20548 unchanged); 18 existing keys each gain 9 facts; sources +0 (56 unchanged), by_source stats_nz +162 (1786 -> 1948); packages +18 (359 -> 377), national root and 17 rc_XX members; tables +1 (318 -> 319), stats_nz:2023 Census Place summaries: weekly rent paid by households=+162; warnings +0 (117 unchanged); errors +0, skipped sources +0; period_count +0 (511 unchanged), calendar_year:2023=+162; entity_count +0 (12 unchanged), household=+162 (154852 -> 155014); by_geography: country:NZ=+9, region:01=+9, region:02=+9, region:03=+9, region:04=+9, region:05=+9, region:06=+9, region:07=+9, region:08=+9, region:09=+9, region:12=+9, region:13=+9, region:14=+9, region:15=+9, region:16=+9, region:17=+9, region:18=+9, region:99=+9. Final geography pins: country:NZ=6131; region:01-09,12-18=30 each; region:99=25. Aggregate and semantic duplicate-key deltas both 0; default duplicate pins remain 0 and 2324. Measurement: 18 sequential build_bundle calls with exactly one explicit source each; all 18 valid, 9 facts each, zero warnings/errors/duplicates. Each single-source output was deleted immediately; no full bundle built. Co-Authored-By: GPT-6.1 Sol --- .../nz-census-2023-weekly-rent.added.md | 8 + chronicle/source_package.py | 54 ++ docs/pe-nz-source-checklist.md | 1 + .../census_2023_weekly_rent/README.md | 96 ++ .../census_2023_weekly_rent/evidence.md | 111 +++ .../rc_01/source_package.yaml | 732 +++++++++++++++ .../rc_02/source_package.yaml | 732 +++++++++++++++ .../rc_03/source_package.yaml | 732 +++++++++++++++ .../rc_04/source_package.yaml | 732 +++++++++++++++ .../rc_05/source_package.yaml | 732 +++++++++++++++ .../rc_06/source_package.yaml | 732 +++++++++++++++ .../rc_07/source_package.yaml | 732 +++++++++++++++ .../rc_08/source_package.yaml | 732 +++++++++++++++ .../rc_09/source_package.yaml | 732 +++++++++++++++ .../rc_12/source_package.yaml | 732 +++++++++++++++ .../rc_13/source_package.yaml | 732 +++++++++++++++ .../rc_14/source_package.yaml | 732 +++++++++++++++ .../rc_15/source_package.yaml | 732 +++++++++++++++ .../rc_16/source_package.yaml | 732 +++++++++++++++ .../rc_17/source_package.yaml | 732 +++++++++++++++ .../rc_18/source_package.yaml | 732 +++++++++++++++ .../rc_99/source_package.yaml | 732 +++++++++++++++ .../source_package.yaml | 732 +++++++++++++++ tests/test_chronicle_bundle.py | 37 +- tests/test_chronicle_nz_census_weekly_rent.py | 876 ++++++++++++++++++ 25 files changed, 14347 insertions(+), 12 deletions(-) create mode 100644 changelog.d/nz-census-2023-weekly-rent.added.md create mode 100644 packages/stats_nz/census_2023_weekly_rent/README.md create mode 100644 packages/stats_nz/census_2023_weekly_rent/evidence.md create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_01/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_02/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_03/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_04/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_05/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_06/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_07/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_08/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_09/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_12/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_13/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_14/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_15/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_16/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_17/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_18/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/rc_99/source_package.yaml create mode 100644 packages/stats_nz/census_2023_weekly_rent/source_package.yaml create mode 100644 tests/test_chronicle_nz_census_weekly_rent.py diff --git a/changelog.d/nz-census-2023-weekly-rent.added.md b/changelog.d/nz-census-2023-weekly-rent.added.md new file mode 100644 index 00000000..7e9d7b24 --- /dev/null +++ b/changelog.d/nz-census-2023-weekly-rent.added.md @@ -0,0 +1,8 @@ +Add Stats NZ 2023 Census weekly-rent packages for New Zealand, 16 regional +councils and Area Outside Region: 144 published household rent-band counts +and 18 published medians, each from its own guarded CSV row. Reuse the 18 +unchanged, already published Place summaries artifacts and manifests; label +every dimension and value, retain confidentiality/status lineage, and pin +the table median rather than its duplicate quick statistic. Preserve other +years, percentages and Māori-ethnic-group sections without emitting them; +record unstated rent-population and regional-boundary definitions. diff --git a/chronicle/source_package.py b/chronicle/source_package.py index 61d6c61f..fc126b66 100644 --- a/chronicle/source_package.py +++ b/chronicle/source_package.py @@ -78,6 +78,60 @@ SOURCE_PACKAGE_RESOURCE_PACKAGE = "packages" SOURCE_PACKAGE_SCHEMA_VERSION = schema_id("source_package") SOURCE_PACKAGE_ALIASES = { + "stats-nz-census-2023-weekly-rent": Path( + "stats_nz/census_2023_weekly_rent" + ), + "stats-nz-census-2023-weekly-rent-rc-01": Path( + "stats_nz/census_2023_weekly_rent/rc_01" + ), + "stats-nz-census-2023-weekly-rent-rc-02": Path( + "stats_nz/census_2023_weekly_rent/rc_02" + ), + "stats-nz-census-2023-weekly-rent-rc-03": Path( + "stats_nz/census_2023_weekly_rent/rc_03" + ), + "stats-nz-census-2023-weekly-rent-rc-04": Path( + "stats_nz/census_2023_weekly_rent/rc_04" + ), + "stats-nz-census-2023-weekly-rent-rc-05": Path( + "stats_nz/census_2023_weekly_rent/rc_05" + ), + "stats-nz-census-2023-weekly-rent-rc-06": Path( + "stats_nz/census_2023_weekly_rent/rc_06" + ), + "stats-nz-census-2023-weekly-rent-rc-07": Path( + "stats_nz/census_2023_weekly_rent/rc_07" + ), + "stats-nz-census-2023-weekly-rent-rc-08": Path( + "stats_nz/census_2023_weekly_rent/rc_08" + ), + "stats-nz-census-2023-weekly-rent-rc-09": Path( + "stats_nz/census_2023_weekly_rent/rc_09" + ), + "stats-nz-census-2023-weekly-rent-rc-12": Path( + "stats_nz/census_2023_weekly_rent/rc_12" + ), + "stats-nz-census-2023-weekly-rent-rc-13": Path( + "stats_nz/census_2023_weekly_rent/rc_13" + ), + "stats-nz-census-2023-weekly-rent-rc-14": Path( + "stats_nz/census_2023_weekly_rent/rc_14" + ), + "stats-nz-census-2023-weekly-rent-rc-15": Path( + "stats_nz/census_2023_weekly_rent/rc_15" + ), + "stats-nz-census-2023-weekly-rent-rc-16": Path( + "stats_nz/census_2023_weekly_rent/rc_16" + ), + "stats-nz-census-2023-weekly-rent-rc-17": Path( + "stats_nz/census_2023_weekly_rent/rc_17" + ), + "stats-nz-census-2023-weekly-rent-rc-18": Path( + "stats_nz/census_2023_weekly_rent/rc_18" + ), + "stats-nz-census-2023-weekly-rent-rc-99": Path( + "stats_nz/census_2023_weekly_rent/rc_99" + ), "stats-nz-household-net-worth-2024": Path("stats_nz/household_net_worth_2024"), "stats-nz-census-2023-family-type": Path("stats_nz/census_2023_family_type"), "stats-nz-census-2023-family-type-rc-01": Path( diff --git a/docs/pe-nz-source-checklist.md b/docs/pe-nz-source-checklist.md index fd604474..bf62d171 100644 --- a/docs/pe-nz-source-checklist.md +++ b/docs/pe-nz-source-checklist.md @@ -57,6 +57,7 @@ tests, and record a verified `raw/nz/...` R2 URI. | `stats_nz/national_population_estimates_2025` | [ ] | [ ] | [ ] | **Blocked:** no original-vintage single-year-age artifact acquired. The 19 August 2025 release points to Infoshare, not an XLSX. Landing-page evidence only is hash-pinned in `raw/nz`; it emits zero facts. [Evidence and access notes](pe-nz-population-source-notes.md). | | `stats_nz/census_2023_households_by_region` | [x] | [ ] | [x] | **Partial:** B5: 216 published 2023 Census counts, 12 per place (NZ, 16 regional councils and separate Area Outside Region): households, three tenure categories and eight usual-resident household sizes. Requested household composition and social-renting split are absent from this product. #176 named the S2 ArcGIS hub regional-council layer as the source; the published ArcGIS household and family layers are SA1/SA2 only, so regional household composition needs the Aotearoa Data Explorer (`CEN23_FHH_038`, API key or manual export) and stays open. Package-completion box stays unchecked until then. National root plus per-place members share the 18 unchanged receipt-pinned CSVs with the family package; the hub published the 18 objects to their `raw/nz/stats_nz/...` keys and verified each by SHA-256 on 2026-10-10. [Scope and evidence](../packages/stats_nz/census_2023_households_by_region/README.md). | | `stats_nz/census_2023_family_type` | [x] | [x] | [x] | B5: 72 published 2023 Census counts, four per place for the same 18 places: families and the three exact family-type labels. Two requested package IDs retained as family roots with per-place members; shared artifacts committed once. Other years, percentages and Māori sections preserved but not emitted; the hub published the 18 objects to their `raw/nz/stats_nz/...` keys and verified each by SHA-256 on 2026-10-10. [Scope](../packages/stats_nz/census_2023_family_type/README.md) and [evidence](../packages/stats_nz/census_2023_households_by_region/evidence.md). | +| `stats_nz/census_2023_weekly_rent` | [x] | [x] | [x] [18 existing objects](../packages/stats_nz/census_2023_weekly_rent/evidence.md#existing-published-objects) | G8-d1: 162 published 2023 Census facts, nine per place for NZ, 16 regional councils and separate Area Outside Region: eight exact household weekly-rent bands and one directly published median in NZD per week. National root and 17 per-place members reuse the same unchanged CSVs and manifests as B5; table median selected by row identity, duplicate quick statistic excluded. Other years, percentages and Māori sections preserved but not emitted; rent population definition and regional boundary vintage unstated. The hub published and SHA-256 verified these existing objects on 2026-10-10. [Scope and evidence](../packages/stats_nz/census_2023_weekly_rent/README.md). | | `stats_nz/census_2023_ethnicity_age_region` | [ ] | [ ] | [ ] | | | `ird/taxable_income_distribution_2025` | [x] | [x] | [x] | I1, TY2024 (September 2025 release): 3,522 administrative facts; full national income bands, age marginals, and Tab 4 age × band counts. Raw workbook published to its `raw/nz/ird/...` key and verified by SHA-256 on 2026-10-07. | | `ird/wage_salary_distribution_2026` | [x] | [x] | [x] | I2, TY2026 (2026 release): 510 administrative facts; national wage/salary bands and decile/percentile income and upper-boundary cut-points. Raw workbook published to its `raw/nz/ird/...` key and verified by SHA-256 on 2026-10-10. [Cell evidence](../packages/ird/wage_salary_distribution_2026/evidence.md). | diff --git a/packages/stats_nz/census_2023_weekly_rent/README.md b/packages/stats_nz/census_2023_weekly_rent/README.md new file mode 100644 index 00000000..9a18f0f8 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/README.md @@ -0,0 +1,96 @@ +# Stats NZ 2023 Census weekly rent by regional council + +This package family emits 162 published facts from Stats NZ's +[Place summaries tool](https://tools.summaries.stats.govt.nz/): eight household +rent-band counts and one published median for New Zealand, each of the 16 +regional councils, and the separately published `Area Outside Region` +(code `99`). Every fact reads one CSV row. No rent-band total is emitted. + +The national root is `stats_nz/census_2023_weekly_rent`, with alias +`stats-nz-census-2023-weekly-rent`; its 17 `rc_XX/source_package.yaml` children +use aliases ending in `-rc-XX`. They reference the same 18 unchanged files +and per-place manifests as the +[household](../census_2023_households_by_region/README.md) and +[family-type](../census_2023_family_type/README.md) families in +`db/data/stats_nz/census_2023_place_summaries/`. No CSV or manifest is copied, +renamed, rewritten, or added. Their binary Git attributes preserve the exact +publisher CRLF bytes. + +## Scope and source semantics + +Each selection requires `period = 2023`, `duration = Census`, the place's +published code and descriptor, and the exact section and row identity: + +| Section | Published categories | Value type | Facts per place | +| --- | --- | --- | ---: | +| Weekly rent paid by households | Under $200; $200 - $299; $300 - $399; $400 - $499; $500 - $599; $600 - $699; $700 - $799; $800 and over | Count | 8 | +| Median weekly rent paid by households | The table row with empty `section_type` | Median | 1 | + +Band facts use a household count measure, unit `count`, and scale 1. The +median has its own `median` measure, unit `nzd_per_week`, scale 1, and +`aggregation: median`. It reads the published value rather than deriving a +median, mean, or band midpoint. The median section appears twice in every +file: the `Quick stats` row on physical CSV line 13 and the table row on +line 1763. The package selects only line 1763 by its row identity, including +empty `section_type`. Selecting the table occurrence follows the existing +families' treatment of duplicated quick statistics and keeps its table-row +provenance next to the rent bands. Equal values do not make the two row +identities interchangeable. + +The population definition is **not stated in the product**: the committed +CSVs contain no note establishing whether these rows cover rented occupied +private dwellings with a stated rent. That qualification is therefore not +asserted. The dollar basis is weekly rent in New Zealand dollars at the +census date, as specified by the hub. The CSV supports the weekly basis in +the section title and labels the median `dollars`; it does not spell out the +currency name or a separate dollar-basis note. + +The reference date is census night, **7 March 2023**, as specified by the +hub and recorded in coverage. The files themselves state `2023` and +`Census`, without printing the exact night. The regional boundary vintage +is unstated. Geography keys follow the existing Census families, including +`region:99` for `Area Outside Region`; it is never assigned to another +region. Auckland's consumer geography name is `Auckland`, while its source +row retains the exact descriptor `Auckland Region`. + +New Zealand rows come from the national file. They are never reconstructed +from regional values, and the eight bands are never summed into another +fact. Published band labels retain their exact spelling and spacing, +including `$200 - $299`. Every emitted dimension and dimension value carries +a label. The complete source files retain `Percent` rows, 2013 and 2018 +periods, sections `for the Māori ethnic group`, the duplicate quick-stat +median, and unrelated sections; none emits a fact in this family. + +All 162 selected rows have empty `confidentiality_indicator`, +`confidentiality_label`, `final_indicator`, and `final_label`. Those fields +travel in the full source-row lineage. Selection requires them to be empty, +so a flagged row cannot become a numeric fact even if its value contains +numeric text. No rounding-method note is stated in the files, and blank +status fields are not treated as a declaration of revision-final status. + +The parser preserves each complete 2,030-row CSV as source rows, then builds +compact selected cells under the Chronicle virtual sheet +`place_summaries__weekly_rent`. These names are not publisher +worksheets. Their family suffix avoids cell-key collisions with the +household and family packages' different selected-row orders. Each selected +cell retains its original physical line number and source-row key. + +See [publisher evidence](evidence.md) for exact cells and the already +published raw objects. No aging, interpolation, shares, reconciliation, +imputation, or consumer target construction is performed. + +## Bounded validation + +The targeted regression file is +`tests/test_chronicle_nz_census_weekly_rent.py`. It declares the expected +place, section, category and row identities independently of package YAML, +checks the exact New Zealand and Auckland cells, and rejects percentage, +historical-year, wrong-region, Māori-section, duplicate-median and adjacent +band-label substitutions. Package validation and single-source suites cover +all 18 members. Full bundle construction remains a CI check. + +The shared raw objects were published and verified by the hub on +2026-10-10; this offline lane checked local hashes and sizes against all 18 +existing manifests without network access. Licence: `CC BY 4.0`, with +attribution to Stats NZ. The required `ledger-source-fidelity` and +`ledger-boundary` judge reviews remain merge gates. diff --git a/packages/stats_nz/census_2023_weekly_rent/evidence.md b/packages/stats_nz/census_2023_weekly_rent/evidence.md new file mode 100644 index 00000000..0851ee96 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/evidence.md @@ -0,0 +1,111 @@ +# Publisher evidence: 2023 Census weekly rent + +This family reads the 18 committed Stats NZ Place summaries CSVs already +used by the [household and family families](../census_2023_households_by_region/evidence.md). +This offline lane verified every file's SHA-256 and byte size against its +unchanged `manifest-.yaml`; each file has 2,030 data rows, 22 columns, +and 2,031 CRLF line endings. No artifact or manifest was changed, copied, +renamed, or fetched. Receipt URLs, timestamps and the publisher's generated +download filenames remain in those manifests. + +## Exact selected rows and values + +These are physical CSV line numbers, with the header on line 1. All 18 +files use these identities. Every selected row has `period = 2023`, +`duration = Census`, and empty `section_type`. Counts have +`variable1_label = Weekly rent paid by household`, the category code below, +and `value_type_description = Count`. All values have six fractional +zeroes and `decimals = 0`; their scale is 1. `value` is column O. + +| CSV line | Section | Category code | Exact category / value type | New Zealand | Auckland Region | +| ---: | --- | --- | --- | ---: | ---: | +| 1766 | Weekly rent paid by households | 1 | Under $200 | 89439 | 28113 | +| 1767 | Weekly rent paid by households | 2 | $200 - $299 | 53325 | 9909 | +| 1768 | Weekly rent paid by households | 3 | $300 - $399 | 80247 | 16734 | +| 1769 | Weekly rent paid by households | 4 | $400 - $499 | 101067 | 28827 | +| 1770 | Weekly rent paid by households | 5 | $500 - $599 | 99042 | 42645 | +| 1771 | Weekly rent paid by households | 6 | $600 - $699 | 68544 | 37143 | +| 1772 | Weekly rent paid by households | 7 | $700 - $799 | 32286 | 19629 | +| 1773 | Weekly rent paid by households | 8 | $800 and over | 35712 | 22899 | +| 1763 | Median weekly rent paid by households | Empty | Median; dollars | 450 | 540 | + +The median table row has empty `variable1_label`, `variable1_code`, +`variable1_descriptor`, and all three `variable2_*` fields, with +`value_type_description = Median` and `value_label = dollars`. Its +`last_updated_at_source` is `2024-09-02 10:17:01+00`. Physical line 13 is a +separate `Quick stats` occurrence of the same median, updated +`2024-08-14 15:03:09+00`, with equal values in all 18 files. Only the +table occurrence with empty `section_type` is selected, preserving its own +row identity as the existing families do for duplicated quick statistics. +The band rows have update timestamp `2024-09-16 09:50:00+00`. + +The package's selected-row order is the eight bands, then the median; +its compact virtual rows are therefore 2 through 10. The virtual sheet is +`place_summaries__weekly_rent`. The parser's selected-cell +representation retains each physical `source_line_number` and source-row +key. The sheet suffix distinguishes this family from the household and +family packages without asserting a publisher worksheet. + +Exactly nine rows per place become facts: 144 household counts and 18 +published medians. No sum of the bands, sum of regions, share, mean, +interpolation, or calculated median is emitted. New Zealand is read from +its own source file. The median uses its own measure with unit +`nzd_per_week` and `aggregation: median`. + +## Population, period, geography and status + +The rent population definition is **not stated in the product**. No staged +CSV note identifies a universe of rented occupied private dwellings with +stated rent, so this family does not assert that definition. The weekly +basis is in the section titles; the median's currency label is `dollars`. +The hub supplies the New Zealand-dollar basis at the census date and +census night, 7 March 2023. The CSV rows state only `2023` and `Census`, +without the exact day or a separate currency-basis explanation. Regional +boundary vintage and a rounding-method note are unstated. + +Geography follows the existing Census families: the separately published +code `99` retains `region:99`, and Auckland's consumer geography name is +`Auckland` while its exact source descriptor is `Auckland Region`. + +All 162 selected rows have empty `confidentiality_indicator`, +`confidentiality_label`, `final_indicator`, and `final_label`. These +fields are preserved in full source-row lineage, and selections require +them to be empty, refusing flagged numeric rows. Their blanks do not +assert final revision status. Complete source rows preserve percentages, +2013 and 2018 periods, Māori-ethnic-group sections, unrelated sections, +and the duplicate quick-stat median without emitting those rows. + +## Existing published objects + +The manifests already pin the following objects in `ledger-raw`. The +shared evidence records the hub's publication and streamed SHA-256 +verification on 2026-10-10; this lane verified only the existing local +bytes and manifest metadata. The manifest table title mentions families +and households because the immutable artifacts are shared full-product +exports; the rent package identifies its own emitted source table. + +| Place | Existing manifest | Existing R2 object | +| --- | --- | --- | +| New Zealand | [manifest-nz.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-nz.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/6b35e4339ab98bd85dcfa0d297f9bf2c88403327dfe70430513cb7c10b26d89b/place-summaries-nz.csv) | +| Northland | [manifest-rc-01.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-01.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/7eb81d38c4b3837c21d056ac772b91b4397ee4c1b26146a665deb373d847520f/place-summaries-rc-01.csv) | +| Auckland | [manifest-rc-02.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-02.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/8146e6612b8a0434f021b02f096cd0befaa450fdab0f5c09325201586ae001bc/place-summaries-rc-02.csv) | +| Waikato | [manifest-rc-03.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-03.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/d4f378940be75e0a138282bd55368b232e4eacb5ea347184f1b4b7abd2deb694/place-summaries-rc-03.csv) | +| Bay of Plenty | [manifest-rc-04.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-04.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/fc75a24d8538450f98c8a4485a6c7816fb3b5d697ea363ad55b6ca88bcfde739/place-summaries-rc-04.csv) | +| Gisborne | [manifest-rc-05.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-05.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/82f57517ccd7a22f953dc6ea5137d5e8f70248f762674a85bd33e0f8cf34285c/place-summaries-rc-05.csv) | +| Hawke's Bay | [manifest-rc-06.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-06.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/ecd9485974efcc936ebacc452647b2597e6f37cf6386d328c88587fba66dcc46/place-summaries-rc-06.csv) | +| Taranaki | [manifest-rc-07.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-07.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/96ff9f1943d9200a3096b965bc510e1b369016128388ac43a202504d99fa986f/place-summaries-rc-07.csv) | +| Manawatū-Whanganui | [manifest-rc-08.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-08.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/c693e64b4194d507647b5ba35af4675df9fb44af64de40fd1ce399a37af396b5/place-summaries-rc-08.csv) | +| Wellington | [manifest-rc-09.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-09.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/38cc255b43303a31f45cdfbf2ba8c4b9c8e367eaaf50e76c1388d3085cc08900/place-summaries-rc-09.csv) | +| West Coast | [manifest-rc-12.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-12.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/42148ea27b7a7906b963b4ee29552f7826c5149c6ecd62459099f80ecc20e4ae/place-summaries-rc-12.csv) | +| Canterbury | [manifest-rc-13.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-13.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/a4d8c4b9eaff633904419ed95dccc4e1bf5f64fd964020af06a006b269c9e8af/place-summaries-rc-13.csv) | +| Otago | [manifest-rc-14.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-14.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/3491f761dd689c4a2cce52ebe950e9af97ad184e99b589a53bb9b40685c2b1e8/place-summaries-rc-14.csv) | +| Southland | [manifest-rc-15.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-15.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/68fb9522adc00d9d195a8dd77c51d781f69d9a292ac8db3f6e6931064165cc78/place-summaries-rc-15.csv) | +| Tasman | [manifest-rc-16.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-16.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/d06b59112aac85f051665fcdc99d470508c8bfa7223e103bcd79fbd7d3155c1a/place-summaries-rc-16.csv) | +| Nelson | [manifest-rc-17.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-17.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/26a51a71c1ad40df12f04c58a164d029f41d565c32a201424e1edb8cf2e32341/place-summaries-rc-17.csv) | +| Marlborough | [manifest-rc-18.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-18.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/92533df51e133c0c47bf24e0a28f2ee68aecaf737f65ec8d9e5d5bf72f697b44/place-summaries-rc-18.csv) | +| Area Outside Region | [manifest-rc-99.yaml](../../../db/data/stats_nz/census_2023_place_summaries/manifest-rc-99.yaml) | [raw object](r2://ledger-raw/raw/nz/stats_nz/census_2023_place_summaries/2023/6ee21b3170d89e29fb7ea3ee3986c9ff14860e99be1b230e64432a6c024c9369/place-summaries-rc-99.csv) | + +Licence is `CC BY 4.0`, with attribution to Stats NZ, as pinned by the +existing manifests and shared publisher evidence. Required source-fidelity +and boundary judge reviews remain merge gates; this note does not record +those reviews as executed. diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_01/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_01/source_package.yaml new file mode 100644 index 00000000..83f0f36b --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_01/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-01 +label: 'Stats NZ 2023 Census weekly rent: Northland Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-01.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_01_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '1' + descriptor: Northland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '1' + descriptor: Northland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '1' + descriptor: Northland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '1' + descriptor: Northland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '1' + descriptor: Northland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '1' + descriptor: Northland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '1' + descriptor: Northland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '1' + descriptor: Northland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '1' + descriptor: Northland Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_01.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_01.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_01.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_01_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '01' + geography_level: region + geography_name: Northland Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/northland-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '1' + label: Published code + - column: E + expected_value: Northland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '1' + label: Published code + - column: E + expected_value: Northland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '1' + label: Published code + - column: E + expected_value: Northland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '1' + label: Published code + - column: E + expected_value: Northland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '1' + label: Published code + - column: E + expected_value: Northland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '1' + label: Published code + - column: E + expected_value: Northland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '1' + label: Published code + - column: E + expected_value: Northland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '1' + label: Published code + - column: E + expected_value: Northland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_01.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_01.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_01.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_01_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '01' + geography_level: region + geography_name: Northland Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/northland-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '1' + label: Published code + - column: E + expected_value: Northland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_02/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_02/source_package.yaml new file mode 100644 index 00000000..eaf6230d --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_02/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-02 +label: 'Stats NZ 2023 Census weekly rent: Auckland Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-02.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_02_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '2' + descriptor: Auckland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '2' + descriptor: Auckland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '2' + descriptor: Auckland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '2' + descriptor: Auckland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '2' + descriptor: Auckland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '2' + descriptor: Auckland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '2' + descriptor: Auckland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '2' + descriptor: Auckland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '2' + descriptor: Auckland Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_02.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_02.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_02.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_02_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '02' + geography_level: region + geography_name: Auckland + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/auckland-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '2' + label: Published code + - column: E + expected_value: Auckland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '2' + label: Published code + - column: E + expected_value: Auckland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '2' + label: Published code + - column: E + expected_value: Auckland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '2' + label: Published code + - column: E + expected_value: Auckland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '2' + label: Published code + - column: E + expected_value: Auckland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '2' + label: Published code + - column: E + expected_value: Auckland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '2' + label: Published code + - column: E + expected_value: Auckland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '2' + label: Published code + - column: E + expected_value: Auckland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_02.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_02.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_02.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_02_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '02' + geography_level: region + geography_name: Auckland + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/auckland-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '2' + label: Published code + - column: E + expected_value: Auckland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_03/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_03/source_package.yaml new file mode 100644 index 00000000..74ddd05c --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_03/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-03 +label: 'Stats NZ 2023 Census weekly rent: Waikato Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-03.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_03_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '3' + descriptor: Waikato Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '3' + descriptor: Waikato Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '3' + descriptor: Waikato Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '3' + descriptor: Waikato Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '3' + descriptor: Waikato Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '3' + descriptor: Waikato Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '3' + descriptor: Waikato Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '3' + descriptor: Waikato Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '3' + descriptor: Waikato Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_03.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_03.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_03.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_03_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '03' + geography_level: region + geography_name: Waikato Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/waikato-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '3' + label: Published code + - column: E + expected_value: Waikato Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '3' + label: Published code + - column: E + expected_value: Waikato Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '3' + label: Published code + - column: E + expected_value: Waikato Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '3' + label: Published code + - column: E + expected_value: Waikato Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '3' + label: Published code + - column: E + expected_value: Waikato Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '3' + label: Published code + - column: E + expected_value: Waikato Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '3' + label: Published code + - column: E + expected_value: Waikato Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '3' + label: Published code + - column: E + expected_value: Waikato Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_03.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_03.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_03.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_03_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '03' + geography_level: region + geography_name: Waikato Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/waikato-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '3' + label: Published code + - column: E + expected_value: Waikato Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_04/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_04/source_package.yaml new file mode 100644 index 00000000..67a4e7c4 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_04/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-04 +label: 'Stats NZ 2023 Census weekly rent: Bay of Plenty Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-04.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_04_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '4' + descriptor: Bay of Plenty Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '4' + descriptor: Bay of Plenty Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '4' + descriptor: Bay of Plenty Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '4' + descriptor: Bay of Plenty Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '4' + descriptor: Bay of Plenty Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '4' + descriptor: Bay of Plenty Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '4' + descriptor: Bay of Plenty Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '4' + descriptor: Bay of Plenty Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '4' + descriptor: Bay of Plenty Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_04.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_04.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_04.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_04_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '04' + geography_level: region + geography_name: Bay of Plenty Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/bay-of-plenty-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '4' + label: Published code + - column: E + expected_value: Bay of Plenty Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '4' + label: Published code + - column: E + expected_value: Bay of Plenty Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '4' + label: Published code + - column: E + expected_value: Bay of Plenty Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '4' + label: Published code + - column: E + expected_value: Bay of Plenty Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '4' + label: Published code + - column: E + expected_value: Bay of Plenty Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '4' + label: Published code + - column: E + expected_value: Bay of Plenty Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '4' + label: Published code + - column: E + expected_value: Bay of Plenty Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '4' + label: Published code + - column: E + expected_value: Bay of Plenty Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_04.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_04.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_04.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_04_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '04' + geography_level: region + geography_name: Bay of Plenty Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/bay-of-plenty-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '4' + label: Published code + - column: E + expected_value: Bay of Plenty Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_05/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_05/source_package.yaml new file mode 100644 index 00000000..9f6c32e8 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_05/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-05 +label: 'Stats NZ 2023 Census weekly rent: Gisborne Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-05.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_05_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '5' + descriptor: Gisborne Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '5' + descriptor: Gisborne Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '5' + descriptor: Gisborne Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '5' + descriptor: Gisborne Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '5' + descriptor: Gisborne Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '5' + descriptor: Gisborne Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '5' + descriptor: Gisborne Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '5' + descriptor: Gisborne Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '5' + descriptor: Gisborne Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_05.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_05.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_05.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_05_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '05' + geography_level: region + geography_name: Gisborne Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/gisborne-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '5' + label: Published code + - column: E + expected_value: Gisborne Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '5' + label: Published code + - column: E + expected_value: Gisborne Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '5' + label: Published code + - column: E + expected_value: Gisborne Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '5' + label: Published code + - column: E + expected_value: Gisborne Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '5' + label: Published code + - column: E + expected_value: Gisborne Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '5' + label: Published code + - column: E + expected_value: Gisborne Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '5' + label: Published code + - column: E + expected_value: Gisborne Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '5' + label: Published code + - column: E + expected_value: Gisborne Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_05.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_05.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_05.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_05_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '05' + geography_level: region + geography_name: Gisborne Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/gisborne-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '5' + label: Published code + - column: E + expected_value: Gisborne Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_06/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_06/source_package.yaml new file mode 100644 index 00000000..32a3a717 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_06/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-06 +label: 'Stats NZ 2023 Census weekly rent: Hawke''s Bay Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-06.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_06_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '6' + descriptor: Hawke's Bay Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '6' + descriptor: Hawke's Bay Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '6' + descriptor: Hawke's Bay Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '6' + descriptor: Hawke's Bay Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '6' + descriptor: Hawke's Bay Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '6' + descriptor: Hawke's Bay Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '6' + descriptor: Hawke's Bay Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '6' + descriptor: Hawke's Bay Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '6' + descriptor: Hawke's Bay Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_06.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_06.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_06.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_06_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '06' + geography_level: region + geography_name: Hawke's Bay Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/hawkes-bay-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '6' + label: Published code + - column: E + expected_value: Hawke's Bay Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '6' + label: Published code + - column: E + expected_value: Hawke's Bay Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '6' + label: Published code + - column: E + expected_value: Hawke's Bay Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '6' + label: Published code + - column: E + expected_value: Hawke's Bay Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '6' + label: Published code + - column: E + expected_value: Hawke's Bay Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '6' + label: Published code + - column: E + expected_value: Hawke's Bay Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '6' + label: Published code + - column: E + expected_value: Hawke's Bay Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '6' + label: Published code + - column: E + expected_value: Hawke's Bay Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_06.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_06.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_06.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_06_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '06' + geography_level: region + geography_name: Hawke's Bay Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/hawkes-bay-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '6' + label: Published code + - column: E + expected_value: Hawke's Bay Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_07/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_07/source_package.yaml new file mode 100644 index 00000000..13f396d3 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_07/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-07 +label: 'Stats NZ 2023 Census weekly rent: Taranaki Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-07.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_07_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '7' + descriptor: Taranaki Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '7' + descriptor: Taranaki Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '7' + descriptor: Taranaki Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '7' + descriptor: Taranaki Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '7' + descriptor: Taranaki Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '7' + descriptor: Taranaki Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '7' + descriptor: Taranaki Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '7' + descriptor: Taranaki Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '7' + descriptor: Taranaki Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_07.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_07.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_07.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_07_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '07' + geography_level: region + geography_name: Taranaki Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/taranaki-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '7' + label: Published code + - column: E + expected_value: Taranaki Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '7' + label: Published code + - column: E + expected_value: Taranaki Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '7' + label: Published code + - column: E + expected_value: Taranaki Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '7' + label: Published code + - column: E + expected_value: Taranaki Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '7' + label: Published code + - column: E + expected_value: Taranaki Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '7' + label: Published code + - column: E + expected_value: Taranaki Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '7' + label: Published code + - column: E + expected_value: Taranaki Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '7' + label: Published code + - column: E + expected_value: Taranaki Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_07.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_07.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_07.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_07_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '07' + geography_level: region + geography_name: Taranaki Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/taranaki-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '7' + label: Published code + - column: E + expected_value: Taranaki Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_08/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_08/source_package.yaml new file mode 100644 index 00000000..ccfce5d3 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_08/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-08 +label: 'Stats NZ 2023 Census weekly rent: Manawatū-Whanganui Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-08.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_08_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '8' + descriptor: Manawatū-Whanganui Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '8' + descriptor: Manawatū-Whanganui Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '8' + descriptor: Manawatū-Whanganui Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '8' + descriptor: Manawatū-Whanganui Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '8' + descriptor: Manawatū-Whanganui Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '8' + descriptor: Manawatū-Whanganui Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '8' + descriptor: Manawatū-Whanganui Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '8' + descriptor: Manawatū-Whanganui Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '8' + descriptor: Manawatū-Whanganui Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_08.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_08.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_08.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_08_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: 08 + geography_level: region + geography_name: Manawatū-Whanganui Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/manawatu-whanganui-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '8' + label: Published code + - column: E + expected_value: Manawatū-Whanganui Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '8' + label: Published code + - column: E + expected_value: Manawatū-Whanganui Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '8' + label: Published code + - column: E + expected_value: Manawatū-Whanganui Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '8' + label: Published code + - column: E + expected_value: Manawatū-Whanganui Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '8' + label: Published code + - column: E + expected_value: Manawatū-Whanganui Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '8' + label: Published code + - column: E + expected_value: Manawatū-Whanganui Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '8' + label: Published code + - column: E + expected_value: Manawatū-Whanganui Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '8' + label: Published code + - column: E + expected_value: Manawatū-Whanganui Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_08.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_08.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_08.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_08_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: 08 + geography_level: region + geography_name: Manawatū-Whanganui Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/manawatu-whanganui-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '8' + label: Published code + - column: E + expected_value: Manawatū-Whanganui Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_09/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_09/source_package.yaml new file mode 100644 index 00000000..b2c17bba --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_09/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-09 +label: 'Stats NZ 2023 Census weekly rent: Wellington Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-09.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_09_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '9' + descriptor: Wellington Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '9' + descriptor: Wellington Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '9' + descriptor: Wellington Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '9' + descriptor: Wellington Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '9' + descriptor: Wellington Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '9' + descriptor: Wellington Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '9' + descriptor: Wellington Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '9' + descriptor: Wellington Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '9' + descriptor: Wellington Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_09.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_09.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_09.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_09_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: 09 + geography_level: region + geography_name: Wellington Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/wellington-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '9' + label: Published code + - column: E + expected_value: Wellington Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '9' + label: Published code + - column: E + expected_value: Wellington Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '9' + label: Published code + - column: E + expected_value: Wellington Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '9' + label: Published code + - column: E + expected_value: Wellington Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '9' + label: Published code + - column: E + expected_value: Wellington Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '9' + label: Published code + - column: E + expected_value: Wellington Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '9' + label: Published code + - column: E + expected_value: Wellington Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '9' + label: Published code + - column: E + expected_value: Wellington Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_09.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_09.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_09.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_09_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: 09 + geography_level: region + geography_name: Wellington Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/wellington-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '9' + label: Published code + - column: E + expected_value: Wellington Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_12/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_12/source_package.yaml new file mode 100644 index 00000000..52b5a51b --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_12/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-12 +label: 'Stats NZ 2023 Census weekly rent: West Coast Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-12.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_12_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '12' + descriptor: West Coast Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '12' + descriptor: West Coast Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '12' + descriptor: West Coast Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '12' + descriptor: West Coast Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '12' + descriptor: West Coast Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '12' + descriptor: West Coast Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '12' + descriptor: West Coast Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '12' + descriptor: West Coast Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '12' + descriptor: West Coast Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_12.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_12.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_12.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_12_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '12' + geography_level: region + geography_name: West Coast Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/west-coast-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '12' + label: Published code + - column: E + expected_value: West Coast Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '12' + label: Published code + - column: E + expected_value: West Coast Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '12' + label: Published code + - column: E + expected_value: West Coast Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '12' + label: Published code + - column: E + expected_value: West Coast Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '12' + label: Published code + - column: E + expected_value: West Coast Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '12' + label: Published code + - column: E + expected_value: West Coast Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '12' + label: Published code + - column: E + expected_value: West Coast Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '12' + label: Published code + - column: E + expected_value: West Coast Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_12.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_12.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_12.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_12_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '12' + geography_level: region + geography_name: West Coast Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/west-coast-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '12' + label: Published code + - column: E + expected_value: West Coast Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_13/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_13/source_package.yaml new file mode 100644 index 00000000..51c1f87f --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_13/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-13 +label: 'Stats NZ 2023 Census weekly rent: Canterbury Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-13.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_13_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '13' + descriptor: Canterbury Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '13' + descriptor: Canterbury Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '13' + descriptor: Canterbury Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '13' + descriptor: Canterbury Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '13' + descriptor: Canterbury Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '13' + descriptor: Canterbury Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '13' + descriptor: Canterbury Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '13' + descriptor: Canterbury Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '13' + descriptor: Canterbury Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_13.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_13.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_13.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_13_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '13' + geography_level: region + geography_name: Canterbury Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/canterbury-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '13' + label: Published code + - column: E + expected_value: Canterbury Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '13' + label: Published code + - column: E + expected_value: Canterbury Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '13' + label: Published code + - column: E + expected_value: Canterbury Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '13' + label: Published code + - column: E + expected_value: Canterbury Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '13' + label: Published code + - column: E + expected_value: Canterbury Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '13' + label: Published code + - column: E + expected_value: Canterbury Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '13' + label: Published code + - column: E + expected_value: Canterbury Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '13' + label: Published code + - column: E + expected_value: Canterbury Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_13.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_13.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_13.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_13_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '13' + geography_level: region + geography_name: Canterbury Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/canterbury-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '13' + label: Published code + - column: E + expected_value: Canterbury Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_14/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_14/source_package.yaml new file mode 100644 index 00000000..f0231923 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_14/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-14 +label: 'Stats NZ 2023 Census weekly rent: Otago Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-14.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_14_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '14' + descriptor: Otago Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '14' + descriptor: Otago Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '14' + descriptor: Otago Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '14' + descriptor: Otago Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '14' + descriptor: Otago Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '14' + descriptor: Otago Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '14' + descriptor: Otago Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '14' + descriptor: Otago Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '14' + descriptor: Otago Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_14.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_14.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_14.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_14_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '14' + geography_level: region + geography_name: Otago Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/otago-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '14' + label: Published code + - column: E + expected_value: Otago Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '14' + label: Published code + - column: E + expected_value: Otago Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '14' + label: Published code + - column: E + expected_value: Otago Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '14' + label: Published code + - column: E + expected_value: Otago Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '14' + label: Published code + - column: E + expected_value: Otago Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '14' + label: Published code + - column: E + expected_value: Otago Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '14' + label: Published code + - column: E + expected_value: Otago Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '14' + label: Published code + - column: E + expected_value: Otago Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_14.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_14.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_14.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_14_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '14' + geography_level: region + geography_name: Otago Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/otago-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '14' + label: Published code + - column: E + expected_value: Otago Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_15/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_15/source_package.yaml new file mode 100644 index 00000000..1ba087fa --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_15/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-15 +label: 'Stats NZ 2023 Census weekly rent: Southland Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-15.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_15_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '15' + descriptor: Southland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '15' + descriptor: Southland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '15' + descriptor: Southland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '15' + descriptor: Southland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '15' + descriptor: Southland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '15' + descriptor: Southland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '15' + descriptor: Southland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '15' + descriptor: Southland Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '15' + descriptor: Southland Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_15.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_15.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_15.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_15_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '15' + geography_level: region + geography_name: Southland Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/southland-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '15' + label: Published code + - column: E + expected_value: Southland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '15' + label: Published code + - column: E + expected_value: Southland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '15' + label: Published code + - column: E + expected_value: Southland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '15' + label: Published code + - column: E + expected_value: Southland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '15' + label: Published code + - column: E + expected_value: Southland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '15' + label: Published code + - column: E + expected_value: Southland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '15' + label: Published code + - column: E + expected_value: Southland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '15' + label: Published code + - column: E + expected_value: Southland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_15.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_15.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_15.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_15_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '15' + geography_level: region + geography_name: Southland Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/southland-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '15' + label: Published code + - column: E + expected_value: Southland Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_16/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_16/source_package.yaml new file mode 100644 index 00000000..72210411 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_16/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-16 +label: 'Stats NZ 2023 Census weekly rent: Tasman Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-16.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_16_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '16' + descriptor: Tasman Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '16' + descriptor: Tasman Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '16' + descriptor: Tasman Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '16' + descriptor: Tasman Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '16' + descriptor: Tasman Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '16' + descriptor: Tasman Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '16' + descriptor: Tasman Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '16' + descriptor: Tasman Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '16' + descriptor: Tasman Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_16.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_16.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_16.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_16_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '16' + geography_level: region + geography_name: Tasman Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/tasman-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '16' + label: Published code + - column: E + expected_value: Tasman Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '16' + label: Published code + - column: E + expected_value: Tasman Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '16' + label: Published code + - column: E + expected_value: Tasman Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '16' + label: Published code + - column: E + expected_value: Tasman Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '16' + label: Published code + - column: E + expected_value: Tasman Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '16' + label: Published code + - column: E + expected_value: Tasman Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '16' + label: Published code + - column: E + expected_value: Tasman Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '16' + label: Published code + - column: E + expected_value: Tasman Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_16.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_16.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_16.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_16_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '16' + geography_level: region + geography_name: Tasman Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/tasman-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '16' + label: Published code + - column: E + expected_value: Tasman Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_17/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_17/source_package.yaml new file mode 100644 index 00000000..5bdcd58a --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_17/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-17 +label: 'Stats NZ 2023 Census weekly rent: Nelson Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-17.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_17_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '17' + descriptor: Nelson Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '17' + descriptor: Nelson Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '17' + descriptor: Nelson Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '17' + descriptor: Nelson Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '17' + descriptor: Nelson Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '17' + descriptor: Nelson Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '17' + descriptor: Nelson Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '17' + descriptor: Nelson Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '17' + descriptor: Nelson Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_17.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_17.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_17.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_17_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '17' + geography_level: region + geography_name: Nelson Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/nelson-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '17' + label: Published code + - column: E + expected_value: Nelson Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '17' + label: Published code + - column: E + expected_value: Nelson Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '17' + label: Published code + - column: E + expected_value: Nelson Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '17' + label: Published code + - column: E + expected_value: Nelson Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '17' + label: Published code + - column: E + expected_value: Nelson Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '17' + label: Published code + - column: E + expected_value: Nelson Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '17' + label: Published code + - column: E + expected_value: Nelson Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '17' + label: Published code + - column: E + expected_value: Nelson Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_17.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_17.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_17.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_17_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '17' + geography_level: region + geography_name: Nelson Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/nelson-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '17' + label: Published code + - column: E + expected_value: Nelson Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_18/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_18/source_package.yaml new file mode 100644 index 00000000..81b105f9 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_18/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-18 +label: 'Stats NZ 2023 Census weekly rent: Marlborough Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-18.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_18_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '18' + descriptor: Marlborough Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '18' + descriptor: Marlborough Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '18' + descriptor: Marlborough Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '18' + descriptor: Marlborough Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '18' + descriptor: Marlborough Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '18' + descriptor: Marlborough Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '18' + descriptor: Marlborough Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '18' + descriptor: Marlborough Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '18' + descriptor: Marlborough Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_18.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_18.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_18.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_18_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '18' + geography_level: region + geography_name: Marlborough Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/marlborough-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '18' + label: Published code + - column: E + expected_value: Marlborough Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '18' + label: Published code + - column: E + expected_value: Marlborough Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '18' + label: Published code + - column: E + expected_value: Marlborough Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '18' + label: Published code + - column: E + expected_value: Marlborough Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '18' + label: Published code + - column: E + expected_value: Marlborough Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '18' + label: Published code + - column: E + expected_value: Marlborough Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '18' + label: Published code + - column: E + expected_value: Marlborough Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '18' + label: Published code + - column: E + expected_value: Marlborough Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_18.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_18.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_18.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_18_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '18' + geography_level: region + geography_name: Marlborough Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/marlborough-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '18' + label: Published code + - column: E + expected_value: Marlborough Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/rc_99/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/rc_99/source_package.yaml new file mode 100644 index 00000000..7aa243ff --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/rc_99/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent-rc-99 +label: 'Stats NZ 2023 Census weekly rent: Area Outside Region' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-rc-99.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_rc_99_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '99' + descriptor: Area Outside Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '99' + descriptor: Area Outside Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '99' + descriptor: Area Outside Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '99' + descriptor: Area Outside Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '99' + descriptor: Area Outside Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '99' + descriptor: Area Outside Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '99' + descriptor: Area Outside Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '99' + descriptor: Area Outside Region + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: Regional council + code: '99' + descriptor: Area Outside Region + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.rc_99.weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_99.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_99.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_99_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '99' + geography_level: region + geography_name: Area Outside Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/area-outside-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '99' + label: Published code + - column: E + expected_value: Area Outside Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '99' + label: Published code + - column: E + expected_value: Area Outside Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '99' + label: Published code + - column: E + expected_value: Area Outside Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '99' + label: Published code + - column: E + expected_value: Area Outside Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '99' + label: Published code + - column: E + expected_value: Area Outside Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '99' + label: Published code + - column: E + expected_value: Area Outside Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '99' + label: Published code + - column: E + expected_value: Area Outside Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '99' + label: Published code + - column: E + expected_value: Area Outside Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.rc_99.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.rc_99.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.rc_99.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_rc_99_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: '99' + geography_level: region + geography_name: Area Outside Region + geography_vintage: unstated + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/places/RC/area-outside-region + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: Regional council + label: Published classification_label + - column: D + expected_value: '99' + label: Published code + - column: E + expected_value: Area Outside Region + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/packages/stats_nz/census_2023_weekly_rent/source_package.yaml b/packages/stats_nz/census_2023_weekly_rent/source_package.yaml new file mode 100644 index 00000000..3b0424c9 --- /dev/null +++ b/packages/stats_nz/census_2023_weekly_rent/source_package.yaml @@ -0,0 +1,732 @@ +# One publisher CSV row per fact; no arithmetic or aligned periods. +# Empty confidentiality/status fields are required by selected_rows. +schema_version: ledger.source_package.v1 +package_id: stats-nz-census-2023-weekly-rent +label: 'Stats NZ 2023 Census weekly rent: New Zealand' +artifact: + source_name: stats_nz + source_table: '2023 Census Place summaries: weekly rent paid by households' + resource_package: db + resource_directory: data/stats_nz/census_2023_place_summaries + manifest: manifest-nz.yaml + vintage: place_summaries_capture_2026_10_10 + extracted_at: '2026-10-10' + extraction_method: Complete unchanged CSV source-row preservation; guarded 2023 Count and table Median + selections + parser: delimited_text_full_rows + artifact_year: 2023 + sheet_name: place_summaries_nz_weekly_rent + selected_rows: + - section_title: Weekly rent paid by households + section_type: '' + classification_label: New Zealand + code: NZ + descriptor: New Zealand + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '1' + variable1_descriptor: Under $200 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: New Zealand + code: NZ + descriptor: New Zealand + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '2' + variable1_descriptor: $200 - $299 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: New Zealand + code: NZ + descriptor: New Zealand + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '3' + variable1_descriptor: $300 - $399 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: New Zealand + code: NZ + descriptor: New Zealand + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '4' + variable1_descriptor: $400 - $499 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: New Zealand + code: NZ + descriptor: New Zealand + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '5' + variable1_descriptor: $500 - $599 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: New Zealand + code: NZ + descriptor: New Zealand + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '6' + variable1_descriptor: $600 - $699 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: New Zealand + code: NZ + descriptor: New Zealand + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '7' + variable1_descriptor: $700 - $799 + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Weekly rent paid by households + section_type: '' + classification_label: New Zealand + code: NZ + descriptor: New Zealand + period: '2023' + duration: Census + variable1_label: Weekly rent paid by household + variable1_code: '8' + variable1_descriptor: $800 and over + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Count + value_label: '' + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' + - section_title: Median weekly rent paid by households + section_type: '' + classification_label: New Zealand + code: NZ + descriptor: New Zealand + period: '2023' + duration: Census + variable1_label: '' + variable1_code: '' + variable1_descriptor: '' + variable2_label: '' + variable2_code: '' + variable2_descriptor: '' + value_type_description: Median + value_label: dollars + decimals: '0' + confidentiality_indicator: '' + confidentiality_label: '' + final_indicator: '' + final_label: '' +dimension_labels: + nz_census_2023.weekly_rent_source_label: Weekly rent paid by household + nz_census_2023.weekly_rent_statistic: Published weekly rent statistic +record_sets: +- record_set_id: stats_nz.census_2023.nz.weekly_rent + record_set_spec_id: stats_nz.census_2023.nz.weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.nz.weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_nz_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: NZ + geography_level: country + geography_name: New Zealand + geography_vintage: current + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_source_label + measures: + - measure_id: count + label: Count + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.household_count + source_concept: stats_nz.census_2023.household_count + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/ + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: count + aggregation: sum + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: '1' + label: Under $200 + ordinal: 0 + row_number: 2 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: Under $200 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: New Zealand + label: Published classification_label + - column: D + expected_value: NZ + label: Published code + - column: E + expected_value: New Zealand + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '1' + label: Published variable1_code + - column: J + expected_value: Under $200 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '1' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '1' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '1' + - value_id: '2' + label: $200 - $299 + ordinal: 1 + row_number: 3 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $200 - $299 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: New Zealand + label: Published classification_label + - column: D + expected_value: NZ + label: Published code + - column: E + expected_value: New Zealand + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '2' + label: Published variable1_code + - column: J + expected_value: $200 - $299 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '2' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '2' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '2' + - value_id: '3' + label: $300 - $399 + ordinal: 2 + row_number: 4 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $300 - $399 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: New Zealand + label: Published classification_label + - column: D + expected_value: NZ + label: Published code + - column: E + expected_value: New Zealand + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '3' + label: Published variable1_code + - column: J + expected_value: $300 - $399 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '3' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '3' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '3' + - value_id: '4' + label: $400 - $499 + ordinal: 3 + row_number: 5 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $400 - $499 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: New Zealand + label: Published classification_label + - column: D + expected_value: NZ + label: Published code + - column: E + expected_value: New Zealand + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '4' + label: Published variable1_code + - column: J + expected_value: $400 - $499 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '4' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '4' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '4' + - value_id: '5' + label: $500 - $599 + ordinal: 4 + row_number: 6 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $500 - $599 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: New Zealand + label: Published classification_label + - column: D + expected_value: NZ + label: Published code + - column: E + expected_value: New Zealand + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '5' + label: Published variable1_code + - column: J + expected_value: $500 - $599 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '5' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '5' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '5' + - value_id: '6' + label: $600 - $699 + ordinal: 5 + row_number: 7 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $600 - $699 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: New Zealand + label: Published classification_label + - column: D + expected_value: NZ + label: Published code + - column: E + expected_value: New Zealand + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '6' + label: Published variable1_code + - column: J + expected_value: $600 - $699 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '6' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '6' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '6' + - value_id: '7' + label: $700 - $799 + ordinal: 6 + row_number: 8 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $700 - $799 + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: New Zealand + label: Published classification_label + - column: D + expected_value: NZ + label: Published code + - column: E + expected_value: New Zealand + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '7' + label: Published variable1_code + - column: J + expected_value: $700 - $799 + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '7' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '7' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '7' + - value_id: '8' + label: $800 and over + ordinal: 7 + row_number: 9 + table_record_kind: detail + expected_row_header_column: J + expected_row_header: $800 and over + guard_cells: + - column: A + expected_value: Weekly rent paid by households + label: Published section_title + - column: C + expected_value: New Zealand + label: Published classification_label + - column: D + expected_value: NZ + label: Published code + - column: E + expected_value: New Zealand + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: H + expected_value: Weekly rent paid by household + label: Published variable1_label + - column: I + expected_value: '8' + label: Published variable1_code + - column: J + expected_value: $800 and over + label: Published variable1_descriptor + - column: N + expected_value: Count + label: Published value_type_description + - column: Q + expected_value: '0' + label: Published decimals + filters: + nz_census_2023.weekly_rent_source_label: '8' + constraints: + - variable: nz_census_2023.weekly_rent_source_label + operator: == + value: '8' + label: Weekly rent paid by household + source_row_dimensions: + nz_census_2023.weekly_rent_source_label: '8' +- record_set_id: stats_nz.census_2023.nz.median_weekly_rent + record_set_spec_id: stats_nz.census_2023.nz.median_weekly_rent.v1 + source_record_id_prefix: stats_nz.census_2023.nz.median_weekly_rent + provenance_class: census + assertion: observation + sheet_name: place_summaries_nz_weekly_rent + period_type: calendar_year + period: 2023 + period_coverage: + start_date: '2023-03-07' + end_date: '2023-03-07' + basis: calendar + source_period_label: 2023 Census + notes: Census night, 7 March 2023, the 2023 Census reference night (coverage 2023-03-07, chronicle#176). + The CSV labels the reference period 2023 and duration Census; it does not print the exact date. + geography_id: NZ + geography_level: country + geography_name: New Zealand + geography_vintage: current + entity: household + entity_role: census_household + domain: census_2023_household + groupby_dimension: nz_census_2023.weekly_rent_statistic + measures: + - measure_id: median + label: Median + ordinal: 0 + column: O + source_column_id: value + concept: stats_nz.census_2023.median_weekly_rent + source_concept: stats_nz.census_2023.median_weekly_rent + concept_relation: source_label + concept_authority: stats_nz + concept_evidence_url: https://tools.summaries.stats.govt.nz/ + concept_evidence_notes: 'Direct publisher 2023 Census rows: eight Count rent bands and one published + Median weekly rent in NZ dollars at census date per place, scale 1; one CSV row per fact. The table + population is not stated in the product. National rows read the national file, never sums of regions + or bands. Median is read directly, never derived. Percent rows, 2013/2018, Māori-ethnic-group sections + and the duplicate Quick stats median remain preserved but emit no facts. Regional boundary vintage + and rounding policy are unstated. No reconciliation, aging, imputation, shares, interpolation or + consumer target construction.' + unit: nzd_per_week + aggregation: median + expected_cell_type: number + expected_column_header_row: 1 + expected_column_header: value + rows: + - value_id: median + label: Median weekly rent paid by households + ordinal: 0 + row_number: 10 + table_record_kind: total + expected_row_header_column: A + expected_row_header: Median weekly rent paid by households + guard_cells: + - column: A + expected_value: Median weekly rent paid by households + label: Published section_title + - column: C + expected_value: New Zealand + label: Published classification_label + - column: D + expected_value: NZ + label: Published code + - column: E + expected_value: New Zealand + label: Published descriptor + - column: F + expected_value: '2023' + label: Published period + - column: G + expected_value: Census + label: Published duration + - column: N + expected_value: Median + label: Published value_type_description + - column: P + expected_value: dollars + label: Published value_label + - column: Q + expected_value: '0' + label: Published decimals diff --git a/tests/test_chronicle_bundle.py b/tests/test_chronicle_bundle.py index d12cde82..2d10f0d0 100644 --- a/tests/test_chronicle_bundle.py +++ b/tests/test_chronicle_bundle.py @@ -237,6 +237,11 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): # 216 households and 72 families, with 16 facts at each NZ/REGC key. # Only region:99 is new; publisher, period and entity keys already exist. # No duplicate keys or bundle warnings are added. The full bundle is CI-only. + # G8-d1 adds 162 Census weekly-rent facts in 18 per-place members: + # eight household counts and one published median at each existing place. + # Separate single-source builds measure +18 packages and one source table, + # with no new geography, publisher, period or entity keys, warnings or + # duplicates. Each country:NZ/region key gains nine CY2023 household facts. # BEA NIPA Table 7.8 line 17 (B4923C, private group health insurance) adds # one CY2023 person fact at US country geography from one new package and # source table; the publisher, period, geography and entity keys already @@ -248,7 +253,7 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): "error_count": 0, # chronicle#322 adds 4,947 ONS observations and 3,200 DESNZ ones. # Inner/Outer London also add two region-level geography keys. - "fact_count": 1004092, + "fact_count": 1004254, "geography_count": 20548, "period_count": 511, # 467 before chronicle#292 moved the congressional-district and @@ -271,7 +276,7 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): "semantic_duplicate_key_count": 2324, "skipped_source_count": 10, "source_count": 56, - "source_package_count": 359, + "source_package_count": 377, # 1 semantic-duplicate warning, plus the publisher wording Chronicle # keeps as published: values two packages word differently, groupby # rows that drift inside one package (chronicle#265, #266), and the @@ -306,14 +311,14 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): if row_count == 1: assert row["aggregate_fact_key"].startswith("ledger.aggregate_fact.v2:") assert row["semantic_fact_key"].startswith("ledger.semantic_fact.v2:") - assert row_count == 1004092 + assert row_count == 1004254 assert provenance_classes <= { "administrative", "census", "model_output", "survey_aggregate", } - assert source_packages["source_package_count"] == 359 + assert source_packages["source_package_count"] == 377 assert source_packages["skipped_source_count"] == 10 assert sorted(item["source"] for item in source_packages["skipped_sources"]) == [ "census-acs-s0101-congressional-district-age-2024", @@ -327,7 +332,7 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): "jct-obbba-revenue-estimates-2025", "jct-tax-expenditures-2024", ] - assert coverage["fact_count"] == 1004092 + assert coverage["fact_count"] == 1004254 assert coverage["counts"]["by_source"] == { "bea": 446, "bfp_economic_outlook": 5, @@ -381,13 +386,13 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): "statbel_fiscal_income_distribution": 14600, "statbel_population_structure": 36, "treasury": 139, - "stats_nz": 1786, + "stats_nz": 1948, "usda_snap": 852, "voa": 3001, "welshgov": 9567, } table_counts = coverage["counts"]["by_source_table"] - assert len(table_counts) == 318 + assert len(table_counts) == 319 assert ( table_counts["bea:NIPA Table 7.8. Supplements to Wages and Salaries by Type"] == 1 @@ -396,6 +401,12 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): table_counts["stats_nz:2023 Census Place summaries: families and households"] == 288 ) + assert ( + table_counts[ + "stats_nz:2023 Census Place summaries: weekly rent paid by households" + ] + == 162 + ) assert ( table_counts[ "stats_nz:Household net worth statistics: Year ended June 2024, " @@ -1618,6 +1629,7 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): expected_period_counts["fiscal_year:2025"] += 1 expected_period_counts["fiscal_year:2023"] += 1413 expected_period_counts["calendar_year:2023"] += 288 + expected_period_counts["calendar_year:2023"] += 162 # chronicle#291: IRS SOI Historic Table 2 TY2023 state AGI-band facts. expected_period_counts["tax_year:2023"] += 1020 # BEA NIPA Table 7.8 line 17 (B4923C): the bundle year's own column. @@ -1626,13 +1638,14 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): # country:NZ: 330 WFF (#209) + 5 national population (#211) + 27 Treasury # (#321) + 3,522 IRD I1 (#318) + 510 IRD I2 (#210) + 103 MSD (#319) # + 84 MBIE (#320) + 112 Treasury Budget 2026 expenses (B7 part 2) - # + 1,413 Stats NZ household net worth + 16 B5 national census = 6,122. - assert coverage["counts"]["by_geography"]["country:NZ"] == 6122 + # + 1,413 Stats NZ household net worth + 16 B5 national census + # + nine G8-d1 national weekly-rent facts = 6,131. + assert coverage["counts"]["by_geography"]["country:NZ"] == 6131 for regional_council in (*range(1, 10), *range(12, 19)): assert ( - coverage["counts"]["by_geography"][f"region:{regional_council:02d}"] == 21 + coverage["counts"]["by_geography"][f"region:{regional_council:02d}"] == 30 ) - assert coverage["counts"]["by_geography"]["region:99"] == 16 + assert coverage["counts"]["by_geography"]["region:99"] == 25 assert coverage["counts"]["by_geography"]["local_authority:nz-ta-054"] == 56 assert coverage["counts"]["by_geography"]["local_authority:nz-ta-057"] == 77 assert coverage["counts"]["by_geography"]["local_authority:nz-ta-066"] == 70 @@ -1683,7 +1696,7 @@ def test_build_bundle_writes_merged_consumer_contract(tmp_path): "family": 1700, "firm": 1440, "government": 3562, - "household": 154852, + "household": 155014, "institutional_sector": 4468, "pension_plan": 2, "person": 496036, diff --git a/tests/test_chronicle_nz_census_weekly_rent.py b/tests/test_chronicle_nz_census_weekly_rent.py new file mode 100644 index 00000000..9d4ca713 --- /dev/null +++ b/tests/test_chronicle_nz_census_weekly_rent.py @@ -0,0 +1,876 @@ +"""Independent publisher-row fidelity for 2023 Census weekly household rent.""" + +from __future__ import annotations + +import csv +import hashlib +import os +import shutil +from collections import Counter +from copy import deepcopy +from dataclasses import replace +from decimal import Decimal +from functools import lru_cache +from pathlib import Path + +import pytest +import yaml + +from chronicle.bundle import _dimension_label_reports, build_bundle_coverage +from chronicle.consumer_contract import ( + consumer_fact_rows, + validate_consumer_fact_contract, +) +from chronicle.core import validate_facts +from chronicle.source_package import ( + SOURCE_PACKAGE_ALIASES, + load_source_package, + validate_source_package, +) +from chronicle.sources import build_source_cell_key, validate_source_cells +from chronicle.sources.rows import build_source_row_key, validate_source_rows +from chronicle.sources.specs import resolve_source_record +from chronicle.suite import build_source_suite + +REPO_ROOT = Path(__file__).resolve().parents[1] +DATA_DIRECTORY = REPO_ROOT / "db/data/stats_nz/census_2023_place_summaries" +FAMILY_DIRECTORY = Path("stats_nz/census_2023_weekly_rent") +BAND_DIMENSION = "nz_census_2023.weekly_rent_source_label" +MEDIAN_DIMENSION = "nz_census_2023.weekly_rent_statistic" + +# Literal publisher identities, independently audited against all 18 unchanged +# exports. These expectations are never assembled from package YAML. +PLACES = ( + ( + "NZ", + "New Zealand", + "6b35e4339ab98bd85dcfa0d297f9bf2c88403327dfe70430513cb7c10b26d89b", + ), + ( + "01", + "Northland Region", + "7eb81d38c4b3837c21d056ac772b91b4397ee4c1b26146a665deb373d847520f", + ), + ( + "02", + "Auckland Region", + "8146e6612b8a0434f021b02f096cd0befaa450fdab0f5c09325201586ae001bc", + ), + ( + "03", + "Waikato Region", + "d4f378940be75e0a138282bd55368b232e4eacb5ea347184f1b4b7abd2deb694", + ), + ( + "04", + "Bay of Plenty Region", + "fc75a24d8538450f98c8a4485a6c7816fb3b5d697ea363ad55b6ca88bcfde739", + ), + ( + "05", + "Gisborne Region", + "82f57517ccd7a22f953dc6ea5137d5e8f70248f762674a85bd33e0f8cf34285c", + ), + ( + "06", + "Hawke's Bay Region", + "ecd9485974efcc936ebacc452647b2597e6f37cf6386d328c88587fba66dcc46", + ), + ( + "07", + "Taranaki Region", + "96ff9f1943d9200a3096b965bc510e1b369016128388ac43a202504d99fa986f", + ), + ( + "08", + "Manawatū-Whanganui Region", + "c693e64b4194d507647b5ba35af4675df9fb44af64de40fd1ce399a37af396b5", + ), + ( + "09", + "Wellington Region", + "38cc255b43303a31f45cdfbf2ba8c4b9c8e367eaaf50e76c1388d3085cc08900", + ), + ( + "12", + "West Coast Region", + "42148ea27b7a7906b963b4ee29552f7826c5149c6ecd62459099f80ecc20e4ae", + ), + ( + "13", + "Canterbury Region", + "a4d8c4b9eaff633904419ed95dccc4e1bf5f64fd964020af06a006b269c9e8af", + ), + ( + "14", + "Otago Region", + "3491f761dd689c4a2cce52ebe950e9af97ad184e99b589a53bb9b40685c2b1e8", + ), + ( + "15", + "Southland Region", + "68fb9522adc00d9d195a8dd77c51d781f69d9a292ac8db3f6e6931064165cc78", + ), + ( + "16", + "Tasman Region", + "d06b59112aac85f051665fcdc99d470508c8bfa7223e103bcd79fbd7d3155c1a", + ), + ( + "17", + "Nelson Region", + "26a51a71c1ad40df12f04c58a164d029f41d565c32a201424e1edb8cf2e32341", + ), + ( + "18", + "Marlborough Region", + "92533df51e133c0c47bf24e0a28f2ee68aecaf737f65ec8d9e5d5bf72f697b44", + ), + ( + "99", + "Area Outside Region", + "6ee21b3170d89e29fb7ea3ee3986c9ff14860e99be1b230e64432a6c024c9369", + ), +) +PLACE_BY_CODE = {place[0]: place for place in PLACES} + +# Record set, value ID, section, variable label/code/category, physical CSV line, +# value type, unit, aggregation and published value label. The table median on +# line 1763 is pinned, so its identical quick-stat row on line 13 cannot replace it. +PUBLISHED_ROWS = ( + ( + "weekly_rent", + "1", + "Weekly rent paid by households", + "Weekly rent paid by household", + "1", + "Under $200", + 1766, + "Count", + "count", + "sum", + "", + ), + ( + "weekly_rent", + "2", + "Weekly rent paid by households", + "Weekly rent paid by household", + "2", + "$200 - $299", + 1767, + "Count", + "count", + "sum", + "", + ), + ( + "weekly_rent", + "3", + "Weekly rent paid by households", + "Weekly rent paid by household", + "3", + "$300 - $399", + 1768, + "Count", + "count", + "sum", + "", + ), + ( + "weekly_rent", + "4", + "Weekly rent paid by households", + "Weekly rent paid by household", + "4", + "$400 - $499", + 1769, + "Count", + "count", + "sum", + "", + ), + ( + "weekly_rent", + "5", + "Weekly rent paid by households", + "Weekly rent paid by household", + "5", + "$500 - $599", + 1770, + "Count", + "count", + "sum", + "", + ), + ( + "weekly_rent", + "6", + "Weekly rent paid by households", + "Weekly rent paid by household", + "6", + "$600 - $699", + 1771, + "Count", + "count", + "sum", + "", + ), + ( + "weekly_rent", + "7", + "Weekly rent paid by households", + "Weekly rent paid by household", + "7", + "$700 - $799", + 1772, + "Count", + "count", + "sum", + "", + ), + ( + "weekly_rent", + "8", + "Weekly rent paid by households", + "Weekly rent paid by household", + "8", + "$800 and over", + 1773, + "Count", + "count", + "sum", + "", + ), + ( + "median_weekly_rent", + "median", + "Median weekly rent paid by households", + "", + "", + "", + 1763, + "Median", + "nzd_per_week", + "median", + "dollars", + ), +) + +HEADERS = ( + "section_title", + "section_type", + "classification_label", + "code", + "descriptor", + "period", + "duration", + "variable1_label", + "variable1_code", + "variable1_descriptor", + "variable2_label", + "variable2_code", + "variable2_descriptor", + "value_type_description", + "value", + "value_label", + "decimals", + "confidentiality_indicator", + "confidentiality_label", + "final_indicator", + "final_label", + "last_updated_at_source", +) +GUARD_COLUMNS = tuple("ABCDEFGHIJKLMN") + tuple("PQRSTU") +GUARD_FIELDS = tuple(HEADERS[ord(column) - ord("A")] for column in GUARD_COLUMNS) +STATUS_FIELDS = ( + "confidentiality_indicator", + "confidentiality_label", + "final_indicator", + "final_label", +) + + +def _suffix(code): + return "nz" if code == "NZ" else f"rc_{code}" + + +def _alias(code): + root = "stats-nz-census-2023-weekly-rent" + return root if code == "NZ" else f"{root}-rc-{code}" + + +def _directory(code): + return FAMILY_DIRECTORY if code == "NZ" else FAMILY_DIRECTORY / f"rc_{code}" + + +def _filename(code): + return ( + "place-summaries-nz.csv" if code == "NZ" else f"place-summaries-rc-{code}.csv" + ) + + +def _record_id(code, row): + measure = "count" if row[7] == "Count" else "median" + return f"stats_nz.census_2023.{_suffix(code)}.{row[0]}.{row[1]}.{measure}" + + +def _label(row): + return row[5] if row[7] == "Count" else row[2] + + +def _concept(row): + return ( + "stats_nz.census_2023.household_count" + if row[7] == "Count" + else "stats_nz.census_2023.median_weekly_rent" + ) + + +def _text(value): + return "" if value is None else str(value) + + +def _expected_selection(code, row): + return dict( + zip( + GUARD_FIELDS, + ( + row[2], + "", + "New Zealand" if code == "NZ" else "Regional council", + "NZ" if code == "NZ" else str(int(code)), + PLACE_BY_CODE[code][1], + "2023", + "Census", + row[3], + row[4], + row[5], + "", + "", + "", + row[7], + row[10], + "0", + "", + "", + "", + "", + ), + strict=True, + ) + ) + + +def _expected_map(code): + return { + _record_id(code, row): ( + "NZ" if code == "NZ" else str(int(code)), + row[2], + "", + row[3], + row[4], + row[5], + "2023", + "Census", + row[7], + row[10], + row[6], + PLACE_BY_CODE[code][2], + f"place_summaries_{_suffix(code)}_weekly_rent", + "O", + row[8], + 1, + row[9], + "household", + "Auckland" if code == "02" else PLACE_BY_CODE[code][1], + _label(row), + _concept(row), + ) + for row in PUBLISHED_ROWS + } + + +EXPECTED_OBSERVATIONS = { + (code, record_id): identity + for code, *_ in PLACES + for record_id, identity in _expected_map(code).items() +} + + +@lru_cache +def _package(code): + # An explicit scratch-only override supports external red mutation runs. + scratch_root = os.environ.get("CHRONICLE_NZ_CENSUS_WEEKLY_RENT_TEST_ROOT") + if scratch_root: + candidate = Path(scratch_root) / _directory(code) / "source_package.yaml" + if candidate.is_file(): + return load_source_package(candidate) + return load_source_package(_alias(code)) + + +@lru_cache +def _rows(code): + return _package(code).build_source_rows(2023) + + +@lru_cache +def _cells(code): + return _package(code).build_source_cells(2023, source_rows=_rows(code)) + + +@lru_cache +def _specs(code): + return _package(code).build_source_record_specs(2023) + + +@lru_cache +def _facts(code): + return _package(code).build_facts(2023, cells=_cells(code), source_rows=_rows(code)) + + +@lru_cache +def _publisher_rows(code): + with (DATA_DIRECTORY / _filename(code)).open( + newline="", encoding="utf-8-sig" + ) as source: + return dict(enumerate(csv.DictReader(source), start=2)) + + +def _guard_index(spec): + selector = spec.selector + guards = {guard.address: guard.expected_value for guard in selector.guard_cells} + for address, expected in ( + (selector.expected_row_header_address, selector.expected_row_header), + (selector.expected_column_header_address, selector.expected_column_header), + ): + if address is not None: + if address in guards: + assert guards[address] == expected + guards[address] = expected + assert not selector.range_label_guards + return guards + + +def _assert_publisher_map(code, package=None): + if package is None: + rows, cells, specs = _rows(code), _cells(code), _specs(code) + else: + rows = package.build_source_rows(2023) + cells = package.build_source_cells(2023, source_rows=rows) + specs = package.build_source_record_specs(2023) + cell_index = {(cell.sheet_name, cell.address): cell for cell in cells} + row_index = {build_source_row_key(row): row for row in rows} + actual = {} + for spec in specs: + cell = cell_index[spec.selector.sheet_name, spec.selector.address] + row = row_index[cell.source_row_key] + values = row.values + actual[spec.source_record_id] = ( + _text(values["code"]), + values["section_title"], + _text(values["section_type"]), + _text(values["variable1_label"]), + _text(values["variable1_code"]), + _text(values["variable1_descriptor"]), + _text(values["period"]), + values["duration"], + values["value_type_description"], + _text(values["value_label"]), + row.row_number, + row.artifact.sha256, + spec.selector.sheet_name, + spec.selector.address.rstrip("0123456789"), + spec.unit, + spec.value_scale, + spec.aggregation, + spec.entity, + spec.geography_name, + spec.layout.groupby_value_label, + spec.concept, + ) + expected = _expected_map(code) + assert len(specs) == len(actual) == len(expected) == 9 + assert set(actual) == set(expected) + for record_id, identity in expected.items(): + assert actual[record_id] == identity, ( + f"{record_id}: selected {actual[record_id]!r}; expected {identity!r}" + ) + + +@pytest.mark.parametrize("code", [place[0] for place in PLACES]) +def test_weekly_rent_package_validation_and_independent_publisher_map(code): + assert SOURCE_PACKAGE_ALIASES[_alias(code)] == _directory(code) + assert _package(code).package_id == _alias(code) + _assert_publisher_map(code) + report = validate_source_package(_package(code).package_path, year=2023) + assert report.valid, report.to_dict() + assert not report.warnings + assert report.counts["source_record_count"] == 9 + + +@pytest.mark.parametrize("code", [place[0] for place in PLACES]) +def test_weekly_rent_preserves_complete_publisher_bytes_and_r2_identity(code): + path = DATA_DIRECTORY / _filename(code) + content = path.read_bytes() + assert hashlib.sha256(content).hexdigest() == PLACE_BY_CODE[code][2] + assert len(content.splitlines(keepends=True)) == 2031 + assert all(line.endswith(b"\r\n") for line in content.splitlines(keepends=True)) + assert tuple(_publisher_rows(code)[2]) == HEADERS + manifest_name = "manifest-nz.yaml" if code == "NZ" else f"manifest-rc-{code}.yaml" + manifest = yaml.safe_load((DATA_DIRECTORY / manifest_name).read_text()) + receipt = manifest["files"][2023] + assert receipt["sha256"] == PLACE_BY_CODE[code][2] + assert receipt["filename"] == _filename(code) + assert receipt["size_bytes"] == len(content) + assert _package(code).artifact.manifest == manifest_name + assert ( + _package(code).artifact.resource_directory + == "data/stats_nz/census_2023_place_summaries" + ) + assert {fact.source.url for fact in _facts(code)} == {receipt["source_url"]} + assert {fact.source.raw_r2_uri for fact in _facts(code)} == { + receipt["storage"]["r2"]["uri"] + } + + +@pytest.mark.parametrize("code", [place[0] for place in PLACES]) +def test_weekly_rent_every_fact_has_one_unscaled_publisher_row_and_status_lineage(code): + rows, cells, facts = _rows(code), _cells(code), _facts(code) + assert _package(code).artifact.parser == "delimited_text_full_rows" + assert len(rows) == 2030 + assert len(cells) == 220 + assert len(facts) == 9 + assert validate_source_rows(rows).valid + assert validate_source_cells(cells).valid + assert validate_facts(facts).valid + assert validate_consumer_fact_contract(facts).valid + assert {fact.provenance_class for fact in facts} == {"census"} + assert {fact.assertion for fact in facts} == {"observation"} + cell_index = {(cell.sheet_name, cell.address): cell for cell in cells} + row_index = {build_source_row_key(row): row for row in rows} + specs = {spec.source_record_id: spec for spec in _specs(code)} + for fact in facts: + spec = specs[fact.source_record_id] + selector = spec.selector + cell = cell_index[selector.sheet_name, selector.address] + row = row_index[cell.source_row_key] + assert selector.end_address is None + assert spec.divisor_selector is None + assert spec.round_to is None + assert spec.value_scale == 1 + assert fact.aggregation.denominator is None + assert fact.measure.concept_relation == "source_label" + assert Decimal(str(fact.value)) == Decimal(str(row.values["value"])) + assert Decimal(str(fact.value)) == Decimal( + _publisher_rows(code)[row.row_number]["value"] + ) + assert fact.source_row_keys == (cell.source_row_key,) + assert build_source_cell_key(cell) in fact.source_cell_keys + for address in _guard_index(spec): + assert ( + build_source_cell_key(cell_index[selector.sheet_name, address]) + in fact.source_cell_keys + ) + assert all(row.values[field] is None for field in STATUS_FIELDS) + assert str(row.values["period"]) == "2023" + assert "Māori" not in row.values["section_title"] + if row.values["value_type_description"] == "Count": + assert fact.measure.unit == "count" + assert fact.aggregation.method == "sum" + assert fact.layout.groupby_value_label == row.values["variable1_descriptor"] + else: + assert row.values["value_type_description"] == "Median" + assert row.row_number == 1763 + assert fact.measure.unit == "nzd_per_week" + assert fact.aggregation.method == "median" + assert ( + fact.layout.groupby_value_label + == "Median weekly rent paid by households" + ) + + +def test_weekly_rent_all_162_observations_and_labels_are_independent(): + assert len(EXPECTED_OBSERVATIONS) == 162 + facts = [] + for code, *_ in PLACES: + _assert_publisher_map(code) + assert _dimension_label_reports( + _alias(code), consumer_fact_rows(_facts(code)) + ) == ([], []) + facts.extend(_facts(code)) + assert len(facts) == 162 + assert Counter(fact.entity.name for fact in facts) == {"household": 162} + assert Counter(fact.geography.id for fact in facts) == { + "NZ" if code == "NZ" else code: 9 for code, *_ in PLACES + } + assert Counter(fact.measure.unit for fact in facts) == { + "count": 144, + "nzd_per_week": 18, + } + coverage = build_bundle_coverage(consumer_fact_rows(facts)) + assert not coverage["duplicates"]["aggregate_fact_keys"] + assert not coverage["duplicates"]["semantic_fact_keys"] + + +@pytest.mark.parametrize("code", [place[0] for place in PLACES]) +def test_weekly_rent_every_selection_and_nonblank_guard_matches_literals(code): + specs = {spec.source_record_id: spec for spec in _specs(code)} + assert tuple( + {field: str(value) for field, value in criteria.items()} + for criteria in _package(code).artifact.selected_rows + ) == tuple(_expected_selection(code, row) for row in PUBLISHED_ROWS) + for virtual_row, row in enumerate(PUBLISHED_ROWS, start=2): + spec = specs[_record_id(code, row)] + expected = { + f"{column}{virtual_row}": value + for column, field in zip(GUARD_COLUMNS, GUARD_FIELDS, strict=True) + if (value := _expected_selection(code, row)[field]) != "" + } | {"O1": "value"} + assert { + address: str(value) for address, value in _guard_index(spec).items() + } == expected + assert spec.selector.expected_row_header_address == ( + f"J{virtual_row}" if row[7] == "Count" else f"A{virtual_row}" + ) + + +@pytest.mark.parametrize("guard_field", GUARD_FIELDS) +def test_weekly_rent_each_selection_guard_refuses_changed_or_flagged_source_row( + guard_field, +): + checked = 0 + physical_rows = {row[6] for row in PUBLISHED_ROWS} + for code, *_ in PLACES: + selected = [row for row in _rows(code) if row.row_number in physical_rows] + assert len(selected) == 9 + for target in selected: + changed = [ + replace( + row, values={**row.values, guard_field: "CONFIDENTIAL_OR_CHANGED"} + ) + if row is target + else row + for row in selected + ] + with pytest.raises(ValueError, match="matched 0 rows"): + _package(code).build_source_cells(2023, source_rows=changed) + checked += 1 + assert checked == 162 + + +@pytest.mark.parametrize( + "guard_column", ("A", "C", "D", "E", "F", "G", "H", "I", "J", "N", "P", "Q", "O1") +) +def test_weekly_rent_nonblank_cell_guards_refuse_changed_cells(guard_column): + checked = 0 + for code, *_ in PLACES: + cell_index = {(cell.sheet_name, cell.address): cell for cell in _cells(code)} + for spec in _specs(code): + virtual_row = spec.selector.address.lstrip("O") + address = "O1" if guard_column == "O1" else f"{guard_column}{virtual_row}" + if address not in _guard_index(spec): + continue # The median has blank H/I/J; bands have blank P. + coordinate = spec.selector.sheet_name, address + changed = dict(cell_index) + changed[coordinate] = replace( + cell_index[coordinate], + raw_value="CHANGED", + cell_type="text", + display_value="CHANGED", + ) + with pytest.raises(ValueError, match="expected"): + resolve_source_record(list(changed.values()), spec) + checked += 1 + assert checked == ( + 144 if guard_column in "HIJ" else 18 if guard_column == "P" else 162 + ) + + +@pytest.mark.parametrize("code", [place[0] for place in PLACES]) +def test_weekly_rent_source_dimensions_labels_period_and_geographies(code): + facts = _facts(code) + row_index = {build_source_row_key(row): row for row in _rows(code)} + assert [ + (fact.source_record_id, fact.value) + for fact in _package(code).build_facts( + 2025, + cells=_cells(code), + source_rows=_rows(code), + ) + ] == [(fact.source_record_id, fact.value) for fact in facts] + for fact in facts: + row = row_index[fact.source_row_keys[0]] + band = row.values["value_type_description"] == "Count" + dimension = BAND_DIMENSION if band else MEDIAN_DIMENSION + assert fact.layout.groupby_dimension == dimension + assert fact.dimension_labels[dimension] == ( + "Weekly rent paid by household" + if band + else "Published weekly rent statistic" + ) + assert ( + fact.dimension_value_labels[dimension][str(fact.layout.groupby_value_id)] + == fact.layout.groupby_value_label + ) + expected_filters = {dimension: row.values["variable1_code"]} if band else {} + assert fact.filters == expected_filters + assert { + constraint.variable: constraint.value for constraint in fact.constraints + } == expected_filters + assert all(constraint.operator == "==" for constraint in fact.constraints) + assert (fact.period.type, fact.period.value) == ("calendar_year", 2023) + assert (fact.period_coverage.start_date, fact.period_coverage.end_date) == ( + "2023-03-07", + "2023-03-07", + ) + assert fact.geography.id == ("NZ" if code == "NZ" else code) + assert fact.geography.level == ("country" if code == "NZ" else "region") + assert fact.geography.name == ( + "Auckland" if code == "02" else PLACE_BY_CODE[code][1] + ) + assert fact.geography.vintage == ("current" if code == "NZ" else "unstated") + + +def test_weekly_rent_sheet_identity_does_not_collide_with_shared_families(): + for code, *_ in PLACES: + rent_cells = {build_source_cell_key(cell) for cell in _cells(code)} + rent_rows = {build_source_row_key(row) for row in _rows(code)} + for family in ("households-by-region", "family-type"): + alias = f"stats-nz-census-2023-{family}" + if code != "NZ": + alias += f"-rc-{code}" + other = load_source_package(alias) + other_rows = other.build_source_rows(2023) + other_cells = other.build_source_cells(2023, source_rows=other_rows) + assert rent_cells.isdisjoint( + build_source_cell_key(cell) for cell in other_cells + ) + assert rent_rows.isdisjoint(build_source_row_key(row) for row in other_rows) + assert {row.artifact.sha256 for row in other_rows} == { + PLACE_BY_CODE[code][2] + } + + +@pytest.mark.parametrize("code", [place[0] for place in PLACES]) +def test_weekly_rent_identical_median_rows_are_distinguished_by_identity(code): + publisher = _publisher_rows(code) + assert publisher[13]["section_type"] == "Quick stats" + assert publisher[1763]["section_type"] == "" + assert publisher[13]["value"] == publisher[1763]["value"] + median = next(fact for fact in _facts(code) if fact.measure.unit == "nzd_per_week") + assert median.value == Decimal(publisher[1763]["value"]) + assert ( + len([fact for fact in _facts(code) if fact.measure.unit == "nzd_per_week"]) == 1 + ) + + +@pytest.fixture +def mutated_weekly_rent_package(): + def mutate(kind): + package = _package("02") + selections = deepcopy(package.artifact.selected_rows) + record_sets = package.record_sets + artifact_overrides = {} + if kind == "percent-instead-of-count": + selections[0].update( + value_type_description="Percent", value_label="percent", decimals=1 + ) + elif kind == "2018-instead-of-2023": + # Rent bands are published only for 2023; the independently + # published 2018 median on physical line 1762 is the historical + # substitute that exercises an actual publisher row. + selections[8].update(period=2018) + elif kind == "northland-file-for-auckland": + artifact_overrides["manifest"] = "manifest-rc-01.yaml" + for selection in selections: + selection.update(code=1, descriptor="Northland Region") + elif kind == "maori-instead-of-total-population": + selections[0].update( + section_title="Weekly rent paid by households for the Māori ethnic group" + ) + elif kind == "quick-stat-instead-of-table-median": + selections[8].update(section_type="Quick stats") + elif kind == "band-relabelled-as-neighbour": + payload = deepcopy(record_sets[0].payload) + payload["rows"][0]["label"] = "$200 - $299" + record_sets = (replace(record_sets[0], payload=payload), *record_sets[1:]) + else: + raise AssertionError(kind) + artifact = replace( + package.artifact, selected_rows=selections, **artifact_overrides + ) + return replace(package, artifact=artifact, record_sets=record_sets) + + return mutate + + +@pytest.mark.parametrize( + "kind", + ( + "percent-instead-of-count", + "2018-instead-of-2023", + "northland-file-for-auckland", + "maori-instead-of-total-population", + "quick-stat-instead-of-table-median", + "band-relabelled-as-neighbour", + ), +) +def test_weekly_rent_independent_map_rejects_six_mutants( + mutated_weekly_rent_package, kind +): + with pytest.raises(AssertionError, match="selected"): + _assert_publisher_map("02", mutated_weekly_rent_package(kind)) + + +@pytest.mark.parametrize( + ("code", "value_id", "expected"), + ( + ("NZ", "1", 89439), + ("NZ", "2", 53325), + ("NZ", "3", 80247), + ("NZ", "4", 101067), + ("NZ", "5", 99042), + ("NZ", "6", 68544), + ("NZ", "7", 32286), + ("NZ", "8", 35712), + ("NZ", "median", 450), + ("02", "1", 28113), + ("02", "2", 9909), + ("02", "3", 16734), + ("02", "4", 28827), + ("02", "5", 42645), + ("02", "6", 37143), + ("02", "7", 19629), + ("02", "8", 22899), + ("02", "median", 540), + ), +) +def test_weekly_rent_exact_publisher_cells(code, value_id, expected): + published = next(row for row in PUBLISHED_ROWS if row[1] == value_id) + fact = next( + fact + for fact in _facts(code) + if fact.source_record_id == _record_id(code, published) + ) + assert Decimal(_publisher_rows(code)[published[6]]["value"]) == expected + assert fact.value == expected + assert fact.layout.groupby_value_label == _label(published) + + +@pytest.mark.parametrize("code", [place[0] for place in PLACES]) +def test_weekly_rent_all_member_source_suites_validate_contract_and_preservation( + tmp_path, code +): + output = tmp_path / _alias(code) + try: + report = build_source_suite(_package(code).package_path, output, year=2023) + assert report.valid, report.to_dict() + assert report.source_rows.row_count == 2030 + assert report.facts.fact_count == report.consumer_facts.fact_count == 9 + assert report.source_records.lineage_coverage == 1 + assert report.agent_acceptance.valid + assert all(report.agent_acceptance.checks.values()) + finally: + # Only one small single-source suite is retained at a time. + shutil.rmtree(output, ignore_errors=True) From 239bf84d025fc98861196731c10e1e447d902f65 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Mon, 12 Oct 2026 04:49:45 -0400 Subject: [PATCH 2/2] Add the weekly-rent family to the NZ bundle suite #340 added a curated NZ roster whose drift guard requires every alias under the NZ publisher prefixes. After merging main, the 18 stats-nz-census-2023-weekly-rent members failed it, as intended. This adds them to NZ_BUNDLE_SOURCES (48 -> 66 packages) and to the test's Census roots (36 -> 54 Census members), and notes the suite in the changelog fragment. Co-Authored-By: Claude Opus 5.5 --- .../nz-census-2023-weekly-rent.added.md | 2 +- chronicle/bundle.py | 18 ++++++++++++++++++ tests/test_source_package_alias_drift.py | 9 +++++---- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/changelog.d/nz-census-2023-weekly-rent.added.md b/changelog.d/nz-census-2023-weekly-rent.added.md index 7e9d7b24..abbeb33f 100644 --- a/changelog.d/nz-census-2023-weekly-rent.added.md +++ b/changelog.d/nz-census-2023-weekly-rent.added.md @@ -5,4 +5,4 @@ unchanged, already published Place summaries artifacts and manifests; label every dimension and value, retain confidentiality/status lineage, and pin the table median rather than its duplicate quick statistic. Preserve other years, percentages and Māori-ethnic-group sections without emitting them; -record unstated rent-population and regional-boundary definitions. +record unstated rent-population and regional-boundary definitions. The 18 members join the curated NZ bundle suite (`--suite nz`), which now has 66 packages. diff --git a/chronicle/bundle.py b/chronicle/bundle.py index 782c1775..ba00d870 100644 --- a/chronicle/bundle.py +++ b/chronicle/bundle.py @@ -351,6 +351,24 @@ "stats-nz-census-2023-households-by-region-rc-17", "stats-nz-census-2023-households-by-region-rc-18", "stats-nz-census-2023-households-by-region-rc-99", + "stats-nz-census-2023-weekly-rent", + "stats-nz-census-2023-weekly-rent-rc-01", + "stats-nz-census-2023-weekly-rent-rc-02", + "stats-nz-census-2023-weekly-rent-rc-03", + "stats-nz-census-2023-weekly-rent-rc-04", + "stats-nz-census-2023-weekly-rent-rc-05", + "stats-nz-census-2023-weekly-rent-rc-06", + "stats-nz-census-2023-weekly-rent-rc-07", + "stats-nz-census-2023-weekly-rent-rc-08", + "stats-nz-census-2023-weekly-rent-rc-09", + "stats-nz-census-2023-weekly-rent-rc-12", + "stats-nz-census-2023-weekly-rent-rc-13", + "stats-nz-census-2023-weekly-rent-rc-14", + "stats-nz-census-2023-weekly-rent-rc-15", + "stats-nz-census-2023-weekly-rent-rc-16", + "stats-nz-census-2023-weekly-rent-rc-17", + "stats-nz-census-2023-weekly-rent-rc-18", + "stats-nz-census-2023-weekly-rent-rc-99", "stats-nz-household-net-worth-2024", "stats-nz-subnational-population-estimates-2025", "treasury-an24-01-fiscal-totals", diff --git a/tests/test_source_package_alias_drift.py b/tests/test_source_package_alias_drift.py index 0a21705c..1c9620aa 100644 --- a/tests/test_source_package_alias_drift.py +++ b/tests/test_source_package_alias_drift.py @@ -58,6 +58,7 @@ NZ_CENSUS_ROOTS = ( "stats-nz-census-2023-family-type", "stats-nz-census-2023-households-by-region", + "stats-nz-census-2023-weekly-rent", ) NZ_CENSUS_MEMBERS = tuple( alias @@ -162,14 +163,14 @@ def test_nz_bundle_sources_match_nz_prefixed_aliases(): ) assert NZ_BUNDLE_SOURCE_PREFIXES == ("ird", "mbie", "msd", "stats_nz", "treasury") - assert len(NZ_BUNDLE_SOURCES) == 48 + assert len(NZ_BUNDLE_SOURCES) == 66 assert NZ_BUNDLE_SOURCES == expected == nz_bundle_sources_from_aliases() assert_nz_bundle_sources_match_aliases() def test_nz_bundle_sources_include_every_census_place_summary_package(): - """All 36 Census 2023 place-summary packages, roots and rc_XX children.""" - assert len(NZ_CENSUS_MEMBERS) == len(set(NZ_CENSUS_MEMBERS)) == 36 + """All 54 Census 2023 place-summary packages, roots and rc_XX children.""" + assert len(NZ_CENSUS_MEMBERS) == len(set(NZ_CENSUS_MEMBERS)) == 54 assert set(NZ_CENSUS_MEMBERS) <= set(NZ_BUNDLE_SOURCES) census_in_suite = { alias for alias in NZ_BUNDLE_SOURCES if alias.startswith("stats-nz-census-") @@ -192,7 +193,7 @@ def test_nz_bundle_sources_cover_every_nz_package_on_disk(): for manifest in (root / prefix).rglob("source_package.yaml") } - assert len(on_disk) == 48 + assert len(on_disk) == 66 assert on_disk == {SOURCE_PACKAGE_ALIASES[alias] for alias in NZ_BUNDLE_SOURCES}