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 = "31-C-0192" 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
bc1a359c378e67ce PEACE VALLEY ORCHARDS INC 31-C-0192 2018-08-28   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ege5I&d=%2Fa%2F3d000000pnkU%2F_yzyizz9rsaBSuab59C42idUzcHPYqIcxcxtoWaabz4&asPdf=false  
e40ea6aa0597fc3c PEACE VALLEY ORCHARDS INC 31-C-0192 2017-08-28   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYDZ&d=%2Fa%2F3d000000paap%2FODz42.1Kt8VwDI7698PHKY7oI28PMhXSVtCVL3oAJ_U&asPdf=false  
d4b9985c31259535 PEACE VALLEY ORCHARDS INC 31-C-0192 2016-06-22   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdI7&d=%2Fa%2F3d000000pnwQ%2F6zWjdO2KyX6VeZLFMwkx3_HdsV52_gjOMTzczqdmAxk&asPdf=false  
0686cf87559308ef PEACE VALLEY ORCHARDS INC 31-C-0192 2015-07-09   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdZ7&d=%2Fa%2F3d000000poHv%2FAJUAIGxTaQ_6nxo9jigCWLaJK2SU9.ijGi1dUfjKA1M&asPdf=false  
55ed56bc8b24e574 PEACE VALLEY ORCHARDS INC 31-C-0192 2014-03-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdPg&d=%2Fa%2F3d000000plCo%2FijgrzZ1j3zJOwwWX2Dngg4ddSemELEnwqEq0mQRfxI4&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 3.525ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API