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 = "35-B-0227" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_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
7d5cbf5ecfbc14f5 David Lapp 35-B-0227 2023-07-06   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d0000093d0T&d=%2Fa%2F3d000001PMsD%2Fyt0YAMhPem2nRSoxGKc8_5dEPWNtwxRbBMnX5z9LG3E&asPdf=false  
72ebeb4a489f60e4 David Lapp 35-B-0227 2023-04-14   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d0000087rMI&d=%2Fa%2F3d0000016zJ8%2FnJTMqXG5TNhYwSg5E.NFdBjNc4h4fFNwpiI3pxtGNtI&asPdf=false  
1492e4879f1c0e5b David Lapp 35-B-0227 2021-11-22   0 2 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8f3o&d=%2Fa%2F3d000000pgnf%2Fuao.65EusbSsk5EfkErfF8zLV_KV4muiu8Vn15.s_To&asPdf=false  
e53351629b93f23b David Lapp 35-B-0227 2021-09-29   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PNQvb&d=%2Fa%2F3d000000plhV%2Fy2azGqD3UuIKBKwNvbDtGZ9doVl3RYM04_Ya5AavEkw&asPdf=false  
787e4df76d62c7d2 David Lapp 35-B-0227 2021-06-28   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMOsB&d=%2Fa%2F3d000000pS3l%2FfV91uSJYC9KhfYreKOD2TM1_vYtg9PIyh_arI8lgZhE&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 513.194ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API