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

4 rows where cert_number = "34-C-0419" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: noncritical_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
0bcf5e3136f1679a GRANDMAS PUMPKIN PATCH 34-C-0419 2019-03-07   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcqZ&d=%2Fa%2F3d000000pfcd%2FROPos_u8QiDsUdOhzZNg4.q8QFFWuKssIbcoTU.kjFs&asPdf=false  
1e2085b01198ec55 GRANDMAS PUMPKIN PATCH 34-C-0419 2018-10-11   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjEe&d=%2Fa%2F3d000000perU%2F61j1Rrf8GiVlsidqiCHjLpZaFtBnIlhxntRTzSBX8_8&asPdf=false  
def9051217931b33 GRANDMAS PUMPKIN PATCH 34-C-0419 2017-10-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egaey&d=%2Fa%2F3d000000pnJ5%2F8XjBE.1VnGJE4gu7oVLclm3DYa9IpiKF_vjiBz1a4MM&asPdf=false  
f87b3c18b8ce0c73 GRANDMAS PUMPKIN PATCH 34-C-0419 2017-03-23   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZff&d=%2Fa%2F3d000000pfXS%2FOev3VuiDBe0pEfEKdRstxeHHN8qUV9tX34rVABjaw0Q&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 5.869ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API