{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"22-C-0023\" sorted by inspection_date descending", "rows": [["50545c72c6e8232a", "22-C-0023", "2025-03-20", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000RKY6F&d=%2Fa%2FSJ000002jnHx%2Fd8XnL2B1POFIgYcv1Y0aFcKGLEOXrTqw87u9Jb3BkNA&asPdf=false", null], ["7289c173ef0a4ab8", "22-C-0023", "2024-06-13", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000EA2Qf&d=%2Fa%2F3d0000035Nae%2F1XiOtZq9DzZgQcMb.c5U1ibvCOAPYVm.2XFAmJoTNYE&asPdf=false", null], ["3e0d1816f1d59640", "22-C-0023", "2024-05-09", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000DYuQV&d=%2Fa%2F3d000002vxU7%2FBdOnTYKuQ5Vy2V6vDXSgQqGU4nugPcF_zBvphfAuDoo&asPdf=false", null], ["ab283edc8cc98a52", "22-C-0023", "2023-02-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000007JdKf&d=%2Fa%2F3d000000t514%2FIqjcnzlJtq10uGczOqKsr355Q4W55yUlBuDTUc.AO_0&asPdf=false", null], ["5388dc9ad97051ba", "22-C-0023", "2022-04-14", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ywcsu&d=%2Fa%2F3d000000piQR%2FuN42sQI2L2BCylK7uzfJByOiatRcYFJrcwEpGiJ0WH8&asPdf=false", null], ["3c0d842c2533edab", "22-C-0023", "2021-04-20", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ngu9n&d=%2Fa%2F3d000000pgkc%2FNf5KTy6iMJkINKRvxcMMkJfF8IDHWvQCVWHZGZBtWTk&asPdf=false", null], ["6668485ef9ebfe4e", "22-C-0023", "2019-09-06", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcTO&d=%2Fa%2F3d000000pfVG%2FBgnrkeRkKZZ5XcjK_y5AjUssp8GQ7sHaecXpKOZ8MjE&asPdf=false", null], ["ec47475884ec4218", "22-C-0023", "2018-08-28", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbYK&d=%2Fa%2F3d000000plxk%2FRyiSCiucom_isbkmUpuJh9MozuWOABcJyx4horGd2K4&asPdf=false", null], ["eb01b0ba44f07851", "22-C-0023", "2017-09-14", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdfW&d=%2Fa%2F3d000000pmQa%2FETLuMCzArlmp9c0w.rhk.LWrxAC.z9ePUaJEzw1RDCw&asPdf=false", null], ["56896aaf87253f19", "22-C-0023", "2016-09-19", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjWA&d=%2Fa%2F3d000000pRGH%2FRR8YbVTGCsPI9ONR_dRdnTPUuPHx4RySia_vRRczxKk&asPdf=false", null], ["9f79f7744e546b8d", "22-C-0023", "2015-08-19", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeH3&d=%2Fa%2F3d000000pWQm%2F3jp7caprl7jo4qjmgspHSkZ._w6n9TneF8X4iKiibJg&asPdf=false", null], ["238d225ffe31946d", "22-C-0023", "2014-08-13", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeG6&d=%2Fa%2F3d000000pWeN%2FEzpqVrMINEOmR5fw86F8DzpjPyA0IZxn38bW5o7dM9c&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-C-0023"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=22-C-0023", "results": [], "truncated": false}}, "suggested_facets": [{"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=22-C-0023&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 55.89293409138918, "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"}