{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"22-R-0140\" sorted by inspection_date descending", "rows": [["12546fdc72940617", "22-R-0140", "2024-10-17", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000AApMv&d=%2Fa%2FSJ000000kJsT%2FYew24TbthDwYj5384uAfnwBruIjpLmhVzHmtm_DCitI&asPdf=false", null], ["634624a0a4d9d70b", "22-R-0140", "2023-10-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000AUIk3&d=%2Fa%2F3d0000022rJH%2FTdHyEoiyWMzi1tR5C1H6mLnCGgb6p5lKu2GLhE95E9k&asPdf=false", null], ["7bf7daa3cca8244a", "22-R-0140", "2022-10-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awrM3&d=%2Fa%2F3d000000pW6E%2FFwmVxzU5JPnVZZErr6r4JvbtpyJ6_fliNQgVMmFDBS4&asPdf=false", null], ["bc26a939d7656bfd", "22-R-0140", "2021-10-27", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8MYP&d=%2Fa%2F3d000000pcej%2FDx0Gjf5ayoutFjYPKkCP5u1nEc4pHqQ1AEbVhMsgMbg&asPdf=false", null], ["7aa1288979e263aa", "22-R-0140", "2020-11-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000FyM9f&d=%2Fa%2F3d000000pcdZ%2F4KAoiIDKTpyPRdO3nBNBHRSxoVNUHso1nU3algS7_DI&asPdf=false", null], ["869ed740f00cc66d", "22-R-0140", "2019-11-20", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egm5i&d=%2Fa%2F3d000000pcdF%2Fp1Vt2J6ETb6qk1nLaXlCP7Qzc3Cmqr43NXxijaP8kUA&asPdf=false", null], ["c7c535a82e1b033a", "22-R-0140", "2018-10-30", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmAx&d=%2Fa%2F3d000000pcdP%2F.XuhHZWuy_LjN0xL.y2YCewQCz_2giVRnpKVVi6wuqw&asPdf=false", null], ["49210acbc5b88a48", "22-R-0140", "2017-11-30", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiEz&d=%2Fa%2F3d000000pcdy%2FgizJZbPMaT_fgzgDtxVBr421BVOIh1yTSYDnnoK_LvQ&asPdf=false", null], ["16f26c328cf97c94", "22-R-0140", "2016-11-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eggle&d=%2Fa%2F3d000000pcei%2FkHUVPlZjxnajzViU4ze3zNnvJmQ8srW3uDe2thFqiQ4&asPdf=false", null], ["6508950c12a5e354", "22-R-0140", "2016-02-24", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgfBQ&d=%2Fa%2F3d000000pcdT%2FW5RFt0tqs3lbP8xaVWleg3p_eEBOi6GmtoZGlYVx7zU&asPdf=false", null], ["24dec3d242e2c186", "22-R-0140", "2015-03-26", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmfD&d=%2Fa%2F3d000000pceh%2FEP_EDaqZjVcoQuyXJgNWt5iA.5QsNf97..Ct6bENYZY&asPdf=false", null], ["e2711c752743f347", "22-R-0140", "2014-04-10", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eggmu&d=%2Fa%2F3d000000pceW%2FrYr1_OUi8SJYkHvywGPgwFQVgyOK1GHJf_TpjaRQGrk&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 12, "expanded_columns": [], "expandable_columns": [[{"column": "cert_number", "other_table": "facilities", "other_column": "cert_number"}, "legal_name"]], "columns": ["id", "cert_number", "inspection_date", "inspection_type", "critical_count", "noncritical_count", "direct_count", "teachable_moment_count", "pdf_url", "pdf_local_path"], "primary_keys": ["id"], "units": {}, "query": {"sql": "select id, cert_number, inspection_date, inspection_type, critical_count, noncritical_count, direct_count, teachable_moment_count, pdf_url, pdf_local_path from inspections where \"cert_number\" = :p0 order by inspection_date desc limit 101", "params": {"p0": "22-R-0140"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=22-R-0140", "results": [], "truncated": false}}, "suggested_facets": [{"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=22-R-0140&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 19.618074875324965, "source": "Federal Register API & Regulations.gov API", "source_url": "https://www.federalregister.gov/developers/api/v1", "license": "Public Domain (U.S. Government data)", "license_url": "https://www.regulations.gov/faq"}