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

5 rows where cert_number = "57-A-0199" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_count, direct_count, teachable_moment_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
c6e84f1cfbaa86cb WALTER TERHUNE 57-A-0199 2020-01-22   0 2 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgVoM&d=%2Fa%2F3d000000pV3Y%2Ff71hEwNKFqlouqv6stHiX5LFP4cqUheVu_nNsJyc0X4&asPdf=false  
b2310cee6276f283 WALTER TERHUNE 57-A-0199 2019-10-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egfoi&d=%2Fa%2F3d000000pRxS%2F4iupqdB8k4acjdS1J4cakPVtkYykjM2utnEfys3SAV8&asPdf=false  
9c018ae7655c7bf9 WALTER TERHUNE 57-A-0199 2019-10-08   0 0 4 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnwOl&d=%2Fa%2F3d000000pdt6%2FINroyR35FgJ6XMGX6sBrDOpU89hG_9_blhTNmsL9Hmo&asPdf=false  
dab4bff4e846c68c WALTER TERHUNE 57-A-0199 2018-09-27   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjK2&d=%2Fa%2F3d000000ppJQ%2FZxDaVIFV1ua0Fyur4AC5v_AxNFij26KjJW5QAKy1wT4&asPdf=false  
ee49f6c85ffa8742 WALTER TERHUNE 57-A-0199 2015-06-02   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYjo&d=%2Fa%2F3d000000plan%2FBCNZKeLimlwNFDbX3sC1apTwd5Ic2DHBHbtGIivqzJQ&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 88.844ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API