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

8 rows where cert_number = "21-A-0217" 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
afa567cfb5760259 Joseph Schwartz 21-A-0217 2025-09-25   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000miUND&d=%2Fa%2FSJ0000064Ja5%2FTXgizu3_er95Fe4eajv9JT9z2hhld56CdiS1FiDrMgE&asPdf=false  
1960f7d114483da9 Joseph Schwartz 21-A-0217 2025-05-20   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000YZgU7&d=%2Fa%2FSJ000003yjtN%2FpH8NTQgdtK5dy75XoSIw8.2Om2udP4ynDMSzKyk0T1w&asPdf=false  
a5523062e8ba7a6b Joseph Schwartz 21-A-0217 2025-03-26   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000S6nMN&d=%2Fa%2FSJ000002rCwL%2FvEdNZmxghFUF_t4Fn57q.jg4IUqZNcNcZp7Ylv.rpNc&asPdf=false  
91d57ed2ced85847 Joseph Schwartz 21-A-0217 2024-08-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ000001zYid&d=%2Fa%2FSJ0000005bDR%2F6l7bSW1tgrHdowidKbglLixM3cFyZMlNsxukLYHPd8w&asPdf=false  
407395d68d02b211 Joseph Schwartz 21-A-0217 2024-05-21   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000DoW74&d=%2Fa%2F3d000002zK5c%2F8ULQC1vbAWqrlbY1U2XFNQlg3v7VI8Y2LmwIBy5KH40&asPdf=false  
fe3cf49dbcb51680 Joseph Schwartz 21-A-0217 2023-02-14   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000007dlLX&d=%2Fa%2F3d000000yFg5%2FrYBGRwrUC7fjcncR14ZbVtgiuoDoQRQqybeFc8wk8Aw&asPdf=false  
3f8bc89722021e0b Joseph Schwartz 21-A-0217 2022-03-31   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000YwU56&d=%2Fa%2F3d000000phHR%2FQXj0XJDcc.zj0Y1ep32tCzJG7JmZZ4c25sE_xromkZo&asPdf=false  
60a69e323bd9f3e2 Joseph Schwartz 21-A-0217 2021-09-16   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PNFED&d=%2Fa%2F3d000000pWUR%2F12GpQ1HOwuQUC.z2jkbo0YlVrvPzi2A0zOlfvFMt1QY&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 6.173ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API