{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"42-R-0040\" sorted by inspection_date descending", "rows": [["fd813f12cf07dd49", "42-R-0040", "2025-01-21", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000Lp82r&d=%2Fa%2FSJ000001yrX7%2Fp5XE18kDS9O1xzLE7Uj1JAzahXpC3ls8AxFzUSUnnic&asPdf=false", null], ["4a975f38f1c74d75", "42-R-0040", "2024-02-12", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000CB9a9&d=%2Fa%2F3d000002VJ4e%2FwCi3fPR9KdTpUl76wa.QO8Tg_3.vL39vmoHluHnLLTo&asPdf=false", null], ["ca79b4b51f35b30d", "42-R-0040", "2023-01-17", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000007dool&d=%2Fa%2F3d000000yGbZ%2F5eRcFQpDQGkei7FWLTeA4gioEXWOUPc2QBInkEyGBoc&asPdf=false", null], ["8a0a1e5edef90f82", "42-R-0040", "2022-02-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9Cgs&d=%2Fa%2F3d000000pbLL%2FRJe1Tv64CA_1ljPyfd2bnevxh5hQxYcuq0sjT8sJEYQ&asPdf=false", null], ["84ff4073401bf7c5", "42-R-0040", "2020-11-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000FyJUA&d=%2Fa%2F3d000000pbL1%2FGGEZWzSh2AIALplgMclDHI7r493EeLPUyw7spg8chNY&asPdf=false", null], ["ed403106b2d09be4", "42-R-0040", "2019-11-01", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egf26&d=%2Fa%2F3d000000pbKK%2FBBwr8buFvJfBbDQfUtdqvRHsVyqgk8RtCF.B8M_Zjtw&asPdf=false", null], ["c52cca0319a392a9", "42-R-0040", "2018-11-07", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgfMz&d=%2Fa%2F3d000000pbL5%2F2qFPpLOknAuqL75xRgj.EAuhhoPzWZqz9U29e9F7QLo&asPdf=false", null], ["5636dedee99dab73", "42-R-0040", "2018-05-30", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egn5c&d=%2Fa%2F3d000000pbKz%2FNIgLnNF70Rkug3pZlQbTT0UJ1Lx65Q5i5EwjpoOvXIU&asPdf=false", null], ["9c14f410fa361c5d", "42-R-0040", "2017-07-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgnAW&d=%2Fa%2F3d000000pbL0%2Fxfpu3qpFBSIf_YWnWepBSdMPETneMyXACZtzEMUSqwM&asPdf=false", null], ["8fbfc91251299ac4", "42-R-0040", "2016-05-04", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeNS&d=%2Fa%2F3d000000pbLS%2Fy.71.WRcBo0DvR6hjpaIbuBllJSlNGUTDk7pL3nM33A&asPdf=false", null], ["a05e0d1777436a5a", "42-R-0040", "2015-04-16", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egc03&d=%2Fa%2F3d000000pbLf%2FrLVpnYpiHrROux7JAyTA3w8gU9VURk.BRUzBvyhfBLY&asPdf=false", null], ["411cd51d53292f89", "42-R-0040", "2014-05-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggZO&d=%2Fa%2F3d000000pbKo%2F2rxpnTivUTKJXxbIGPO9QQEtrItzKe4JoZmxBepgUlQ&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": "42-R-0040"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=42-R-0040", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=42-R-0040&_facet=noncritical_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=42-R-0040&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 3.529126988723874, "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"}