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-0720" 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
38003d3160a1c69c Christian Smoker 23-A-0720 2022-07-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000YxbHH&d=%2Fa%2F3d000000pivl%2FjCqXVUvdf8ldnBQzbvdWRwfIr0KMn2frtSgpU_LIeYU&asPdf=false  
857c9f9042b85132 Christian Smoker 23-A-0720 2021-11-30   0 2 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8hSQ&d=%2Fa%2F3d000000pivp%2FYei0SaL79pOrejY1BhiKQTmIwkUsmsqQZtPuDcgCa7I&asPdf=false  
69364a3b426444de Christian Smoker 23-A-0720 2021-08-31   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PN439&d=%2Fa%2F3d000000pivD%2F1CB3ni4wvhHXcW7_uKdp8T_p.nfiZ2zvnNXD7K6vJ0o&asPdf=false  
15a3231c35847863 Christian Smoker 23-A-0720 2021-01-07   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ERgFL&d=%2Fa%2F3d000000piua%2FekhYdVuuWIfIdTjm2NxaOFNBeQ4lXpAMp306NxNS4zQ&asPdf=false  
c96b9c9095f1740f Christian Smoker 23-A-0720 2020-09-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EqpYD&d=%2Fa%2F3d000000pRdv%2FsCzAGilQbeG9U.vE7k8aSXvCA.7w.3WLyEloXUwtuSo&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 50.685ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API