Browse data › Stats NZ › Agriculture: Livestock

Agriculture: Livestock

agr_livestock

Agricultural statistics from Stats NZ.

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

Source: Stats NZ ↗ ·Latest observation: 2025-01-01 ·Last updated: 2026-11-24 ·Updated annual ·19,626 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("agr_livestock", start = "2015-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.

Preview
1994-01-01 → 2025-01-01 · 25 dates, each averaged across breakdowns (19,626 rows)
Latest
509,219
min 431,248 max 928,215
Log in to download Start 14-day trial
Dataset ID
agr_livestock
Data source
Stats NZ
Latest observation
2025-01-01
Pipeline last ran
2026-11-24
Refresh cadence
annual
API endpoint
https://api.eolas.nz/v1/datasets/agr_livestock/data

Columns (5)

schema glossary · auto-generated
Column Type Description
date date Observation date
period string Time period
value double Value
area string Area
livestock string Livestock

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

Data preview

DatePeriodValueAreaLivestock
2025-01-0120253,716MarlboroughBeef cows/heifers NOT in calf over 1 year but under 2 years
2025-01-01202567,934Manawatu-WanganuiSteers over 1 year but under 2 years
2025-01-0120252,584NorthlandTotal deer
2025-01-0120252,615AucklandTotal horses
2025-01-0120257,260Hawkes BayFemale deer other

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

Related datasets

Questions about this dataset

How often is Agriculture: Livestock updated?
Stats NZ publishes it annual. eolas last refreshed it on 2026-11-24, and the latest observation is 2025-01-01.
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://explore.data.stats.govt.nz/vis?df%5Bds%5D=ds-nsiws-disseminate&df%5Bid%5D=AGR_AGR_003&df%5Bag%5D=STATSNZ.

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