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

6 rows where cert_number = "58-B-0658" 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
9456616f7179c866 Juan Mena 58-B-0658 2021-10-18   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8Esc&d=%2Fa%2F3d000000pmyV%2FZ2yxK8vEXL7uJ8I5oxUPa1ywhX4xFY8MNFv7xQT8mMo&asPdf=false  
d646139b96130b21 Juan Mena 58-B-0658 2020-02-26   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgesY&d=%2Fa%2F3d000000pfeF%2FT9e0EuEvf0cR3juLEHx_XGCGNDX5yKvHgklx_qcCo7o&asPdf=false  
33baee29dc2f92ec Juan Mena 58-B-0658 2019-02-14   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ege7d&d=%2Fa%2F3d000000piCQ%2FsKO.wLlcJkZ0HyonaDfVkZSUXwcMve6rCLuJl_poCPU&asPdf=false  
76fec1d25e72eb60 Juan Mena 58-B-0658 2018-07-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ege10&d=%2Fa%2F3d000000pSJq%2FdX59hvwQohlSJwnOFU90q3u.rChYcW0jX1VxDJ4SuAI&asPdf=false  
2f0734dfaebaff3a Juan Mena 58-B-0658 2018-03-30   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdX5&d=%2Fa%2F3d000000pfOa%2F2A7Tka6M4VsogJ2cpYYINdvZqMl5hXX2142q5C07mUU&asPdf=false  
b9fb155c31b1e05a Juan Mena 58-B-0658 2017-12-26   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggYz&d=%2Fa%2F3d000000pjwm%2FJpBZZ8iVRGo4.A_HFV4PcKwPVv38Z3tuqpnBPSwDCWI&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 801.9ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API