{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"22-R-0148\" sorted by inspection_date descending", "rows": [["a699c866f62fc4be", "22-R-0148", "2024-10-15", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000AAp1t&d=%2Fa%2FSJ000000kJ1F%2FfbVIQ6.2oaNjyQQB2_2Uysw9wmMsONpgsL_c_BC4AFc&asPdf=false", null], ["9d8456b90d4b6bfd", "22-R-0148", "2023-10-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000AJVMJ&d=%2Fa%2F3d000001yxVc%2FS8.74K4vij7KmtJ3STuKGZftZRKACpyqt5KKTH8oM4Y&asPdf=false", null], ["4f00597fbb93f392", "22-R-0148", "2022-10-04", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awrLj&d=%2Fa%2F3d000000pW6C%2FKJByrQrPNcUAFuH66r0Ivrj39NzVIva_kKfxPRe.8QI&asPdf=false", null], ["8a9b2770b12d5d2a", "22-R-0148", "2021-10-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PNSVA&d=%2Fa%2F3d000000pcVf%2FzVx6lVnuFURk_0nsqFNHziOZ0lDXYH_og2Hhad4qpZ0&asPdf=false", null], ["c68b2a39f930ab14", "22-R-0148", "2020-10-06", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EruAk&d=%2Fa%2F3d000000pcVl%2FVIOnR1KUvQ10svIGst3qx2OPnljuP2hGQBVmkZX4Rkc&asPdf=false", null], ["242e407c04629431", "22-R-0148", "2019-10-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egmpu&d=%2Fa%2F3d000000pcWH%2FJC6BnTuNNmhlYq_7IojD1V_I0qPlkdvd17O5i36vtr8&asPdf=false", null], ["bc3b4ecbeeeb5434", "22-R-0148", "2018-10-09", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmUZ&d=%2Fa%2F3d000000pcWf%2F5tdujzs_iV3BZJyvIRsYheVEhr76tlnlQQ4ERYA2lwc&asPdf=false", null], ["ba9aa27c119f4e6e", "22-R-0148", "2017-10-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaK9&d=%2Fa%2F3d000000pcWO%2Flj1y7lmMXdtDVeROIgG9kUSQKOj7r5b5QMyLKR2yZzg&asPdf=false", null], ["2124d9de37391e71", "22-R-0148", "2016-11-01", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkVe&d=%2Fa%2F3d000000pcVM%2F_cA3.V.qMX73yubIHvChf9bemwhUZvqN4aeHkW14D_Y&asPdf=false", null], ["885182cd7c4e9f91", "22-R-0148", "2016-02-19", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmDS&d=%2Fa%2F3d000000pcWE%2FFTWlV7veKRcdRkYg7v.241sg9M1VMW08_zbgMNJmLn0&asPdf=false", null], ["e4fff38e4d6290b4", "22-R-0148", "2015-04-07", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egn9d&d=%2Fa%2F3d000000pcVY%2FHPjeJj1tXdIK7lj76p8avk0WAijrYUlZw9C2VUJfSoU&asPdf=false", null], ["e2d56523ab9d6121", "22-R-0148", "2014-05-14", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eggn1&d=%2Fa%2F3d000000pcW5%2FC53unZls75jH9n19E5wHmK21bBlui9uARJ2vgmkUAl8&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-0148"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=22-R-0148", "results": [], "truncated": false}}, "suggested_facets": [{"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=22-R-0148&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 4.094904055818915, "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"}