Browse data › Stats NZ › 2018 Census — Electoral Population (Meshblock 2020)

2018 Census — Electoral Population (Meshblock 2020)

census_2018_electoral_mb_2020

2018 Census general and Māori electoral populations at meshblock level using 2020 boundaries.

From Stats NZ.

Cite as: Source: Stats NZ (www.stats.govt.nz), CC-BY 4.0.

Source: Stats NZ ↗ ·Last updated: 2026-06-13 ·Updated static ·53,582 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_2018_electoral_mb_2020", start = "2020-01-01")
Start 14-day trial Log in

No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.

Map preview
Showing 200 sample features
CRS
EPSG:4326

Centroids only — full geometry available via the API or CSV download.

Log in to download Start 14-day trial
Dataset ID
census_2018_electoral_mb_2020
Data source
Stats NZ
Pipeline last ran
2026-06-13
Refresh cadence
static
API endpoint
https://api.eolas.nz/v1/datasets/census_2018_electoral_mb_2020/data

Columns (13)

schema glossary · auto-generated
Column Type Description
meshblock_id_2020_v2 string Meshblock ID 2020 v2
general_electoral_population long General electoral population
maori_electoral_population long Maori electoral population
general_electoral_district_code_2020 string General electoral district code 2020
general_electoral_district_name_2020 string General electoral district name 2020
general_electoral_district_name_ascii_2020 string General electoral district name ascii 2020
maori_electoral_district_code_2020 string Maori electoral district code 2020
maori_electoral_district_name_2020 string Maori electoral district name 2020
maori_electoral_district_name_ascii_2020 string Maori electoral district name ascii 2020
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)
geometry_wkt string Geometry as WKT (WGS84) — MULTIPOLYGON/POINT/LINESTRING

How to query this dataset

Install the client library
install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
Fetch all data
library(eolas)
eolas_key("your_key_here")
df <- eolas_get("census_2018_electoral_mb_2020")
head(df)
Filter by date range
df <- eolas_get("census_2018_electoral_mb_2020", start = "2020-01-01", end = "2024-12-31")
head(df)
Download as CSV
df <- eolas_get("census_2018_electoral_mb_2020")
write.csv(df, "census_2018_electoral_mb_2020.csv", row.names = FALSE)

Data preview

Hidden in preview: geometry_wkt — fetch via the API or download CSV to get the full data.
Meshblock Id 2020 V2General Electoral PopulationMaori Electoral PopulationGeneral Electoral District Code 2020General Electoral District Name 2020General Electoral District Name Ascii 2020Maori Electoral District Code 2020Maori Electoral District Name 2020Maori Electoral District Name Ascii 2020Land Area Sq KmArea Sq KmShape Length
400797510518002Banks PeninsulaBanks Peninsula6Te Tai TongaTe Tai Tonga0.04600.04601423.7786
40079769312009East CoastEast Coast2Ikaroa-RāwhitiIkaroa-Rawhiti0.08890.08891431.8243
400851463-999002Banks PeninsulaBanks Peninsula6Te Tai TongaTe Tai Tonga0.05090.0509990.1201
4007966-999-999009East CoastEast Coast7WaiarikiWaiariki0.29340.29342329.8662
40079687878009East CoastEast Coast7WaiarikiWaiariki0.04990.0499891.5235

Showing 5 sample rows. Get an API key to access the full dataset.

Related datasets

Questions about this dataset

How often is 2018 Census — Electoral Population (Meshblock 2020) updated?
Stats NZ publishes it static. eolas last refreshed it on 2026-06-13.
Can I download the whole table?
Yes, on Pro and above as Parquet or CSV. During the trial you can query it through the API, up to 50,000 rows per request.
Where does the data come from?
Stats NZ. eolas loads it into typed, consistently named columns. See the original at https://datafinder.stats.govt.nz/layer/104578.

Ready to use this data?

No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.

Start 14-day trial