inspections
Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API
2 rows where cert_number = "16-R-0057" sorted by inspection_date descending
This data as json, CSV (advanced)
inspection_type 0
| id | cert_number | inspection_date ▲ | inspection_type | critical_count | noncritical_count | direct_count | teachable_moment_count | pdf_url | pdf_local_path | cert_verification | pdf_sha256 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 86165702759c8886 | John B. Pierce Laboratory 16-R-0057 | 2024-02-05 | 0 | 0 | 0 | 0 | https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000C5Lvz&d=%2Fa%2F3d000002TDYb%2Fb69VwOTrKG77OzabmftwNg34sBV5S2MMxfCWAyqUW6s&asPdf=false | pdfs/16-R-0057_2024-02-05_86165702759c8886.pdf | match | 6c88168c865cfd59a654f3d011103ac6a5aa22f8788a5043bf1aaf6dfd9c8389 | |
| b00407bb49d9db72 | John B. Pierce Laboratory 16-R-0057 | 2023-07-24 | 0 | 0 | 0 | 0 | https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000009H59W&d=%2Fa%2F3d000001Upzw%2F_u0nA11tnsyYfyrRlGOdKwVAv6NHxaQGodELxPEGnqE&asPdf=false | pdfs/16-R-0057_2023-07-24_b00407bb49d9db72.pdf | match | f13567e04725d4c64da213edd5cb4a1812d31bc683b6885b333528f6a62d0fe2 |
Advanced export
JSON shape: default, array, newline-delimited, object
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
, cert_verification TEXT, pdf_sha256 TEXT);
CREATE INDEX idx_inspections_date ON inspections(inspection_date);
CREATE INDEX idx_inspections_cert ON inspections(cert_number);