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 = "58-A-0320" 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
664e1777ce40e77c Bunny Farm Corp 58-A-0320 2016-04-21   0 3 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgW6f&d=%2Fa%2F3d000000pT5M%2FdKNhi9zLktnQmFHEY1RMLsP9cray3yA.SNQc3nufUBs&asPdf=false  
cbd39666ef7a429f Bunny Farm Corp 58-A-0320 2016-01-11   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghNt&d=%2Fa%2F3d000000pmsa%2FFBGeHYyAholgc8M8q373DEstk.vNgapvIMpKlVqIbWg&asPdf=false  
9f533d66cddf8056 Bunny Farm Corp 58-A-0320 2015-01-08   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZeq&d=%2Fa%2F3d000000pU8z%2FitvmdoUjdwI7Kh6ZpLW1rR0fMolgTthYK7Sqh0z.xhQ&asPdf=false  
824ad444b1d0a0cf Bunny Farm Corp 58-A-0320 2015-01-05   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egh7B&d=%2Fa%2F3d000000pi8Y%2Fw_43jxElkuOdIm2kgyHStT3RgQ0PP_Xy3GVFuu8GjTo&asPdf=false  
a4baee5bdd3035ba Bunny Farm Corp 58-A-0320 2014-02-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egbuo&d=%2Fa%2F3d000000pUD0%2FoqQpbUUHitwSm3MVYkdsiZHWY3lv7mpiDbQdrjAzwqc&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 771.224ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API