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 = "31-B-0186" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
b08aa58155f991e6 ANDREW PRICE 31-B-0186 2019-08-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglgY&d=%2Fa%2F3d000000pWow%2Fz08RmU4PBHw0qAJ4WYda0b9xMnjFK1Fh57zM1Gt5gRs&asPdf=false  
02094b96badeb8ab ANDREW PRICE 31-B-0186 2018-08-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eghbk&d=%2Fa%2F3d000000pnk7%2F33uADO8LBVEIq7FdjMxR.hFOeTmsXEOtxhehFJ3zp4g&asPdf=false  
3d5c38e8c8c1697d ANDREW PRICE 31-B-0186 2017-09-28   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eglol&d=%2Fa%2F3d000000pkGX%2FB.hAhm4iEcG7_9Ox1l4jbi2BX0vfCPXoeYzM.gif6GU&asPdf=false  
8720f4f19a461669 ANDREW PRICE 31-B-0186 2017-06-27   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZpN&d=%2Fa%2F3d000000pWUB%2F8E9iQlrc8wL4U_nlhN8a5PpBslz4UWaaC.SCpp1b8hA&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 7.903ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API