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 = "48-A-2229" 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
0ffea11800819700 Debby Loy 48-A-2229 2022-02-16   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9L8v&d=%2Fa%2F3d000000pV1U%2FR0YTs.gr58dYpQXYBeRwKs8gljftCe7FKFnA2F35kWY&asPdf=false  
3bd12ce09a44871e Debby Loy 48-A-2229 2021-03-29   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ESgLy&d=%2Fa%2F3d000000pUUk%2FN1CMHFtgI_oycPi6ZTzeseRVTSIesosXVMtraey8YoY&asPdf=false  
6897266ef8d701ee Debby Loy 48-A-2229 2021-03-08   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ESWh4&d=%2Fa%2F3d000000pSqq%2FNyCaeu2OFN0e4DWQHHnHpkIbOemWTh60y7pKWP9bF4U&asPdf=false  
06dd804e8e28b4c7 Debby Loy 48-A-2229 2020-03-02   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjDY&d=%2Fa%2F3d000000pp7C%2F0aSj2mmY198DCIzHEya0yNFwbxmceATw5qTMm9LLq3E&asPdf=false  
e3f3acde822192ef Debby Loy 48-A-2229 2020-02-06   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egjrm&d=%2Fa%2F3d000000pmvY%2FTZVAkhBe5DO3ppnQPy4bB02k3hpnfFMeUYixiFgAKDk&asPdf=false  
d649f88b0202ee65 Debby Loy 48-A-2229 2019-08-08   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdXs&d=%2Fa%2F3d000000plte%2FRgJiG.HED8V6kRyklxFFSIvQDYEoifnWCJmG8yEEuaE&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 1811.356ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API