Data structure
You will receive a .csv file containing one row of data per hour for each Statistical Area 2 (SA2) in the areas you have selected, for the date and time range you have selected.
The file contains a single header row, shown in the Field column below.
The Descriptions are from the Stats NZ Datafinder - Geographic Area Look Up
Field
Description
Sa2_2018_code
Statistical area 2 2018 code
region_2018_code
Regional council 2018 code
ta_2018_code
Territorial authority 2018 code
Time
Date/time (YYYY-MM-DD hh:mm:ss)
Count
Estimated population
Sample of a downloaded data file, including the header row:
sa2_2018_code, region_2018_code, ta_2018_code, time, count
232800,8,41,2018-02-01 00:00:00,2739
232800,8,41,2018-02-01 01:00:00,2706
232800,8,41,2018-02-01 02:00:00,2718
232800,8,41,2018-02-01 03:00:00,2685The Codes that are used in the data files relate to the official geographies from Stats NZ.
For a table of the codes, which can be used to lookup the label of the codes or used in a database join please download the official lookup table from Stats NZ Datafinder
The downloaded data files can also be used in geospatial, mapping or GIS software by downloading the geographic shape files, available in many formats from Stats NZ Datafinder:
Statistical Area 2 2018 Boundaries
Territorial authority 2018 Boundaries
Regional council 2018 Boundaries
For instructions on the use of Stats NZ Datafinder please use the ‘Help’ section of datafinder.stats.govt.nz
Last updated
Was this helpful?