nz_subdivision_2022
Historical Subdivision 2022 polygon boundaries — used for joining historical datasets to their original boundary vintage.
From Stats NZ.
Source: Stats NZ ↗ ·Last updated: 2026-06-13 ·Updated static ·145 rows
install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
library(eolas)
eolas_key("your_key")
df <- eolas_get("nz_subdivision_2022", start = "2020-01-01")
# pip install eolas-data
from eolas_data import Client
df = Client("your_key").get("nz_subdivision_2022", start="2020-01-01")
curl "https://api.eolas.nz/v1/datasets/nz_subdivision_2022/data?start=2020-01-01" \
-H "X-API-Key: your_key"
No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.
Centroids only — full geometry available via the API or CSV download.
| Column | Type | Description |
|---|---|---|
| territorial_authority_subdivision_code_2022 | string | Territorial authority subdivision code 2022 |
| territorial_authority_subdivision_name_2022 | string | Territorial authority subdivision name 2022 |
| territorial_authority_subdivision_name_ascii_2022 | string | Territorial authority subdivision name ascii 2022 |
| land_area_sq_km | double | Land area sq km |
| area_sq_km | double | Area sq km |
| shape_length | double | Geometry length/perimeter (source projection units) |
| shape_area | double | Polygon area (source projection units) |
| geometry_wkt | string | Geometry as WKT (WGS84) — MULTIPOLYGON/POINT/LINESTRING |
install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
library(eolas)
eolas_key("your_key_here")
df <- eolas_get("nz_subdivision_2022")
head(df)
df <- eolas_get("nz_subdivision_2022", start = "2020-01-01", end = "2024-12-31")
head(df)
df <- eolas_get("nz_subdivision_2022")
write.csv(df, "nz_subdivision_2022.csv", row.names = FALSE)
geometry_wkt
— fetch via the API or download CSV to get the full data.| Territorial Authority Subdivision Code 2022 | Territorial Authority Subdivision Name 2022 | Territorial Authority Subdivision Name Ascii 2022 | Land Area Sq Km | Area Sq Km | Shape Length | Shape Area |
|---|---|---|---|---|---|---|
| 03899 | Area Outside Subdivision | Area Outside Subdivision | 4483.9123 | 4483.9123 | 642,172.4044 | 4,483,911,631.6570 |
| 03999 | Area Outside Subdivision | Area Outside Subdivision | 2566.5865 | 2566.5865 | 334,958.9551 | 2,566,585,322.6281 |
| 04099 | Area Outside Subdivision | Area Outside Subdivision | 394.7431 | 394.7431 | 108,520.8201 | 394,740,682.7807 |
| 04199 | Area Outside Subdivision | Area Outside Subdivision | 4364.6507 | 4364.6507 | 421,649.8166 | 4,364,615,953.2335 |
| 04299 | Area Outside Subdivision | Area Outside Subdivision | 1063.9061 | 1063.9061 | 161,936.3280 | 1,063,907,007.5448 |
Showing 5 sample rows. Get an API key to access the full dataset.
No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.
Start 14-day trial