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

3 rows where cert_number = "51-C-0121" 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
6fa521373e5c0a74 MARY ELLEN CRUM 51-C-0121 2019-05-15   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdTV&d=%2Fa%2F3d000000pmq2%2FHTUO0Rf8QmUoKHju0VKITaj8j.HPsdoT1ulvfjZeGMA&asPdf=false pdfs/51-C-0121_2019-05-15_6fa521373e5c0a74.pdf match e9e86e13605443d32ae6a09f09bfed6ba0b3338fab6d55305d0f4c47e1685228
8ecc56a5308fbee9 MARY ELLEN CRUM 51-C-0121 2018-05-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egf9D&d=%2Fa%2F3d000000poBD%2FIjoR62InuuB8dfcBOk8WFztHwHGP_yIo2uClpvGyMdQ&asPdf=false pdfs/51-C-0121_2018-05-02_8ecc56a5308fbee9.pdf match 941040d7eb3b53852cf08c8e6062fa81a1be329b13db175f181b963165e744dd
7958d0e587925038 MARY ELLEN CRUM 51-C-0121 2017-10-26   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYCc&d=%2Fa%2F3d000000pntp%2Fi507HCxbEWMd4usvOx1lvgD7eJ8wOISKIvwNM8Mz11M&asPdf=false pdfs/51-C-0121_2017-10-26_7958d0e587925038.pdf match b51e45cf52897cf6865ca67a827a6cc145a53bb62645eab013a647a454e4ec12

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