nz_urban_rural_2023
Historical Urban Rural 2023 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 ·745 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_urban_rural_2023", start = "2020-01-01")
# pip install eolas-data
from eolas_data import Client
df = Client("your_key").get("nz_urban_rural_2023", start="2020-01-01")
curl "https://api.eolas.nz/v1/datasets/nz_urban_rural_2023/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 |
|---|---|---|
| urban_area_code_2023 | string | Urban area code 2023 |
| urban_rural_name_2023 | string | Urban rural name 2023 |
| urban_rural_name_ascii_2023 | string | Urban rural name ascii 2023 |
| indicative_urban_rural_code_2023 | string | Indicative urban rural code 2023 |
| indicative_urban_rural_name_2023 | string | Indicative urban rural name 2023 |
| 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) |
| urban_rural_code_2023 | string | Urban rural code 2023 |
| 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_urban_rural_2023")
head(df)
df <- eolas_get("nz_urban_rural_2023", start = "2020-01-01", end = "2024-12-31")
head(df)
df <- eolas_get("nz_urban_rural_2023")
write.csv(df, "nz_urban_rural_2023.csv", row.names = FALSE)
geometry_wkt
— fetch via the API or download CSV to get the full data.| Urban Area Code 2023 | Urban Rural Name 2023 | Urban Rural Name Ascii 2023 | Indicative Urban Rural Code 2023 | Indicative Urban Rural Name 2023 | Land Area Sq Km | Area Sq Km | Shape Length | Shape Area | Urban Rural Code 2023 |
|---|---|---|---|---|---|---|---|---|---|
| Pukenui | Pukenui | 21 | Rural settlement | 20.6950 | 20.6950 | 26,545.5940 | 20,695,223.9913 | 1001 | |
| Kaimaumau | Kaimaumau | 21 | Rural settlement | 37.0865 | 37.0865 | 32,229.2726 | 37,086,090.4913 | 1002 | |
| Tokerau Beach | Tokerau Beach | 21 | Rural settlement | 0.7796 | 0.7796 | 5,234.7766 | 779,588.7760 | 1003 | |
| Karikari | Karikari | 21 | Rural settlement | 6.6592 | 6.6592 | 18,409.8851 | 6,659,206.5629 | 1004 | |
| Kaitāia | Kaitaia | 14 | Small urban area | 8.4786 | 8.4786 | 16,162.1353 | 8,478,648.9642 | 1007 |
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