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

4 rows where cert_number = "21-A-0227" 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
99917e859a06c88c Happy Teddy 21-A-0227 2025-03-31   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000Shuer&d=%2Fa%2FSJ000002xA0c%2FzRxDNNmPUQpL_zi.HwqqY9aQ8wl0ybl5aFifxCoP7kk&asPdf=false  
3a7120f1422751e3 Happy Teddy 21-A-0227 2024-06-05   0 3 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000E9uyF&d=%2Fa%2F3d0000035LVL%2FIHg0yZRPfuxBq6hizWsw9Foe3WZzg55HzJhRXrBNHjA&asPdf=false  
65e6e39d6bceba5d Happy Teddy 21-A-0227 2022-11-29   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000gP5PP&d=%2Fa%2F3d000000pdCG%2F_dwmzJQQyB7Bk2u3iWcX7vadAnTlckGYDIFjwQdLC74&asPdf=false  
151b55b222064149 Happy Teddy 21-A-0227 2022-10-05   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awclO&d=%2Fa%2F3d000000pcfK%2FC7kOQ_iPET.s0VQ0cPnpu36jK_JVj9DwGyU1utXQPWU&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 456.8ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API