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 = "16-A-0012" 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
91f86981b9254d13 CAPTIVA KENNEL L L C 16-A-0012 2019-09-05   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eggvj&d=%2Fa%2F3d000000pdel%2FxvNVHvpeTPeaEXEsixjURKe0n.AYjyJcw6bue3dOoUI&asPdf=false pdfs/16-A-0012_2019-09-05_91f86981b9254d13.pdf match c7055421cfd73a6c67f65e58878157a6d35bb3534289e8ea66b086e9df2ed2aa
ba0ac7d01f34f0d2 CAPTIVA KENNEL L L C 16-A-0012 2019-03-06   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbYj&d=%2Fa%2F3d000000pkjs%2FxJ11Od_tDi2ePhnsZw83tsDXxxWqSw_W5rExVA3tBUA&asPdf=false pdfs/16-A-0012_2019-03-06_ba0ac7d01f34f0d2.pdf match 8135445014abaabeeda0d9d99034fd67119116557866c62c55f2b5a17f15f062

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.024ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API · Privacy