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

6 rows where cert_number = "42-A-1631" 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
2635ab59b90df82c Chris Banowetz 42-A-1631 2023-05-31   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008g8XK&d=%2Fa%2F3d000001HrY7%2F3rd3PvCTZjM6U6m13i_e_Db4jd7IihHbfSKAzDPB7cw&asPdf=false  
b75fbdb54c85f66d Chris Banowetz 42-A-1631 2023-05-23   0 2 1 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008WwjV&d=%2Fa%2F3d000001EZSy%2Fdfr6htFuK3n2ITQPZsFkrZ8pgtdqLF45yVczf1jMb2M&asPdf=false  
48ac5ca576165c0c Chris Banowetz 42-A-1631 2022-09-27   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awXMi&d=%2Fa%2F3d000000pZsu%2FIZle1_B09agWy8blp8qLXJtkz6hetxt3_2k.l0CCyqg&asPdf=false  
c4ef5ea4bbb4b13b Chris Banowetz 42-A-1631 2022-06-23   0 0 0 3 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000YxNx5&d=%2Fa%2F3d000000pZr5%2F_s6ke2ICyFpFuZf09R7UQW.mJW13iPgQRCSSTDi3meI&asPdf=false  
3ae4f66be40411d7 Chris Banowetz 42-A-1631 2020-03-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkM3&d=%2Fa%2F3d000000pZrg%2FzCl8ma8vhK50.EwCxoR1QPViHLO6uAFQJYQVNjPK6YQ&asPdf=false  
04cc416d94bd6d18 Chris Banowetz 42-A-1631 2019-09-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egaqu&d=%2Fa%2F3d000000pZtH%2FD9s1aymQYSgfHUDtQGRlQJhiiGm_TsQYAYoBQTQZg5Y&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.463ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API