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 = "64-C-0229" 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
9c3e23fc00276ae2 FLYING PIGS PETTING ZOO & PONY RIDES 64-C-0229 2022-07-06   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000YxkWo&d=%2Fa%2F3d000000pTo5%2FjNEgYyQ1tafSliYZnxHoPlLAk4SgYUN5N_IBTU6kmZ8&asPdf=false  
f940d5d330c26373 FLYING PIGS PETTING ZOO & PONY RIDES 64-C-0229 2019-08-09   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgceI&d=%2Fa%2F3d000000pTWf%2FKHeZG7aKzu9G1K6GGmIDHs6iiEMwxz56uE4Z1XLyimw&asPdf=false  
46cd72b55450d9f0 FLYING PIGS PETTING ZOO & PONY RIDES 64-C-0229 2018-09-05   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbMo&d=%2Fa%2F3d000000pTXu%2FBFivOeQIvEp4FgE6TfpDpwur36zkgCNKgsJTKJya6Ak&asPdf=false  
2b32aa005c4905bf FLYING PIGS PETTING ZOO & PONY RIDES 64-C-0229 2017-07-06   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaRx&d=%2Fa%2F3d000000pTWl%2FwNQTqGGbjjAPWjoAIPi0It9vRHXCIWx0yW_Svs3PU9A&asPdf=false  
b03a739e9ed6f55a FLYING PIGS PETTING ZOO & PONY RIDES 64-C-0229 2016-03-16   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZyl&d=%2Fa%2F3d000000pTX9%2Fpqk9uFXRlQnVKyH3NW.lRRY5XzqIwCfQ8YYasNC.05I&asPdf=false  
3636629f8cf0b922 FLYING PIGS PETTING ZOO & PONY RIDES 64-C-0229 2016-02-09   0 1 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbFS&d=%2Fa%2F3d000000pTWy%2Fg5g73ZprV.q_tGWWvLIp_7Yl0nrj6y5NeeYbqunrfsw&asPdf=false  
301c049313e46a27 FLYING PIGS PETTING ZOO & PONY RIDES 64-C-0229 2015-03-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egc0F&d=%2Fa%2F3d000000pTXQ%2F2dbJVfDmBugvFmpkEQxdF9okTWekpJTo5cn5JkPIOzQ&asPdf=false  
66279fed004e4388 FLYING PIGS PETTING ZOO & PONY RIDES 64-C-0229 2014-09-17   0 0 0 0 https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZ3j&d=%2Fa%2F3d000000pTYB%2Fxs5u9P.Bq8jrML7Yjgzokdo7Q.UPfqK9e94GGfqSUAo&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 542.41ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API