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

6 rows where cert_number = "31-A-0387" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_count, inspection_date (date)

inspection_type 0

id cert_number inspection_date ▲ inspection_type critical_count noncritical_count direct_count teachable_moment_count pdf_url pdf_local_path
62f0141d8e372f72 BEN TROYER 31-A-0387 2020-03-11   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglRH&d=%2Fa%2F3d000000pTGM%2F7wBp1xaZp2tTlgk01UDt397AG5l2HWi5wVqJ1nJaEsw&asPdf=false  
5f7ed2fa5b5e18f8 BEN TROYER 31-A-0387 2018-12-12   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egka3&d=%2Fa%2F3d000000pmX6%2F.eyrHf5ARkpnRe8aqE.12LxgqLlajrJ.a2phhW71Btw&asPdf=false  
1256d20f2bf59d79 BEN TROYER 31-A-0387 2017-11-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egl0S&d=%2Fa%2F3d000000pndB%2FQpMjU4bO_cOM6niZbyWvf7RfROdR9qTLhjS7nstbZec&asPdf=false  
486727138e9d6a2c BEN TROYER 31-A-0387 2016-09-14   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglTd&d=%2Fa%2F3d000000pewW%2FJQS_wSNCH9uDSmwCRgHQWg6_m6Xvi124D6wMpdXEuLI&asPdf=false  
15d916243a194f73 BEN TROYER 31-A-0387 2015-07-14   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXP2&d=%2Fa%2F3d000000pS0P%2FDII_FEcVa11qLEHfsveOTkq_k0LxetZ_KY9kWO3Moz8&asPdf=false  
d5e663fa0d34da6a BEN TROYER 31-A-0387 2014-10-28   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkmG&d=%2Fa%2F3d000000pky6%2F.TFI43wYwL2BBoAfk8Ysa6KRl5wCaGXGcwxb_oZQTxY&asPdf=false  

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
);
CREATE INDEX idx_inspections_date ON inspections(inspection_date);
CREATE INDEX idx_inspections_cert ON inspections(cert_number);
Powered by Datasette · Queries took 392.96ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API