census_2018_dwellings_ta
2018 Census occupied and unoccupied private dwellings at territorial authority/local board level.
From Stats NZ.
Source: Stats NZ ↗ ·Last updated: 2026-06-13 ·Updated static ·88 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_ta", start = "2020-01-01")
# pip install eolas-data
from eolas_data import Client
df = Client("your_key").get("census_2018_dwellings_ta", start="2020-01-01")
curl "https://api.eolas.nz/v1/datasets/census_2018_dwellings_ta/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_local_board_code_2018 | string | Territorial authority local board code 2018 |
| territorial_authority_local_board_name_2018 | string | Territorial authority local board name 2018 |
| 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 |
| 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 |
| occupied_private_dwellings_percent_change_2013_2018 | double | Occupied 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 |
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_2018_dwellings_ta")
head(df)
df <- eolas_get("census_2018_dwellings_ta", start = "2020-01-01", end = "2024-12-31")
head(df)
df <- eolas_get("census_2018_dwellings_ta")
write.csv(df, "census_2018_dwellings_ta.csv", row.names = FALSE)
geometry_wkt
— fetch via the API or download CSV to get the full data.| Territorial Authority Local Board Code 2018 | Territorial Authority Local Board Name 2018 | Land Area Sq Km | Area Sq Km | Occupied Private Dwellings 2006 | Occupied Private Dwellings 2013 | Occupied Private Dwellings 2018 | Unoccupied Private Dwellings 2006 | Unoccupied Private Dwellings 2013 | Unoccupied Private Dwellings 2018 | Unoccupied Private Dwellings Percent Change 2013 2018 | Occupied Private Dwellings Percent Change 2013 2018 | Shape Length | Shape Area |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 03300 | New Plymouth District | 2205.5248 | 2205.5248 | 26,748 | 29,343 | 31,092 | 1959 | 2238 | 2487 | 11.1 | 6.0 | 376,132.5252 | 2,205,524,111.14 |
| 03400 | Stratford District | 2163.4188 | 2163.4188 | 3,408 | 3,552 | 3,699 | 342 | 348 | 357 | 2.6 | 4.1 | 410,550.7084 | 2,163,416,161.62 |
| 03500 | South Taranaki District | 3575.1368 | 3575.1368 | 10,194 | 10,386 | 10,707 | 1083 | 1299 | 1248 | -3.9 | 3.1 | 374,571.4033 | 3,575,136,917.03 |
| 03600 | Ruapehu District | 6734.4050 | 6734.4050 | 4,947 | 4,659 | 4,665 | 1797 | 2409 | 2343 | -2.7 | 0.1 | 646,031.1805 | 6,734,408,347.75 |
| 03700 | Whanganui District | 2373.2576 | 2373.2576 | 17,046 | 17,388 | 18,153 | 1452 | 1839 | 1557 | -15.3 | 4.4 | 426,925.7500 | 2,373,261,601.33 |
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