claritystorm commited on
Commit
1f9b17c
·
verified ·
1 Parent(s): c8cd3ef

Update README

Browse files
Files changed (1) hide show
  1. README.md +48 -22
README.md CHANGED
@@ -18,26 +18,53 @@ size_categories:
18
 
19
  # OSHA Workplace Injuries & Illness 2016–2023
20
 
21
- Every establishment-level workplace injury and illness record submitted to the OSHA
22
- Injury Tracking Application (ITA) since 2016cleaned, deduplicated, and structured
23
- for analysis. 2.38 million records across 8 survey years covering 600K+ unique
24
- establishments with NAICS codes, DART/TCIR rates, and detailed injury/illness breakdowns.
25
 
26
- **This repository contains a 1,000-row sample (Public Domain).**
27
- Full dataset (CSV + Parquet) available at [claritystorm.com/datasets/osha-injuries](https://claritystorm.com/datasets/osha-injuries).
 
 
 
 
 
 
28
 
29
  ## Quick Start
30
 
31
  ```python
32
  from datasets import load_dataset
 
 
 
33
  ds = load_dataset("claritystorm/osha-workplace-injuries")
 
34
 
35
- import pandas as pd
36
- df = pd.read_csv("sample_1000.csv")
37
  print(df.groupby("survey_year")["total_deaths"].sum())
38
- print(df.groupby("survey_year")["dart_rate"].mean())
 
 
 
 
 
 
 
 
 
 
39
  ```
40
 
 
 
 
 
 
 
 
 
 
41
  ## Schema (selected fields)
42
 
43
  | Field | Type | Description |
@@ -45,33 +72,32 @@ print(df.groupby("survey_year")["dart_rate"].mean())
45
  | survey_year | int | OSHA reporting year (2016–2023) |
46
  | estab_name | string | Establishment name |
47
  | company_name | string | Parent company name |
48
- | street_address | string | Street address |
49
- | city | string | City |
50
  | state | string | US state (2-letter code) |
51
- | naics_code | string | 6-digit NAICS code (zero-padded) |
52
  | industry_description | string | Industry description |
53
  | size_class | string | Establishment size class |
54
  | annual_average_employees | int | Annual average employee count |
55
  | total_hours_worked | int | Total hours worked |
56
- | no_injuries_illnesses | int | 1 if no recordable injuries/illnesses |
57
  | total_deaths | int | Total workplace deaths |
58
  | total_dafw_cases | int | Days Away From Work cases |
59
- | total_djtr_cases | int | Job Transfer or Restriction cases |
60
- | total_other_cases | int | Other recordable cases |
61
- | total_dafw_days | int | Days away from work |
62
- | total_djtr_days | int | Days of job transfer or restriction |
63
  | total_injuries | int | Total injuries |
64
- | total_poisonings | int | Poisoning cases |
65
- | total_hearing_loss | int | Hearing loss cases |
66
- | total_other_illnesses | int | Other illness cases |
67
  | total_resp_conditions | int | Respiratory condition cases |
68
- | total_skin_disorders | int | Skin disorder cases |
69
  | dart_rate | float | DART rate per 100 FTE (derived) |
70
  | tcir_rate | float | TCIR rate per 100 FTE (derived) |
71
 
 
 
 
 
 
 
 
 
 
 
72
  ## Source
73
 
74
  US Occupational Safety and Health Administration (OSHA), Injury Tracking Application (ITA).
75
  OSHA ITA data is a US federal government work in the **public domain** (17 U.S.C. 105).
76
 
77
- Processed by [ClarityStorm Data](https://claritystorm.com).
 
18
 
19
  # OSHA Workplace Injuries & Illness 2016–2023
20
 
21
+ Every establishment-level workplace injury and illness record submitted to the OSHA Injury Tracking Application (ITA) since 2016.
22
+ **2.38 million records** across 8 survey years covering 600K+ unique establishments with NAICS codes, DART/TCIR rates, and detailed injury/illness breakdowns.
23
+ The only public dataset linking individual establishment safety performance to industry benchmarks.
 
24
 
25
+ | 📊 Records | 📅 Coverage | 🏷️ License | 🔄 Updated |
26
+ |-----------|-------------|-----------|-----------|
27
+ | 2.38M+ records | 2016–2023 (8 years) | Public Domain | Annual |
28
+
29
+ **This repo contains a free 1,000-row sample.**
30
+ Full dataset (CSV + Parquet) → **[claritystorm.com/datasets/osha-injuries](https://claritystorm.com/datasets/osha-injuries)**
31
+
32
+ ---
33
 
34
  ## Quick Start
35
 
36
  ```python
37
  from datasets import load_dataset
38
+ import pandas as pd
39
+
40
+ # Load the 1,000-row sample
41
  ds = load_dataset("claritystorm/osha-workplace-injuries")
42
+ df = ds["train"].to_pandas()
43
 
44
+ # Total workplace deaths by year
 
45
  print(df.groupby("survey_year")["total_deaths"].sum())
46
+
47
+ # Industries with highest average DART rate
48
+ print(df.groupby("industry_description")["dart_rate"].mean()
49
+ .sort_values(ascending=False).head(10))
50
+
51
+ # Establishments with zero injuries (benchmark group)
52
+ safe_pct = df["no_injuries_illnesses"].mean() * 100
53
+ print(f"Establishments with zero injuries: {safe_pct:.1f}%")
54
+
55
+ # Size class distribution
56
+ print(df["size_class"].value_counts())
57
  ```
58
 
59
+ ## Use Cases
60
+
61
+ - **Workplace safety risk scoring** — predict DART/TCIR rates from NAICS code, size class, and historical performance
62
+ - **ESG & responsible investing** — screen company supply chains and subsidiaries for OSHA safety performance
63
+ - **Insurance underwriting** — establishment-level injury rates for workers' compensation risk modeling
64
+ - **OSHA compliance benchmarking** — compare an establishment's safety record to industry averages
65
+ - **Industry safety trend analysis** — 8-year panel data tracks safety improvements and deterioration by sector
66
+ - **Human capital ML** — injury/illness rates as a feature for company quality and labor conditions scoring
67
+
68
  ## Schema (selected fields)
69
 
70
  | Field | Type | Description |
 
72
  | survey_year | int | OSHA reporting year (2016–2023) |
73
  | estab_name | string | Establishment name |
74
  | company_name | string | Parent company name |
 
 
75
  | state | string | US state (2-letter code) |
76
+ | naics_code | string | 6-digit NAICS code |
77
  | industry_description | string | Industry description |
78
  | size_class | string | Establishment size class |
79
  | annual_average_employees | int | Annual average employee count |
80
  | total_hours_worked | int | Total hours worked |
 
81
  | total_deaths | int | Total workplace deaths |
82
  | total_dafw_cases | int | Days Away From Work cases |
 
 
 
 
83
  | total_injuries | int | Total injuries |
 
 
 
84
  | total_resp_conditions | int | Respiratory condition cases |
 
85
  | dart_rate | float | DART rate per 100 FTE (derived) |
86
  | tcir_rate | float | TCIR rate per 100 FTE (derived) |
87
 
88
+ ## ⬇️ Get the Full Dataset
89
+
90
+ | Tier | Price | Includes |
91
+ |------|-------|----------|
92
+ | Sample | Free | 1,000 rows, Public Domain (this repo) |
93
+ | Complete | $79 | Full 2.38M+ rows, CSV + Parquet, commercial license |
94
+ | Annual | $149/yr | Complete + annual updates |
95
+
96
+ 👉 **[Purchase at claritystorm.com/datasets/osha-injuries](https://claritystorm.com/datasets/osha-injuries)**
97
+
98
  ## Source
99
 
100
  US Occupational Safety and Health Administration (OSHA), Injury Tracking Application (ITA).
101
  OSHA ITA data is a US federal government work in the **public domain** (17 U.S.C. 105).
102
 
103
+ Processed and structured by [ClarityStorm Data](https://claritystorm.com).