{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"16-R-0031\" sorted by inspection_date descending", "rows": [["082ab428d76f9236", "16-R-0031", "2024-12-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000Glbsd&d=%2Fa%2FSJ000001Ko3K%2F1cmyUc1hHhR8iwYYRtJjNzC3yBCorfdcJmn0KdDu8Cw&asPdf=false", null], ["87c242b3456edb77", "16-R-0031", "2024-04-30", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000DOuY4&d=%2Fa%2F3d000002tBmT%2FNFxiq0iZx134q.dxkaoqkEAslQb61UVyrrKUPrXleC8&asPdf=false", null], ["ce7f9efce7e51d49", "16-R-0031", "2022-11-30", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000gvIvI&d=%2Fa%2F3d000000pcQ6%2FXNWoaVtlOLZNp7u1QPUScNaUBW.TVGDFrgyECLCMOko&asPdf=false", null], ["dbc96918e5e436b6", "16-R-0031", "2022-01-10", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V94fR&d=%2Fa%2F3d000000pcP9%2FNZNeXLMghgW3c4AvYXeTw59Nb3XYeWC5_ZrjvDTAk0I&asPdf=false", null], ["8d0dd43367cef0a6", "16-R-0031", "2021-08-25", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PN6Od&d=%2Fa%2F3d000000pcPm%2FOcaI_WQ7nFB5YH_mFAt9fM3zFpuGmiJajMjvnl7TQEk&asPdf=false", null], ["d9ab8a930addf6dc", "16-R-0031", "2021-07-06", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMTgh&d=%2Fa%2F3d000000pcPT%2F6qWa2aByVmAi7Gtm11PB4_7jAUSL_YQR5MDg9GPnw_A&asPdf=false", null], ["ef40b7f9a2ac8619", "16-R-0031", "2020-09-23", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EpxkC&d=%2Fa%2F3d000000pcPf%2F1Z8dI_oMCoLU7evEOocuPWVwsq.C7yCyePO6GHYL0xE&asPdf=false", null], ["6ac89d20bdd227e6", "16-R-0031", "2019-07-09", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZZP&d=%2Fa%2F3d000000pcPE%2FAs6GxCgJX51iQaesM3hHtAKyshqtKFS.VztdLjnudDY&asPdf=false", null], ["a1d422e061e8c849", "16-R-0031", "2018-06-06", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZS2&d=%2Fa%2F3d000000pcOq%2FXweBXxxKNk8EoblQwOTDz4_Hzat7QHx0dXRxy5.qSmw&asPdf=false", null], ["b3f8dbcf44939ac9", "16-R-0031", "2017-06-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZit&d=%2Fa%2F3d000000pcOr%2FvPYQsaMIWtrJDFvpPpuyDDnNCAkcTxzxFT_LHDZDT.U&asPdf=false", null], ["759ef9ab6d20016e", "16-R-0031", "2016-05-25", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaNa&d=%2Fa%2F3d000000pcOp%2FbtOgDd2J4ZBmTPMlGciV65lC2HZPtXGESX8jgkAFhYc&asPdf=false", null], ["c02ed31d02b14199", "16-R-0031", "2015-03-12", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaRn&d=%2Fa%2F3d000000pcPN%2FONCNqG0g8WESvtGLdZlEhZwCqdi3wxvhRTBrpVM9h2g&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": "16-R-0031"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=16-R-0031", "results": [], "truncated": false}}, "suggested_facets": [{"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=16-R-0031&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 26.69607591815293, "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"}