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 = "48-B-0332" 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
9a534acce480f17f Star Smith 48-B-0332 2018-02-08   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egk05&d=%2Fa%2F3d000000pn9n%2Fq_DuaNTg_co3W.t6bl9_RGsKNHJjedouLrrz.G2CxC0&asPdf=false  
a8b879e9032173a0 Star Smith 48-B-0332 2017-03-01   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYt2&d=%2Fa%2F3d000000pWXe%2Fg7BnxZQQmfmOGxaz2kgYPc2yeIIQxn53oP3.ipFQpn8&asPdf=false  
76bbab54b0b6b901 Star Smith 48-B-0332 2016-04-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglDy&d=%2Fa%2F3d000000pXUW%2FnLEb3wJcVJqRK4.nLcSrjr_6LEHxolANa6OaGx6TbqQ&asPdf=false  
37795c70f289390f Star Smith 48-B-0332 2015-06-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglQq&d=%2Fa%2F3d000000pX2A%2F06UQdeddTFF0q2xrFhIm2._7LqO9YlgmN1XRqddWyGM&asPdf=false  
f8031ec4e8621357 Star Smith 48-B-0332 2014-08-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egldy&d=%2Fa%2F3d000000pfwu%2Fs8o4BOX4pwiaITHh3X5jGtwnvkCGwT_zgx4n1Uytl7o&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 1030.858ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API