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

8 rows where cert_number = "47-B-0104" 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
928ede0f4f343af7 Casey Schaaf Angie Schaaf 47-B-0104 2023-09-14   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000A9fJ1&d=%2Fa%2F3d000001uucr%2FW8TJfhcxGyfmZHMaRHO9YsEreB.yfMxyhWTd7T1KWfs&asPdf=false  
601d13e20558b213 Casey Schaaf Angie Schaaf 47-B-0104 2019-05-30   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghY5&d=%2Fa%2F3d000000pXEe%2FHiyi.T1yOHCVJwdlPP38zDqMVyigsbX._MEg1ao64VU&asPdf=false  
495f481f31d1671d Casey Schaaf Angie Schaaf 47-B-0104 2018-06-06   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiXT&d=%2Fa%2F3d000000pljy%2FikFK3S1T7iidvxA1Bbwc7xwUJcQXQUBq6rT2YJK4St4&asPdf=false  
226301d1883ea8bb Casey Schaaf Angie Schaaf 47-B-0104 2017-06-07   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egico&d=%2Fa%2F3d000000pSEE%2FkXlRng4LndGJud7khjnBcTSUAsWOcI0QRSmueF4Ccw8&asPdf=false  
b626295a42cb6adb Casey Schaaf Angie Schaaf 47-B-0104 2016-06-22   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggYG&d=%2Fa%2F3d000000pjLw%2FpWo4iyEsqhJc_jNI0TqDF7JTkbr5wHaun4b6O1tbfHY&asPdf=false  
7487c35df204e6fe Casey Schaaf Angie Schaaf 47-B-0104 2015-07-22   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggXE&d=%2Fa%2F3d000000po4S%2FxCSnUGHNALOuZpBvmkGZhLgzCBTtDLhLk919ga.jnhI&asPdf=false  
4ca1f6e1f30b2296 Casey Schaaf Angie Schaaf 47-B-0104 2015-06-10   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmHk&d=%2Fa%2F3d000000pfeA%2FgRv4brbyMb09LtSplr.r3y3W6Oz3rYkH7gQBw6PXbiU&asPdf=false  
a41b6473672ee0fd Casey Schaaf Angie Schaaf 47-B-0104 2014-06-24   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egh44&d=%2Fa%2F3d000000pfig%2FILMRXLcvoC5fAoJD.lsEHIzpnfmDV8DODzUSPapUKpI&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 4.86ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API