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

7 rows where cert_number = "21-A-0224" 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
71ac0ef7d18e86ae Samuel J King 21-A-0224 2023-12-14   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000BKpYM&d=%2Fa%2F3d000002ElVv%2F93Y91A7fnf6wkAEX5e0rGE4cZqdJxT14sGTqW9mUYNE&asPdf=false  
d93d99845d42092d Samuel J King 21-A-0224 2023-10-30   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000Abp5A&d=%2Fa%2F3d0000024wGm%2FB.5EeVDCQ9wx8VNWR_xPMNbSTxeiiN82kU8D_gkFzC0&asPdf=false  
34a059f32f3418b4 Samuel J King 21-A-0224 2023-08-02   0 11 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000009QrC4&d=%2Fa%2F3d000001Za9b%2Fzud.LV6t.d71l6X4Zv0vuUxktBVtGtwG0718vleBdp4&asPdf=false  
bcf876e324b89677 Samuel J King 21-A-0224 2023-05-17   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008U4cC&d=%2Fa%2F3d000001DjmF%2FbglopIoLKG_x9PeowuUWTWr2tfzqcOnpvr2aJnDVgQM&asPdf=false  
0295b85c6f75af89 Samuel J King 21-A-0224 2023-04-24   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008CwHM&d=%2Fa%2F3d0000018TrU%2FLvYZSvMMa_6C3ITbK2KgsIKg2TE84aMvvb_luyQtLKI&asPdf=false  
621c538448c75cf2 Samuel J King 21-A-0224 2023-03-09   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d0000088lxC&d=%2Fa%2F3d0000017Gf2%2FJ3IuiCi1bN1K18YFpLY3riLZdl8YPbaatFXLgYFp3Ts&asPdf=false  
43bda102c04517d2 Samuel J King 21-A-0224 2022-07-11   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yxi1o&d=%2Fa%2F3d000000pjb4%2Ffb92hL9slHgmAV76HPro3qllPs4v0KIFvvTjDnyDu1M&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 3.848ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API