{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"51-R-0101\" sorted by inspection_date descending", "rows": [["7a004c22f29b2bdb", "51-R-0101", "2025-04-15", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000VRSMn&d=%2Fa%2FSJ000003ONo9%2F0kfgYVP62Jyu8.ZJX428Anp3u5sRqJKl4BYQaEuFncY&asPdf=false", null], ["a501be3afa25624d", "51-R-0101", "2024-07-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000ESvi7&d=%2Fa%2F3d000003A0ER%2FH0V6uTGlm_9fdP52dOa_s0D4p.fRr_rXIBp_TGl.hFA&asPdf=false", null], ["39d36c7f23f32f1d", "51-R-0101", "2023-10-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000AP4cB&d=%2Fa%2F3d0000021BON%2FmINV5rd81ELSfnIUJ5N0f4Y8xSjOzEGCIIqmunGWfjI&asPdf=false", null], ["2ca75d0f2326b388", "51-R-0101", "2022-10-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000aweyt&d=%2Fa%2F3d000000pVke%2FCsuX0TKJckvOcLhRJuf1dvKxCzco1ex2IMv5Tjr502k&asPdf=false", null], ["04eb4672ae96b78f", "51-R-0101", "2021-11-04", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8ZpK&d=%2Fa%2F3d000000pVkP%2FDaRao0yYgTPWDAoVQfIOw2oSBQeHXXOV2Wpbx.rPWhw&asPdf=false", null], ["9ac73b3f7b4c4f19", "51-R-0101", "2020-11-05", null, 0, 1, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000FyK2l&d=%2Fa%2F3d000000pVjf%2FVANYhZcbgWR1VYdf5mK7GymVRyjyEYCAoiuPVyOCNiI&asPdf=false", null], ["0841f2ec859d6524", "51-R-0101", "2019-12-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmpO&d=%2Fa%2F3d000000pVk9%2FXL0vq.v8_lyuglumz_rAGm.hI7m8tkLV1.s1m4wM11Q&asPdf=false", null], ["55b0cf3d15c95045", "51-R-0101", "2018-12-17", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgffP&d=%2Fa%2F3d000000pVkM%2Ftd8hnvmA194buAk6XXQoXxJZGV4.Ysl9G_mKZnYvFNQ&asPdf=false", null], ["de9de45459495f33", "51-R-0101", "2018-12-07", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EggZN&d=%2Fa%2F3d000000pVji%2FEHugEZy74k8b_vE9_owngKhNKoxhXNCh.JE6uUtm_H8&asPdf=false", null], ["c69458a358b48b33", "51-R-0101", "2018-03-22", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmmY&d=%2Fa%2F3d000000pVkQ%2F0T5LroKM6.2vIOa2pqP8.wHFuXyGI0d907KqZDtBUzk&asPdf=false", null], ["219ef923e2f37ef7", "51-R-0101", "2017-07-12", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeWb&d=%2Fa%2F3d000000pVju%2FxrwrG8nQ7hB8whQw3wcdA9LdYl7gloACbcEQwInUYlM&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 11, "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": "51-R-0101"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=51-R-0101", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=51-R-0101&_facet=noncritical_count"}, {"name": "teachable_moment_count", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=51-R-0101&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=51-R-0101&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 750.5907961167395, "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"}