Upload 2 files
Browse files- README.md +74 -3
- fda_enforcement_linkage_sample_20260225.parquet +3 -0
README.md
CHANGED
|
@@ -1,3 +1,74 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# FDA Enforcement Linkage Dataset
|
| 2 |
+
|
| 3 |
+
A pre-joined, analysis-ready dataset connecting FDA inspection outcomes to enforcement actions, regulatory citations, and product recalls — covering **265,000+ inspections** across **129,000+ facilities** from 2008 to present.
|
| 4 |
+
|
| 5 |
+
## Why This Dataset Exists
|
| 6 |
+
|
| 7 |
+
FDA publishes inspection, citation, compliance, and recall data across 4-5 separate databases with no common key. Researchers, compliance teams, and analysts must manually cross-reference these systems to answer basic questions like:
|
| 8 |
+
|
| 9 |
+
- What happened after a facility failed an inspection?
|
| 10 |
+
- How long does FDA take to issue a Warning Letter after an OAI classification?
|
| 11 |
+
- Which CFR violations most frequently lead to recalls?
|
| 12 |
+
|
| 13 |
+
This dataset joins those sources into a single flat file.
|
| 14 |
+
|
| 15 |
+
## Schema
|
| 16 |
+
|
| 17 |
+
| Column | Type | Description |
|
| 18 |
+
|--------|------|-------------|
|
| 19 |
+
| `inspection_id` | int | DDAPI inspection identifier |
|
| 20 |
+
| `fei_number` | str | FDA Establishment Identifier |
|
| 21 |
+
| `firm_name` | str | Inspected facility name |
|
| 22 |
+
| `inspection_start_date` | date | Inspection start |
|
| 23 |
+
| `inspection_end_date` | date | Inspection end |
|
| 24 |
+
| `classification` | str | NAI / VAI / OAI |
|
| 25 |
+
| `product_category` | str | Drugs, Food/Cosmetics, Devices, Veterinary, etc. |
|
| 26 |
+
| `citation_count` | int | Number of CFR citations for this inspection |
|
| 27 |
+
| `cfr_violations` | str | Semicolon-delimited CFR references (e.g., "21 CFR 211.68(a)") |
|
| 28 |
+
| `citation_texts` | str | Full citation text descriptions |
|
| 29 |
+
| `compliance_action_type` | str | Warning Letter / Injunction / Seizure (null if none) |
|
| 30 |
+
| `compliance_action_date` | date | Date enforcement action was taken |
|
| 31 |
+
| `days_to_action` | int | Days between inspection end and enforcement action |
|
| 32 |
+
| `related_drug_recall_numbers` | str | Drug recall numbers within ±6mo–2yr of inspection |
|
| 33 |
+
| `related_drug_recall_statuses` | str | Status of related drug recalls |
|
| 34 |
+
| `related_drug_recall_count` | int | Count of related drug recalls |
|
| 35 |
+
| `related_device_recall_numbers` | str | Device recall numbers linked by firm + timing |
|
| 36 |
+
| `related_device_recall_count` | int | Count of related device recalls |
|
| 37 |
+
|
| 38 |
+
## Coverage
|
| 39 |
+
|
| 40 |
+
- **265,000+** inspection records
|
| 41 |
+
- **129,000+** unique facilities (by FEI number)
|
| 42 |
+
- **10,000+** Official Action Indicated (OAI) inspections
|
| 43 |
+
- **8,300+** inspections linked to compliance actions
|
| 44 |
+
- **4,000+** inspections linked to recalls
|
| 45 |
+
- **Date range**: October 2008 – present
|
| 46 |
+
- **Update frequency**: Quarterly
|
| 47 |
+
|
| 48 |
+
## Sources
|
| 49 |
+
|
| 50 |
+
All data derived from public FDA databases:
|
| 51 |
+
- [DDAPI Inspections & Classifications](https://datadashboard.fda.gov/ora/cd/inspections.htm)
|
| 52 |
+
- [DDAPI Inspection Citations](https://datadashboard.fda.gov/ora/cd/citations.htm)
|
| 53 |
+
- [DDAPI Compliance Actions](https://datadashboard.fda.gov/ora/cd/complianceactions.htm)
|
| 54 |
+
- [OpenFDA Drug Recalls](https://open.fda.gov/apis/drug/enforcement/)
|
| 55 |
+
- [OpenFDA Device Recalls](https://open.fda.gov/apis/device/enforcement/)
|
| 56 |
+
|
| 57 |
+
## Methodology
|
| 58 |
+
|
| 59 |
+
- Inspections linked to citations via `inspection_id`
|
| 60 |
+
- Compliance actions linked to inspections via `fei_number` + time proximity (action within 2 years of inspection end)
|
| 61 |
+
- Drug recalls linked via normalized firm name + time proximity (±6 months to 2 years)
|
| 62 |
+
- Device recalls linked via normalized firm name + time proximity (±6 months to 2 years)
|
| 63 |
+
|
| 64 |
+
## Sample
|
| 65 |
+
|
| 66 |
+
The `_sample` file contains a random 10% subset for evaluation purposes.
|
| 67 |
+
|
| 68 |
+
## License
|
| 69 |
+
|
| 70 |
+
Derived from U.S. government public data. The underlying data is in the public domain. This compiled and linked dataset is provided as-is.
|
| 71 |
+
|
| 72 |
+
## Contact
|
| 73 |
+
|
| 74 |
+
For the full dataset, custom queries, or API access, contact: [your email]
|
fda_enforcement_linkage_sample_20260225.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:749c509d94209150e3c50d5d47f322a73d79434393348416fb1419841c726374
|
| 3 |
+
size 1027972
|