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

10 rows where cert_number = "31-C-0259" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: critical_count, noncritical_count, teachable_moment_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
765febc5caf0f5bb CY 31-C-0259 2020-08-07   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaZx&d=%2Fa%2F3d000000pWi3%2FWHugyI1IBuaC5Lhx3Y8EXLW02DJIlYXiIdqr6KCSbHI&asPdf=false  
9f78e8306fea0db9 CY 31-C-0259 2019-12-16   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egitw&d=%2Fa%2F3d000000ppLT%2FNB0k_.gPHlBTB.7qHpkJyXjhH0wHAJtIbUxaFnGbG4Q&asPdf=false  
bc52ad23dd388b65 CY 31-C-0259 2019-03-12   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZ8A&d=%2Fa%2F3d000000pWih%2FstUimQ6usnFniDJ_Y3JxSkqJiGIag3ilBXO36rFGZFA&asPdf=false  
3b59059f5344bd30 CY 31-C-0259 2018-12-06   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egfj7&d=%2Fa%2F3d000000pi6B%2FmSsSeZfVrz9aK2aItl2_auNg4WtFmrme.eouLZ6kDLQ&asPdf=false  
319795fa99188edf CY 31-C-0259 2017-12-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ega6T&d=%2Fa%2F3d000000pWro%2F3nbVy5UB_RGaxKui_fpMP1xD.NbDUK0jt8Gv__SJHUY&asPdf=false  
00d27040d96f2825 CY 31-C-0259 2017-08-30   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZho&d=%2Fa%2F3d000000pfyM%2F6ZFo26YeJjzxngv3exJL6mYud3rPVHxIst2hcpG3Bak&asPdf=false  
8bb22f29ef5e9c1a CY 31-C-0259 2017-05-31   3 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnwaG&d=%2Fa%2F3d000000pUlF%2F7LL8rijxSmFd2kYlAFcPJzOxzBHspYwcd5ntdbt3.7Y&asPdf=false  
c1849045264cf1af CY 31-C-0259 2016-11-01   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaNy&d=%2Fa%2F3d000000piC4%2F7JbVZrtpQ3gOyIo1IIB4BV6bhPba.EA.6YD_HpUvcnE&asPdf=false  
c630df04606a61c5 CY 31-C-0259 2016-10-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgfZ0&d=%2Fa%2F3d000000pWRp%2F7LVL5tLZbP99SWGyy6pJHdVPS1Gk4TrFA9o3WUrAWo0&asPdf=false  
08227366eb4a04e9 CY 31-C-0259 2016-04-25   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYOW&d=%2Fa%2F3d000000pWyE%2FwvnsLTnlED_cVEIsE.Jzm4DQHRs2teRepOEOuUikEJk&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 392.698ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API