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

7 rows where cert_number = "42-A-1505" 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
566e80981868671c 5 M Farms 42-A-1505 2016-03-15   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egdno&d=%2Fa%2F3d000000pmnU%2FjU7JMlsjsKh_YFoYnOdAwipuDiAKkCvZJrsB3Un9fPc&asPdf=false  
fc8edaa34cdde3fa 5 M Farms 42-A-1505 2016-02-05   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egcbf&d=%2Fa%2F3d000000pWe3%2FcUNW7LWgSgPVuSD0VLcD2u2jNUGF8TAEWCgaXMhTUeI&asPdf=false  
cd33bfdcceda952c 5 M Farms 42-A-1505 2015-12-29   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgfhW&d=%2Fa%2F3d000000pmwr%2FbYQg3ugyCGUDdUJryLRiOcYN3e35pVXSaKXRh3VkpM0&asPdf=false  
196e558d52c89142 5 M Farms 42-A-1505 2015-12-03   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcBj&d=%2Fa%2F3d000000pWiZ%2FIGwCODjOHCI9HYjDRTqehlRWUjOUJ7l2Ow0K8Pzc0fo&asPdf=false  
37328766e90ff5df 5 M Farms 42-A-1505 2015-11-19   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmHp&d=%2Fa%2F3d000000pomD%2FrUpumpNSVgJitTwheGptkIkRCeUX1KgOuWAamS52c7o&asPdf=false  
0cab55d04522870b 5 M Farms 42-A-1505 2015-09-14   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egkpg&d=%2Fa%2F3d000000pWnV%2FWAnvbJ.C9Pt1jGXLXU35gkshLR.1F_yAheM3o_JH_lw&asPdf=false  
874c11079fcc3f82 5 M Farms 42-A-1505 2015-03-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZng&d=%2Fa%2F3d000000pX2R%2FP_PxxqEEJPknM26AyNo6mGYFXc8YTl0XVa.Fb7Brtsc&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 294.655ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API