Browse data › Stats NZ › 2018 Census — Dwellings by SA2

2018 Census — Dwellings by SA2

census_2018_dwellings_sa2

2018 Census occupied and unoccupied private dwellings at Statistical Area 2 level.

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 ·2,253 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_dwellings_sa2", 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_dwellings_sa2
Data source
Stats NZ
Pipeline last ran
2026-06-13
Refresh cadence
static
API endpoint
https://api.eolas.nz/v1/datasets/census_2018_dwellings_sa2/data

Columns (15)

schema glossary · auto-generated
Column Type Description
sa2_code_2018 string Sa2 code 2018
sa22018_v1_name string Sa22018 v1 name
land_area_sq_km double Land area sq km
area_sq_km double Area sq km
occupied_private_dwellings_2006 long Occupied private dwellings 2006
occupied_private_dwellings_2013 long Occupied private dwellings 2013
occupied_private_dwellings_2018 long Occupied private dwellings 2018
occupied_private_dwellings_percent_change_2013_2018 double Occupied private dwellings percent change 2013 2018
unoccupied_private_dwellings_2006 long Unoccupied private dwellings 2006
unoccupied_private_dwellings_2013 long Unoccupied private dwellings 2013
unoccupied_private_dwellings_2018 long Unoccupied private dwellings 2018
unoccupied_private_dwellings_percent_change_2013_2018 double Unoccupied private dwellings percent change 2013 2018
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

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_dwellings_sa2")
head(df)
Filter by date range
df <- eolas_get("census_2018_dwellings_sa2", start = "2020-01-01", end = "2024-12-31")
head(df)
Download as CSV
df <- eolas_get("census_2018_dwellings_sa2")
write.csv(df, "census_2018_dwellings_sa2.csv", row.names = FALSE)

Data preview

Hidden in preview: geometry_wkt — fetch via the API or download CSV to get the full data.
Sa2 Code 2018Sa22018 V1 NameLand Area Sq KmArea Sq KmOccupied Private Dwellings 2006Occupied Private Dwellings 2013Occupied Private Dwellings 2018Occupied Private Dwellings Percent Change 2013 2018Unoccupied Private Dwellings 2006Unoccupied Private Dwellings 2013Unoccupied Private Dwellings 2018Unoccupied Private Dwellings Percent Change 2013 2018Shape LengthShape Area
100100North Cape826.7851826.785152257363310.518618621917.7415,921.1537826,783,934.125
100200Rangaunu Harbour272.1041272.10417297417774.99613817426.1149,824.7171272,101,933.506
100300Inlets Far North District0.0000625.972842607525.01293-66.71,359,238.5449625,980,631.595
100400Karikari Peninsula174.1808174.18084144804830.647754065721.7140,012.3462174,181,038.735
100500Tangonge177.2043177.2043345402393-2.2907566-12.0101,241.0853177,205,798.836

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

Related datasets

Questions about this dataset

How often is 2018 Census — Dwellings by SA2 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/103905.

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