worksafe_enforcement
Enforcement activities by WorkSafe NZ — improvement notices, prohibition notices, and prosecutions — by industry, region, and notice type.
From WorkSafe NZ Data Centre.
Source: WorkSafe NZ ↗ ·Last updated: 2026-05-09 ·Updated static ·37,477 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("worksafe_enforcement", start = "2020-01-01")
# pip install eolas-data
from eolas_data import Client
df = Client("your_key").get("worksafe_enforcement", start="2020-01-01")
curl "https://api.eolas.nz/v1/datasets/worksafe_enforcement/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.
| Column | Type | Description |
|---|---|---|
| year | string | Year |
| month | string | Month |
| month_year | string | Month year |
| notice_type | string | Notice type |
| aff2017 | string | Aff2017 |
| aff2017_lvl2 | string | Aff2017 lvl2 |
| industry_lvl1 | string | Industry lvl1 |
| industry_lvl2 | string | Industry lvl2 |
| industry_lvl3 | string | Industry lvl3 |
| industry_lvl4 | string | Industry lvl4 |
| local_government_region | string | Local government region |
| region | string | Region |
| count | string | Count |
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("worksafe_enforcement")
head(df)
df <- eolas_get("worksafe_enforcement", start = "2020-01-01", end = "2024-12-31")
head(df)
df <- eolas_get("worksafe_enforcement")
write.csv(df, "worksafe_enforcement.csv", row.names = FALSE)
| Year | Month | Month Year | Notice Type | Aff2017 | Aff2017 Lvl2 | Industry Lvl1 | Industry Lvl2 | Industry Lvl3 | Industry Lvl4 | Local Government Region | Region | Count |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2016 | 8 | 8-2016 | HSWA Improvement notice | Construction | Construction Services | Construction | Construction Services | Other Construction Services | Unknown | Waikato | Unknown | 1 |
| 2025 | 11 | 11-2025 | Sustained Compliance Letter | Construction | Construction Services | Construction | Construction Services | Building Completion Services | Plastering and Ceiling Services | Auckland | Unknown | 1 |
| 2020 | 11 | 11-2020 | Directive Letter | Construction | Building Construction | Construction | Building Construction | Residential Building Construction | House Construction | Taranaki | Unknown | 1 |
| 2024 | 11 | 11-2024 | HSWA Improvement notice | Construction | Building Construction | Construction | Building Construction | Non-Residential Building Construction | Non-Residential Building Construction | Bay of Plenty | Unknown | 1 |
| 2023 | 4 | 4-2023 | Directive Letter | Wholesale Trade | Motor Vehicle and Motor Vehicle Parts Wholesaling | Wholesale Trade | Motor Vehicle and Motor Vehicle Parts Wholesaling | Motor Vehicle and Motor Vehicle Parts Wholesaling | Motor Vehicle Dismantling and Used Parts Wholesaling | Auckland | Unknown | 1 |
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