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 = "42-B-0286" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
4f16d5cd6118c08f Kalona Sales Barn, Inc. 42-B-0286 2019-04-26   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egn7p&d=%2Fa%2F3d000000pm55%2Fs53lOr56bVBwnPqbJJAddA5l8RbaC5IZUi5IN1udyM8&asPdf=false  
5ea98c54c5140564 Kalona Sales Barn, Inc. 42-B-0286 2018-03-23   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmJU&d=%2Fa%2F3d000000pftS%2FQdUdqCyxpUS1Rr.1UHNhop.NAQBeWrFhhlvA8_xlMAE&asPdf=false  
56842a8b26c10280 Kalona Sales Barn, Inc. 42-B-0286 2017-03-31   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglvN&d=%2Fa%2F3d000000pp4q%2FJfr5f26rv4arIa9NrAacYv3MpO4tko.NdMqVCRo16Ow&asPdf=false  
65b51a2583045b6d Kalona Sales Barn, Inc. 42-B-0286 2017-01-26   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmsN&d=%2Fa%2F3d000000pfmu%2FqGOU.JIgy.6EL452B9Bag48.tpC.TH6mk_hr6twDvCk&asPdf=false  
6df8a0e81788f630 Kalona Sales Barn, Inc. 42-B-0286 2016-01-05   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ego1S&d=%2Fa%2F3d000000phxD%2FnVsC.sWpKixZz7bMWuCjCz7knEzzcvAf.Xlu3wO994A&asPdf=false  
ae866cfcd298cb5d Kalona Sales Barn, Inc. 42-B-0286 2014-09-03   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgnuE&d=%2Fa%2F3d000000ppGJ%2F9mVP6Li4ByHKyhZNnEV.dMbKfhYuIcFA8ixbyYdyekA&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 334.825ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API