{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"81-R-0002\" sorted by inspection_date descending", "rows": [["ea021705c938765c", "81-R-0002", "2025-01-23", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000LWhXD&d=%2Fa%2FSJ000001x0mc%2FthEiirpmnKm8_mYIbDSSMDsFWV.n4cn8G.zB1fikyY8&asPdf=false", null], ["4d098e46582c275e", "81-R-0002", "2024-05-21", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000Dl4Rd&d=%2Fa%2F3d000002ycBf%2FHEWq1k9PLH4WCjdWr80M1MGIP.U5n.64viQR6S9bxAk&asPdf=false", null], ["c8c6cc048c5106ff", "81-R-0002", "2023-09-22", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000AAqtt&d=%2Fa%2F3d000001vUZd%2FhvecU1POJpSRBx4dzP6SP.ERn5TNNJj6gknOSjMkgLo&asPdf=false", null], ["b70f4510d8154ccf", "81-R-0002", "2022-02-02", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9Khs&d=%2Fa%2F3d000000ph5t%2FufAsSVbmVK.fZg5uLjvLi2D0P7TvGi7xZ3eQo59NP7U&asPdf=false", null], ["e0d33cdca6ea290e", "81-R-0002", "2021-02-23", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ESSZM&d=%2Fa%2F3d000000pSb8%2FwHRhFJ8K6YpDg_czr0m1dTdjzfctsnXQSE0esCt682o&asPdf=false", null], ["f9570dfa85bd7198", "81-R-0002", "2020-02-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgbiG&d=%2Fa%2F3d000000pRe2%2FsCV1CVjbnOZDijLT8qe9h_Bz_2qSzHjEppjnIuFKFNc&asPdf=false", null], ["a5f4c02c14298243", "81-R-0002", "2019-04-30", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcNV&d=%2Fa%2F3d000000poqd%2FQYeO_k7vOR39KLb1W9Q0LkoSvBY2ekrZlB57aSWNVcA&asPdf=false", null], ["e457e95b851e9532", "81-R-0002", "2018-03-15", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egc6W&d=%2Fa%2F3d000000pfye%2FTpB8oHww2lcAKS1PRu79oqYGcAnBpWfEmSiX7IHK6Gk&asPdf=false", null], ["4268521ca434f7df", "81-R-0002", "2017-06-21", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXui&d=%2Fa%2F3d000000pRQP%2FppS3MkgVtzqkLk_DV1ZGJ18zOc3k7_M_PZu.4BDLTVE&asPdf=false", null], ["1d60272be5267f5a", "81-R-0002", "2016-06-09", null, 1, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ERYo2&d=%2Fa%2F3d000000po8g%2FWO5Kf24wuL4f_pos4xFxw5JjtZvqxVgLk9lTlaOhVXw&asPdf=false", null], ["5832fd27f2680e5c", "81-R-0002", "2015-05-19", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXHa&d=%2Fa%2F3d000000pnQn%2FqSc8.QCFwp1_x2RsCzsYh5JapadSb44a4qaXAXYA0yw&asPdf=false", null], ["681f98ee2e48750c", "81-R-0002", "2014-06-04", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egc2B&d=%2Fa%2F3d000000pWn8%2FlqwPo5nJVZ2nw10UgubWQVErWDuClanN9smdqrxQfq4&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": "81-R-0002"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=81-R-0002", "results": [], "truncated": false}}, "suggested_facets": [{"name": "critical_count", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=81-R-0002&_facet=critical_count"}, {"name": "noncritical_count", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=81-R-0002&_facet=noncritical_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=81-R-0002&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 3.5044909454882145, "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"}