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 = "23-B-0181" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_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
f2d141b752fea197 MICHAEL BERRIGAN 23-B-0181 2019-06-19   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egcsr&d=%2Fa%2F3d000000plL6%2F9UUu.y.dwrE5yTkEti_b4dmsFd9yDNG5MCrkVs6MNMU&asPdf=false  
312c3bbf442eaad0 MICHAEL BERRIGAN 23-B-0181 2018-07-03   0 2 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnxQF&d=%2Fa%2F3d000000poLP%2FgDetC354i9Vj5KQiheVpE.YqYgsjm_oNrvBCa3GIKM8&asPdf=false  
97c219af52680236 MICHAEL BERRIGAN 23-B-0181 2018-02-14   0 2 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWYf&d=%2Fa%2F3d000000pXOO%2FMR6YqNiT8Z0Lj5fD22q.7oGPxKKU_lJr89ffLDh.2V4&asPdf=false  
8e3c8db3b2300426 MICHAEL BERRIGAN 23-B-0181 2016-12-22   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWy6&d=%2Fa%2F3d000000pmKx%2FngJpG1x8HFpYyJvRtI8TiKnkAf.kVjgkrkIlk.uCEUU&asPdf=false  
0fd1935f37dd747e MICHAEL BERRIGAN 23-B-0181 2016-01-13   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWYH&d=%2Fa%2F3d000000pUBl%2FcRPEFkZ2U3.wjKMQdCRKbNo_Em.UJEKsOHJHekI602U&asPdf=false  
d050cfcfb8ccea4d MICHAEL BERRIGAN 23-B-0181 2015-01-13   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgY2m&d=%2Fa%2F3d000000plt5%2FfVWxMn0b_0ZgwNdkeJa4DEY549Dai1ZPiLDFYgAIPM4&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 157.312ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API