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 = "64-C-0237" 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
96f5d9872e87d90a PAT STARR 64-C-0237 2017-02-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaNF&d=%2Fa%2F3d000000pesH%2FG2tRUHlLlkHTrhglevpkBWF2PQTsssYi.K8N1GuZ2Oc&asPdf=false pdfs/64-C-0237_2017-02-02_96f5d9872e87d90a.pdf match 396e2c6dd56b169e548b645d7e4d37765f49e580416f585c9523032ca5fc446f
e9fc93f1887d9278 PAT STARR 64-C-0237 2016-12-06   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmxB&d=%2Fa%2F3d000000pdgm%2F45WP2C4mRR.TedGPU9TTjDDLnIXcWAQ3xV42v_p91LU&asPdf=false pdfs/64-C-0237_2016-12-06_e9fc93f1887d9278.pdf match d626d1a63d7ff5d48c7d16003386ac7506d1e0bdfad1ed28657647253022a053
0cbf0b1b67120af5 PAT STARR 64-C-0237 2016-05-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZLn&d=%2Fa%2F3d000000plag%2FSyWROXhSU1dogtZM4za7iI2r6syKSdqwlmDU17fknFE&asPdf=false pdfs/64-C-0237_2016-05-18_0cbf0b1b67120af5.pdf match 03c1bfe07e1e2093941412c9dce2e92a93149386bad44dd63d060b9f196acc10

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