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 = "72-A-0178" 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
010942a3a8ff03a6 Brittany Smith 72-A-0178 2019-08-21   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjCH&d=%2Fa%2F3d000000pmyz%2FrVPYUvE6Ls2MZJtzByK69nbtH5Oj8IRFAwJXX5Lm39Q&asPdf=false  
8a82a9cf34b7d279 Brittany Smith 72-A-0178 2018-10-18   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egikl&d=%2Fa%2F3d000000piJy%2FvaJ.Qdu1cxWXTspqk2TWag3LwfhBRVyG1OFKit7SQZM&asPdf=false  
59bccb864810c2eb Brittany Smith 72-A-0178 2017-08-16   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgifP&d=%2Fa%2F3d000000pfTT%2FQOvBelWwjDsyn7gVRnS9eO_vbgTyHcqsup20WMFeTwU&asPdf=false  
c9627e43a7e7c7b9 Brittany Smith 72-A-0178 2016-07-01   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggmS&d=%2Fa%2F3d000000pUsK%2Fq4tIozAczaKKOGmPk7ySG22wRTvWG15Bb0ay27HK6_M&asPdf=false  
271f6879ba5e04b0 Brittany Smith 72-A-0178 2016-06-14   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiL8&d=%2Fa%2F3d000000ploI%2Ftt5A.cRhtqFmjRYUtrN3VAts6VKkmGlSnj_pl485D3U&asPdf=false  
fb080fd12315159a Brittany Smith 72-A-0178 2015-08-13   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcSH&d=%2Fa%2F3d000000pjvR%2F09_d8R6XHLGigaYHFvJTaRnBhdPzy.VIUypMRl1MpeY&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 94.473ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API