{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"31-R-0017\" sorted by inspection_date descending", "rows": [["37900f678e54222e", "31-R-0017", "2025-06-12", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000bXPHC&d=%2Fa%2FSJ000004QPA9%2FjVhJ5fiR_viORhBcRybjTX9EplqceElX_KcA622po6o&asPdf=false", null], ["3790b5ceec9a4076", "31-R-0017", "2024-05-16", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000DfZuZ&d=%2Fa%2F3d000002xcCw%2FLneznC_rRCO0N41stMdk.pU22_mV6J6hvmIJLXz4Z0s&asPdf=false", null], ["94e716f731cddab5", "31-R-0017", "2023-06-23", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008uRmS&d=%2Fa%2F3d000001MigA%2FpxylPYtZ71snLZauwuneufZbag0ijCvZaDHgQcJ2a2o&asPdf=false", null], ["b8d36a7071fa0d9d", "31-R-0017", "2022-01-13", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V93JP&d=%2Fa%2F3d000000pgvt%2FyM_eXKW7S_.ZkxFyr9YbWuU0gwkJgTwhuLt4NLDBX.U&asPdf=false", null], ["e19068f21004cceb", "31-R-0017", "2020-12-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ERWPc&d=%2Fa%2F3d000000pRke%2F8Dxy2A3emfLlopxDiTa0LoFLzNrIXrSNKw5VHWJoBmU&asPdf=false", null], ["aef055eee215c37c", "31-R-0017", "2019-10-29", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egnuc&d=%2Fa%2F3d000000pmk5%2FeRwcajreDp3HKOJBe0FBtLmqnhOyaEYUxJF1KNWE6kI&asPdf=false", null], ["0014dad52ac30155", "31-R-0017", "2018-11-14", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaBH&d=%2Fa%2F3d000000pn5d%2FbGu4mDcTSTBqudNPqyHCBySoj33RS2O6r3jcJKv9bZk&asPdf=false", null], ["cfe439b5859bd2b4", "31-R-0017", "2018-03-07", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ega61&d=%2Fa%2F3d000000pWQ4%2F1iHSUyQSj7iI.xcl1t1kzGFCJUmSp3sSSZmz2rqEOdA&asPdf=false", null], ["1f6f6282122738a7", "31-R-0017", "2017-01-25", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYno&d=%2Fa%2F3d000000pmpk%2FPlGVYWLUq8tJQ7.c.8vKvMZHbrpMf9dUuA1qtQeeNQU&asPdf=false", null], ["60f8c399d162a05a", "31-R-0017", "2016-04-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYbV&d=%2Fa%2F3d000000plka%2FQRkmWQ8CK0XbvEUQC9U.FrVDvZohkKHjs8a.qG8ctxk&asPdf=false", null], ["f46d366e02a138bc", "31-R-0017", "2015-03-30", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZkc&d=%2Fa%2F3d000000pWsK%2FyQ02U5XFP1MI5O.gT7PURsrn.dhiPAjTKUEt.m9GjXc&asPdf=false", null], ["11307539ee97d84a", "31-R-0017", "2014-06-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZnF&d=%2Fa%2F3d000000pSrE%2FFaytHlWKOF_2YXoLtF4UhxDtbzAx8sfzpp7OTvDoMRE&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": "31-R-0017"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=31-R-0017", "results": [], "truncated": false}}, "suggested_facets": [{"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=31-R-0017&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 450.6842449773103, "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"}