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

2 rows where cert_number = "72-C-0230" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

inspection_type 0

id cert_number inspection_date ▲ inspection_type critical_count noncritical_count direct_count teachable_moment_count pdf_url pdf_local_path cert_verification pdf_sha256
160695e3828c653a Andria Fontenot Photography L L C 72-C-0230 2016-08-08   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmpB&d=%2Fa%2F3d000000pi9C%2FlfJ7Rr3V8CaKkDGeuCfQjo_vIf1HEYXdY39if2EBKpM&asPdf=false pdfs/72-C-0230_2016-08-08_160695e3828c653a.pdf match 79bf39583191a198b56e3151819c9609a9301440c15cff457cd91e198a3323c4
66d001cb10a9fe6f Andria Fontenot Photography L L C 72-C-0230 2015-03-16   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbR7&d=%2Fa%2F3d000000pmnA%2Fznpzu3X.JfQGSrTIgCkYKITKxzdCnKfLPexoIEfjABc&asPdf=false pdfs/72-C-0230_2015-03-16_66d001cb10a9fe6f.pdf match 364aa726d214e98b5100e4bbc29a4157366c2dfadebdf501bc80468ab2d672b6

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
, cert_verification TEXT, pdf_sha256 TEXT);
CREATE INDEX idx_inspections_date ON inspections(inspection_date);
CREATE INDEX idx_inspections_cert ON inspections(cert_number);
Powered by Datasette · Queries took 1.137ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API · Privacy