home / aphis

inspections

APHIS inspection records for licensed facilities. 110,000+ inspections from 2014–present with violation counts and links to official reports.

Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API

2 rows where cert_number = "34-R-0032" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

inspection_type 0

id cert_number inspection_date ▲ inspection_type critical_count noncritical_count direct_count teachable_moment_count pdf_url pdf_local_path cert_verification pdf_sha256
09f4b4106e9daf7a DOW CORNING CORPORATION 34-R-0032 2015-12-10   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmXW&d=%2Fa%2F3d000000pUVp%2FNUjQvKJSoediwIe0wDH.77A3FKpEo38Zu3ik7UK0htc&asPdf=false pdfs/34-R-0032_2015-12-10_09f4b4106e9daf7a.pdf match 0a331b6492dfe0cb3b08662eda39b6591d5224fbae1a48df57e29a6d34fb4781
1f49d249c20fa1a3 DOW CORNING CORPORATION 34-R-0032 2015-01-14   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egm8k&d=%2Fa%2F3d000000plgx%2FY9MB9paJ9Zlkl546.E5u7rU4KvEnNX5f3zGcIaMAtxg&asPdf=false pdfs/34-R-0032_2015-01-14_1f49d249c20fa1a3.pdf match 720217cb0e0cbc8b9550d9a632d324a680134e02a45ef4562b68428c825c72d5

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE inspections (
    id TEXT PRIMARY KEY,
    cert_number TEXT REFERENCES facilities(cert_number),
    inspection_date TEXT,
    inspection_type TEXT,
    critical_count INTEGER,
    noncritical_count INTEGER,
    direct_count INTEGER,
    teachable_moment_count INTEGER,
    pdf_url TEXT,
    pdf_local_path TEXT
, cert_verification TEXT, pdf_sha256 TEXT);
CREATE INDEX idx_inspections_date ON inspections(inspection_date);
CREATE INDEX idx_inspections_cert ON inspections(cert_number);
Powered by Datasette · Queries took 1.008ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API · Privacy