census_2023_electoral_mb_v2
2023 Census general and Māori electoral populations at meshblock level (2025 boundaries v2).
~57.5k meshblocks. From Stats NZ.
Source: Stats NZ ↗ ·Last updated: 2026-06-13 ·Updated static ·57,553 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("census_2023_electoral_mb_v2", start = "2020-01-01")
# pip install eolas-data
from eolas_data import Client
df = Client("your_key").get("census_2023_electoral_mb_v2", start="2020-01-01")
curl "https://api.eolas.nz/v1/datasets/census_2023_electoral_mb_v2/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 |
|---|---|---|
| meshblock_id_2025_v2 | string | Meshblock ID 2025 v2 |
| general_electoral_population | long | General electoral population |
| maori_electoral_population | long | Maori electoral population |
| general_electoral_district_code_2025 | string | General electoral district code 2025 |
| general_electoral_district_name_2025 | string | General electoral district name 2025 |
| general_electoral_district_name_ascii_2025 | string | General electoral district name ascii 2025 |
| maori_electoral_district_code_2025 | string | Maori electoral district code 2025 |
| maori_electoral_district_name_2025 | string | Maori electoral district name 2025 |
| maori_electoral_district_name_ascii_2025 | string | Maori electoral district name ascii 2025 |
| 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("census_2023_electoral_mb_v2")
head(df)
df <- eolas_get("census_2023_electoral_mb_v2", start = "2020-01-01", end = "2024-12-31")
head(df)
df <- eolas_get("census_2023_electoral_mb_v2")
write.csv(df, "census_2023_electoral_mb_v2.csv", row.names = FALSE)
geometry_wkt
— fetch via the API or download CSV to get the full data.| Meshblock Id 2025 V2 | General Electoral Population | Maori Electoral Population | General Electoral District Code 2025 | General Electoral District Name 2025 | General Electoral District Name Ascii 2025 | Maori Electoral District Code 2025 | Maori Electoral District Name 2025 | Maori Electoral District Name Ascii 2025 | Land Area Sq Km | Area Sq Km | Shape Length | Shape Area |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4008172 | 111 | 15 | 020 | Kapiti | Kapiti | 4 | Te Tai Hauāuru | Te Tai Hauauru | 0.1060 | 0.1060 | 2180.2456 | 105,987.6505 |
| 4008173 | 102 | 18 | 002 | Banks Peninsula | Banks Peninsula | 6 | Te Tai Tonga | Te Tai Tonga | 0.0619 | 0.0619 | 1165.5857 | 61,914.4706 |
| 4008174 | 87 | 24 | 002 | Banks Peninsula | Banks Peninsula | 6 | Te Tai Tonga | Te Tai Tonga | 0.0208 | 0.0208 | 696.5225 | 20,796.4900 |
| 4008175 | 72 | -999 | 002 | Banks Peninsula | Banks Peninsula | 6 | Te Tai Tonga | Te Tai Tonga | 0.0228 | 0.0228 | 642.3696 | 22,788.7787 |
| 4008176 | 63 | 6 | 005 | Christchurch East | Christchurch East | 6 | Te Tai Tonga | Te Tai Tonga | 0.0218 | 0.0218 | 931.3973 | 21,846.5670 |
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