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

9 rows where cert_number = "46-C-0066" sorted by inspection_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
4296c64b37249b88 Old MacDonalds Farm LLC 46-C-0066 2022-08-30   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000aw2rM&d=%2Fa%2F3d000000pYnB%2FNIRfBQPTqHgD6TmdYdrM4AO2ANbsQcHug90OswWm98A&asPdf=false  
b6f4b35a69128550 Old MacDonalds Farm LLC 46-C-0066 2021-06-29   0 0 0 1 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMVyX&d=%2Fa%2F3d000000pYoS%2FEDoKPRaSxGoVUSJQmnW_TQgt1pHbZmbNuag2JzeOwSo&asPdf=false  
66a2563f5dd71c0a Old MacDonalds Farm LLC 46-C-0066 2019-06-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaSL&d=%2Fa%2F3d000000pYn5%2FSe3HQyo8DkK_JyHn8PdzkK9402KPUD.rhaCiVtyoGrU&asPdf=false  
b2e877f5b2c2dbbf Old MacDonalds Farm LLC 46-C-0066 2018-06-20   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaCD&d=%2Fa%2F3d000000pYoM%2FjM5iStmwFtaFJKdhNGBT40_1QNj50fGnljb0EyDQseA&asPdf=false  
e3c3bcf8cee3987f Old MacDonalds Farm LLC 46-C-0066 2017-09-19   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaYi&d=%2Fa%2F3d000000pYnz%2FUKp1JtaSRQw4J6dHjKvIQv8t7AJnnL7DKsyKtJFBN5A&asPdf=false  
8583bf371798e73d Old MacDonalds Farm LLC 46-C-0066 2016-05-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ega0L&d=%2Fa%2F3d000000pYnV%2Fq0EPVrPiO0Mvg5ITFafdaoFiEF0IeIgdntroZRovp58&asPdf=false  
f377e93631715f0e Old MacDonalds Farm LLC 46-C-0066 2015-08-20   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZtL&d=%2Fa%2F3d000000pYoK%2FKIEK0Y.SzRNidhF95EggdlLM7ETjrbJSqEo8mwyA4oo&asPdf=false  
1ab7cfc5b7bf99b5 Old MacDonalds Farm LLC 46-C-0066 2014-07-29   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZoP&d=%2Fa%2F3d000000pYo6%2F8m0xap.Wy97JbWhZFahFBjDsdPQ7hXMEmujfdbOZXN0&asPdf=false  
75b78daae6689de4 Old MacDonalds Farm LLC 46-C-0066 2014-04-23   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYoG&d=%2Fa%2F3d000000pYng%2FfRVfyC_tuEFUYJdBK8TlesfrlajcZwAiKtBm0tE4quk&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 3.799ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API