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 = "23-A-0623" 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
854f7e7eaefc4d71 AMMON MARTIN 23-A-0623 2019-03-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkXh&d=%2Fa%2F3d000000pVAy%2F9mPz_M5k6Tq1XgMJLqUz9srBBrhJRbkLwUy_tt_cgQ8&asPdf=false  
aff215eb04267ffb AMMON MARTIN 23-A-0623 2018-02-21   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkbL&d=%2Fa%2F3d000000poxv%2FnYuxew.Z3BycZCVf3yjDqANRX3vigRAPZheyB8xiKZo&asPdf=false  
afadfe09956181d3 AMMON MARTIN 23-A-0623 2017-02-21   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egkig&d=%2Fa%2F3d000000plZt%2FPS03w2zcf5VE4L1oNXcRdb6yzaZ7SEs0t9PImCnwjwk&asPdf=false  
c165ba09cb6cf9c5 AMMON MARTIN 23-A-0623 2016-04-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXnb&d=%2Fa%2F3d000000pkGL%2F1u3jQhPXIDlaGcM4uBB8SZPOCt2MaweGFZxNQUk1Fjk&asPdf=false  
f5977321a6879892 AMMON MARTIN 23-A-0623 2015-10-20   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdQ5&d=%2Fa%2F3d000000pgjt%2FdE9Aqzr6itUbVifZlbYJEqfrwQWW1uhPkRaiuKErG.4&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 647.573ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API